![]() |
1.5.1 (revision 4026)
|
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.
Declares the OTF2_AttributeValue and provides convenience functions to convert from and to OTF2 enum values.
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
type | Given type. | |
value | Given value. | |
[out] | enumValue | Converted enum value. |
if successful
if enumValue a NULL pointer
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_Boolean. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_CartPeriodicity. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_CollectiveOp. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_FileSubstrate. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_FileType. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_GroupFlag. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_GroupType. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_LocationGroupType. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_LocationType. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_LockType. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_MappingType. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_MeasurementMode. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_MetricBase. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_MetricMode. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_MetricOccurrence. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_MetricScope. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_MetricTiming. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_MetricType. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_MetricValueProperty. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_Paradigm. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_ParadigmClass. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_ParadigmProperty. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_ParameterType. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_RecorderKind. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_RegionFlag. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_RegionRole. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_RmaAtomicType. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_RmaSyncLevel. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_RmaSyncType. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_SystemTreeDomain. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_ThumbnailType. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
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.
enumValue | The enum value to be converted. | |
[out] | type | Matching OTF2_Type for the enum OTF2_Type. |
[out] | value | Matching OTF2_AttributeValue for the enumValue value. |
if successful
if either type or value are NULL pointer