OpenGroup::arm40::Provisional::metric::IArmMetricString32 Interface Reference
[ARM 4.0 MetricsARM 4.0 Metric Strings]

IArmMetricString32 implements a string of 1 to 32 characters. More...

Inheritance diagram for OpenGroup::arm40::Provisional::metric::IArmMetricString32:
OpenGroup::arm40::Provisional::metric::IArmMetric OpenGroup::arm40::Provisional::transaction::IArmInterface

List of all members.

Public Member Functions

string get ()
 Gets the string value.
int set (string value)
 Sets the string value.

Detailed Description

IArmMetricString32 is created with the newArmMetricString32() method of ArmMetricFactory.

It is the same as ARM 2.0 metric type=10 (ARM_String32), with two differences:

  • The characters are in the C# internal representation and are converted to UTF-8 within the agent.
  • The limit of 32 in the ARM 2.0 C language interface is a byte limit. The limit in the ARM 4.0 C bindings is a character limit. Because a character may be represented by more than one byte (e.g., a character in UTF-8 is represented as 1, 2, or 3 bytes), the ARM 4.0 C metric may be longer than 32 bytes.

Objects implementing this interface are created using IArmMetricFactory.newArmMetricString32


Member Function Documentation

string OpenGroup::arm40::Provisional::metric::IArmMetricString32::get (  ) 
Returns:
the string value.
int OpenGroup::arm40::Provisional::metric::IArmMetricString32::set ( string  value  ) 
Parameters:
value new string value.
Returns:
0 on sucess; otherwise, a non-zero error code is returned (as specified in OpenGroup.arm40.Provisional.transaction.IArmInterface /returns>

The documentation for this interface was generated from the following file:
  • opengroup/arm40/provisional/metric/IArmMetricString32.cs