1.5.1 (revision 4026)
Data Structures | Functions
otf2/OTF2_AttributeValue.h File Reference

Declares the OTF2_AttributeValue and provides convenience functions to convert from and to OTF2 enum values. More...

#include <stdint.h>
#include <stdbool.h>
#include <otf2/OTF2_ErrorCodes.h>
#include <otf2/OTF2_GeneralDefinitions.h>
#include <otf2/OTF2_Definitions.h>
#include <otf2/OTF2_Events.h>

Go to the source code of this file.

Data Structures

union  OTF2_AttributeValue
 Value container for an attributes. More...

Functions

OTF2_ErrorCode OTF2_AttributeValue_GetBoolean (OTF2_Type type, OTF2_AttributeValue value, OTF2_Boolean *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_Boolean. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetCartPeriodicity (OTF2_Type type, OTF2_AttributeValue value, OTF2_CartPeriodicity *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_CartPeriodicity. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetCollectiveOp (OTF2_Type type, OTF2_AttributeValue value, OTF2_CollectiveOp *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_CollectiveOp. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetFileSubstrate (OTF2_Type type, OTF2_AttributeValue value, OTF2_FileSubstrate *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_FileSubstrate. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetFileType (OTF2_Type type, OTF2_AttributeValue value, OTF2_FileType *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_FileType. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetGroupFlag (OTF2_Type type, OTF2_AttributeValue value, OTF2_GroupFlag *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_GroupFlag. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetGroupType (OTF2_Type type, OTF2_AttributeValue value, OTF2_GroupType *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_GroupType. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetLocationGroupType (OTF2_Type type, OTF2_AttributeValue value, OTF2_LocationGroupType *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_LocationGroupType. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetLocationType (OTF2_Type type, OTF2_AttributeValue value, OTF2_LocationType *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_LocationType. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetLockType (OTF2_Type type, OTF2_AttributeValue value, OTF2_LockType *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_LockType. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetMappingType (OTF2_Type type, OTF2_AttributeValue value, OTF2_MappingType *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_MappingType. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetMeasurementMode (OTF2_Type type, OTF2_AttributeValue value, OTF2_MeasurementMode *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_MeasurementMode. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetMetricBase (OTF2_Type type, OTF2_AttributeValue value, OTF2_MetricBase *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_MetricBase. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetMetricMode (OTF2_Type type, OTF2_AttributeValue value, OTF2_MetricMode *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_MetricMode. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetMetricOccurrence (OTF2_Type type, OTF2_AttributeValue value, OTF2_MetricOccurrence *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_MetricOccurrence. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetMetricScope (OTF2_Type type, OTF2_AttributeValue value, OTF2_MetricScope *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_MetricScope. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetMetricTiming (OTF2_Type type, OTF2_AttributeValue value, OTF2_MetricTiming *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_MetricTiming. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetMetricType (OTF2_Type type, OTF2_AttributeValue value, OTF2_MetricType *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_MetricType. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetMetricValueProperty (OTF2_Type type, OTF2_AttributeValue value, OTF2_MetricValueProperty *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_MetricValueProperty. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetParadigm (OTF2_Type type, OTF2_AttributeValue value, OTF2_Paradigm *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_Paradigm. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetParadigmClass (OTF2_Type type, OTF2_AttributeValue value, OTF2_ParadigmClass *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_ParadigmClass. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetParadigmProperty (OTF2_Type type, OTF2_AttributeValue value, OTF2_ParadigmProperty *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_ParadigmProperty. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetParameterType (OTF2_Type type, OTF2_AttributeValue value, OTF2_ParameterType *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_ParameterType. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetRecorderKind (OTF2_Type type, OTF2_AttributeValue value, OTF2_RecorderKind *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_RecorderKind. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetRegionFlag (OTF2_Type type, OTF2_AttributeValue value, OTF2_RegionFlag *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_RegionFlag. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetRegionRole (OTF2_Type type, OTF2_AttributeValue value, OTF2_RegionRole *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_RegionRole. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetRmaAtomicType (OTF2_Type type, OTF2_AttributeValue value, OTF2_RmaAtomicType *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_RmaAtomicType. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetRmaSyncLevel (OTF2_Type type, OTF2_AttributeValue value, OTF2_RmaSyncLevel *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_RmaSyncLevel. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetRmaSyncType (OTF2_Type type, OTF2_AttributeValue value, OTF2_RmaSyncType *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_RmaSyncType. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetSystemTreeDomain (OTF2_Type type, OTF2_AttributeValue value, OTF2_SystemTreeDomain *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_SystemTreeDomain. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetThumbnailType (OTF2_Type type, OTF2_AttributeValue value, OTF2_ThumbnailType *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_ThumbnailType. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_GetType (OTF2_Type type, OTF2_AttributeValue value, OTF2_Type *enumValue)
 Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_Type. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetBoolean (OTF2_Boolean enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetCartPeriodicity (OTF2_CartPeriodicity enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetCollectiveOp (OTF2_CollectiveOp enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetFileSubstrate (OTF2_FileSubstrate enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetFileType (OTF2_FileType enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetGroupFlag (OTF2_GroupFlag enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetGroupType (OTF2_GroupType enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetLocationGroupType (OTF2_LocationGroupType enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetLocationType (OTF2_LocationType enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetLockType (OTF2_LockType enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetMappingType (OTF2_MappingType enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetMeasurementMode (OTF2_MeasurementMode enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetMetricBase (OTF2_MetricBase enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetMetricMode (OTF2_MetricMode enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetMetricOccurrence (OTF2_MetricOccurrence enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetMetricScope (OTF2_MetricScope enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetMetricTiming (OTF2_MetricTiming enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetMetricType (OTF2_MetricType enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetMetricValueProperty (OTF2_MetricValueProperty enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetParadigm (OTF2_Paradigm enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetParadigmClass (OTF2_ParadigmClass enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetParadigmProperty (OTF2_ParadigmProperty enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetParameterType (OTF2_ParameterType enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetRecorderKind (OTF2_RecorderKind enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetRegionFlag (OTF2_RegionFlag enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetRegionRole (OTF2_RegionRole enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetRmaAtomicType (OTF2_RmaAtomicType enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetRmaSyncLevel (OTF2_RmaSyncLevel enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetRmaSyncType (OTF2_RmaSyncType enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetSystemTreeDomain (OTF2_SystemTreeDomain enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetThumbnailType (OTF2_ThumbnailType enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.
OTF2_ErrorCode OTF2_AttributeValue_SetType (OTF2_Type enumValue, OTF2_Type *type, OTF2_AttributeValue *value)
 Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Detailed Description

Declares the OTF2_AttributeValue and provides convenience functions to convert from and to OTF2 enum values.

Source Template:
template/OTF2_AttributeValue.tmpl.h

Function Documentation

OTF2_ErrorCode OTF2_AttributeValue_GetBoolean ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_Boolean enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_Boolean. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_Boolean

OTF2_ErrorCode OTF2_AttributeValue_GetCartPeriodicity ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_CartPeriodicity enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_CartPeriodicity. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_CartPeriodicity

OTF2_ErrorCode OTF2_AttributeValue_GetCollectiveOp ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_CollectiveOp enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_CollectiveOp. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_CollectiveOp

OTF2_ErrorCode OTF2_AttributeValue_GetFileSubstrate ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_FileSubstrate enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_FileSubstrate. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_FileSubstrate

OTF2_ErrorCode OTF2_AttributeValue_GetFileType ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_FileType enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_FileType. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_FileType

OTF2_ErrorCode OTF2_AttributeValue_GetGroupFlag ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_GroupFlag enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_GroupFlag. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_GroupFlag

OTF2_ErrorCode OTF2_AttributeValue_GetGroupType ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_GroupType enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_GroupType. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_GroupType

OTF2_ErrorCode OTF2_AttributeValue_GetLocationGroupType ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_LocationGroupType enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_LocationGroupType. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_LocationGroupType

OTF2_ErrorCode OTF2_AttributeValue_GetLocationType ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_LocationType enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_LocationType. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_LocationType

OTF2_ErrorCode OTF2_AttributeValue_GetLockType ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_LockType enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_LockType. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_LockType

OTF2_ErrorCode OTF2_AttributeValue_GetMappingType ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_MappingType enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_MappingType. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_MappingType

OTF2_ErrorCode OTF2_AttributeValue_GetMeasurementMode ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_MeasurementMode enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_MeasurementMode. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_MeasurementMode

OTF2_ErrorCode OTF2_AttributeValue_GetMetricBase ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_MetricBase enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_MetricBase. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_MetricBase

OTF2_ErrorCode OTF2_AttributeValue_GetMetricMode ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_MetricMode enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_MetricMode. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_MetricMode

OTF2_ErrorCode OTF2_AttributeValue_GetMetricOccurrence ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_MetricOccurrence enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_MetricOccurrence. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_MetricOccurrence

OTF2_ErrorCode OTF2_AttributeValue_GetMetricScope ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_MetricScope enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_MetricScope. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_MetricScope

OTF2_ErrorCode OTF2_AttributeValue_GetMetricTiming ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_MetricTiming enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_MetricTiming. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_MetricTiming

OTF2_ErrorCode OTF2_AttributeValue_GetMetricType ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_MetricType enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_MetricType. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_MetricType

OTF2_ErrorCode OTF2_AttributeValue_GetMetricValueProperty ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_MetricValueProperty enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_MetricValueProperty. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_MetricValueProperty

OTF2_ErrorCode OTF2_AttributeValue_GetParadigm ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_Paradigm enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_Paradigm. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_Paradigm

OTF2_ErrorCode OTF2_AttributeValue_GetParadigmClass ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_ParadigmClass enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_ParadigmClass. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_ParadigmClass

OTF2_ErrorCode OTF2_AttributeValue_GetParadigmProperty ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_ParadigmProperty enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_ParadigmProperty. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_ParadigmProperty

OTF2_ErrorCode OTF2_AttributeValue_GetParameterType ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_ParameterType enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_ParameterType. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_ParameterType

OTF2_ErrorCode OTF2_AttributeValue_GetRecorderKind ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_RecorderKind enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_RecorderKind. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_RecorderKind

OTF2_ErrorCode OTF2_AttributeValue_GetRegionFlag ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_RegionFlag enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_RegionFlag. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_RegionFlag

OTF2_ErrorCode OTF2_AttributeValue_GetRegionRole ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_RegionRole enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_RegionRole. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_RegionRole

OTF2_ErrorCode OTF2_AttributeValue_GetRmaAtomicType ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_RmaAtomicType enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_RmaAtomicType. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_RmaAtomicType

OTF2_ErrorCode OTF2_AttributeValue_GetRmaSyncLevel ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_RmaSyncLevel enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_RmaSyncLevel. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_RmaSyncLevel

OTF2_ErrorCode OTF2_AttributeValue_GetRmaSyncType ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_RmaSyncType enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_RmaSyncType. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_RmaSyncType

OTF2_ErrorCode OTF2_AttributeValue_GetSystemTreeDomain ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_SystemTreeDomain enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_SystemTreeDomain. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_SystemTreeDomain

OTF2_ErrorCode OTF2_AttributeValue_GetThumbnailType ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_ThumbnailType enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_ThumbnailType. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_ThumbnailType

OTF2_ErrorCode OTF2_AttributeValue_GetType ( OTF2_Type  type,
OTF2_AttributeValue  value,
OTF2_Type enumValue 
)

Converts a OTF2_Type and OTF2_AttributeValue pair to the appropriate value for the enum OTF2_Type. No value range checking done.

Parameters:
typeGiven type.
valueGiven value.
[out]enumValueConverted enum value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if enumValue a NULL pointer

OTF2_ERROR_INVALID_ATTRIBUTE_TYPE

if type does not match the base type of the enum OTF2_Type

OTF2_ErrorCode OTF2_AttributeValue_SetBoolean ( OTF2_Boolean  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_Boolean.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetCartPeriodicity ( OTF2_CartPeriodicity  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_CartPeriodicity.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetCollectiveOp ( OTF2_CollectiveOp  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_CollectiveOp.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetFileSubstrate ( OTF2_FileSubstrate  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_FileSubstrate.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetFileType ( OTF2_FileType  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_FileType.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetGroupFlag ( OTF2_GroupFlag  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_GroupFlag.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetGroupType ( OTF2_GroupType  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_GroupType.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetLocationGroupType ( OTF2_LocationGroupType  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_LocationGroupType.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetLocationType ( OTF2_LocationType  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_LocationType.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetLockType ( OTF2_LockType  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_LockType.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetMappingType ( OTF2_MappingType  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_MappingType.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetMeasurementMode ( OTF2_MeasurementMode  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_MeasurementMode.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetMetricBase ( OTF2_MetricBase  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_MetricBase.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetMetricMode ( OTF2_MetricMode  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_MetricMode.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetMetricOccurrence ( OTF2_MetricOccurrence  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_MetricOccurrence.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetMetricScope ( OTF2_MetricScope  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_MetricScope.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetMetricTiming ( OTF2_MetricTiming  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_MetricTiming.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetMetricType ( OTF2_MetricType  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_MetricType.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetMetricValueProperty ( OTF2_MetricValueProperty  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_MetricValueProperty.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetParadigm ( OTF2_Paradigm  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_Paradigm.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetParadigmClass ( OTF2_ParadigmClass  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_ParadigmClass.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetParadigmProperty ( OTF2_ParadigmProperty  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_ParadigmProperty.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetParameterType ( OTF2_ParameterType  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_ParameterType.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetRecorderKind ( OTF2_RecorderKind  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_RecorderKind.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetRegionFlag ( OTF2_RegionFlag  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_RegionFlag.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetRegionRole ( OTF2_RegionRole  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_RegionRole.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetRmaAtomicType ( OTF2_RmaAtomicType  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_RmaAtomicType.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetRmaSyncLevel ( OTF2_RmaSyncLevel  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_RmaSyncLevel.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetRmaSyncType ( OTF2_RmaSyncType  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_RmaSyncType.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetSystemTreeDomain ( OTF2_SystemTreeDomain  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_SystemTreeDomain.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetThumbnailType ( OTF2_ThumbnailType  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_ThumbnailType.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer

OTF2_ErrorCode OTF2_AttributeValue_SetType ( OTF2_Type  enumValue,
OTF2_Type type,
OTF2_AttributeValue value 
)

Set OTF2_Type and OTF2_AttributeValue to the appropriate values for the given enum entry. No value range checking done.

Parameters:
enumValueThe enum value to be converted.
[out]typeMatching OTF2_Type for the enum OTF2_Type.
[out]valueMatching OTF2_AttributeValue for the enumValue value.
Returns:
OTF2_SUCCESS

if successful

OTF2_ERROR_INVALID_ARGUMENT

if either type or value are NULL pointer