BLPAPI C++  3.24.10
blpapi_constant.h File Reference

Provide a representation for schema-level enumeration constants. More...

#include <blpapi_types.h>
#include <blpapi_name.h>
#include <blpapi_defs.h>
#include <blpapi_datetime.h>
#include <blpapi_exception.h>
#include <stddef.h>
#include <cassert>

Go to the source code of this file.

Classes

class  Constant
 
class  ConstantList
 

Namespaces

 BloombergLP
 
 BloombergLP::blpapi
 

Functions

BLPAPI_EXPORT void blpapi_Constant_setUserData (blpapi_Constant_t *constant, void *userdata)
 
BLPAPI_EXPORT blpapi_Name_tblpapi_Constant_name (const blpapi_Constant_t *constant)
 
BLPAPI_EXPORT const char * blpapi_Constant_description (const blpapi_Constant_t *constant)
 
BLPAPI_EXPORT int blpapi_Constant_status (const blpapi_Constant_t *constant)
 
BLPAPI_EXPORT int blpapi_Constant_datatype (const blpapi_Constant_t *constant)
 
BLPAPI_EXPORT int blpapi_Constant_getValueAsChar (const blpapi_Constant_t *constant, blpapi_Char_t *buffer)
 
BLPAPI_EXPORT int blpapi_Constant_getValueAsInt32 (const blpapi_Constant_t *constant, blpapi_Int32_t *buffer)
 
BLPAPI_EXPORT int blpapi_Constant_getValueAsInt64 (const blpapi_Constant_t *constant, blpapi_Int64_t *buffer)
 
BLPAPI_EXPORT int blpapi_Constant_getValueAsFloat32 (const blpapi_Constant_t *constant, blpapi_Float32_t *buffer)
 
BLPAPI_EXPORT int blpapi_Constant_getValueAsFloat64 (const blpapi_Constant_t *constant, blpapi_Float64_t *buffer)
 
BLPAPI_EXPORT int blpapi_Constant_getValueAsDatetime (const blpapi_Constant_t *constant, blpapi_Datetime_t *buffer)
 
BLPAPI_EXPORT int blpapi_Constant_getValueAsString (const blpapi_Constant_t *constant, const char **buffer)
 
BLPAPI_EXPORT void * blpapi_Constant_userData (const blpapi_Constant_t *constant)
 
BLPAPI_EXPORT void blpapi_ConstantList_setUserData (blpapi_ConstantList_t *constant, void *userdata)
 
BLPAPI_EXPORT blpapi_Name_tblpapi_ConstantList_name (const blpapi_ConstantList_t *list)
 
BLPAPI_EXPORT const char * blpapi_ConstantList_description (const blpapi_ConstantList_t *list)
 
BLPAPI_EXPORT int blpapi_ConstantList_numConstants (const blpapi_ConstantList_t *list)
 
BLPAPI_EXPORT int blpapi_ConstantList_datatype (const blpapi_ConstantList_t *constant)
 
BLPAPI_EXPORT int blpapi_ConstantList_status (const blpapi_ConstantList_t *list)
 
BLPAPI_EXPORT blpapi_Constant_tblpapi_ConstantList_getConstant (const blpapi_ConstantList_t *constant, const char *nameString, const blpapi_Name_t *name)
 
BLPAPI_EXPORT blpapi_Constant_tblpapi_ConstantList_getConstantAt (const blpapi_ConstantList_t *constant, size_t index)
 
BLPAPI_EXPORT void * blpapi_ConstantList_userData (const blpapi_ConstantList_t *constant)
 

Detailed Description

Provide a representation for schema-level enumeration constants.

Function Documentation

◆ blpapi_Constant_datatype()

BLPAPI_EXPORT int blpapi_Constant_datatype ( const blpapi_Constant_t constant)

◆ blpapi_Constant_description()

BLPAPI_EXPORT const char* blpapi_Constant_description ( const blpapi_Constant_t constant)

◆ blpapi_Constant_getValueAsChar()

BLPAPI_EXPORT int blpapi_Constant_getValueAsChar ( const blpapi_Constant_t constant,
blpapi_Char_t buffer 
)

◆ blpapi_Constant_getValueAsDatetime()

BLPAPI_EXPORT int blpapi_Constant_getValueAsDatetime ( const blpapi_Constant_t constant,
blpapi_Datetime_t buffer 
)

◆ blpapi_Constant_getValueAsFloat32()

BLPAPI_EXPORT int blpapi_Constant_getValueAsFloat32 ( const blpapi_Constant_t constant,
blpapi_Float32_t buffer 
)

◆ blpapi_Constant_getValueAsFloat64()

BLPAPI_EXPORT int blpapi_Constant_getValueAsFloat64 ( const blpapi_Constant_t constant,
blpapi_Float64_t buffer 
)

◆ blpapi_Constant_getValueAsInt32()

BLPAPI_EXPORT int blpapi_Constant_getValueAsInt32 ( const blpapi_Constant_t constant,
blpapi_Int32_t buffer 
)

◆ blpapi_Constant_getValueAsInt64()

BLPAPI_EXPORT int blpapi_Constant_getValueAsInt64 ( const blpapi_Constant_t constant,
blpapi_Int64_t buffer 
)

◆ blpapi_Constant_getValueAsString()

BLPAPI_EXPORT int blpapi_Constant_getValueAsString ( const blpapi_Constant_t constant,
const char **  buffer 
)

◆ blpapi_Constant_name()

BLPAPI_EXPORT blpapi_Name_t* blpapi_Constant_name ( const blpapi_Constant_t constant)

◆ blpapi_Constant_setUserData()

BLPAPI_EXPORT void blpapi_Constant_setUserData ( blpapi_Constant_t constant,
void *  userdata 
)

◆ blpapi_Constant_status()

BLPAPI_EXPORT int blpapi_Constant_status ( const blpapi_Constant_t constant)

◆ blpapi_Constant_userData()

BLPAPI_EXPORT void* blpapi_Constant_userData ( const blpapi_Constant_t constant)

◆ blpapi_ConstantList_datatype()

BLPAPI_EXPORT int blpapi_ConstantList_datatype ( const blpapi_ConstantList_t constant)

◆ blpapi_ConstantList_description()

BLPAPI_EXPORT const char* blpapi_ConstantList_description ( const blpapi_ConstantList_t list)

◆ blpapi_ConstantList_getConstant()

BLPAPI_EXPORT blpapi_Constant_t* blpapi_ConstantList_getConstant ( const blpapi_ConstantList_t constant,
const char *  nameString,
const blpapi_Name_t name 
)

◆ blpapi_ConstantList_getConstantAt()

BLPAPI_EXPORT blpapi_Constant_t* blpapi_ConstantList_getConstantAt ( const blpapi_ConstantList_t constant,
size_t  index 
)

◆ blpapi_ConstantList_name()

BLPAPI_EXPORT blpapi_Name_t* blpapi_ConstantList_name ( const blpapi_ConstantList_t list)

◆ blpapi_ConstantList_numConstants()

BLPAPI_EXPORT int blpapi_ConstantList_numConstants ( const blpapi_ConstantList_t list)

◆ blpapi_ConstantList_setUserData()

BLPAPI_EXPORT void blpapi_ConstantList_setUserData ( blpapi_ConstantList_t constant,
void *  userdata 
)

◆ blpapi_ConstantList_status()

BLPAPI_EXPORT int blpapi_ConstantList_status ( const blpapi_ConstantList_t list)

◆ blpapi_ConstantList_userData()

BLPAPI_EXPORT void* blpapi_ConstantList_userData ( const blpapi_ConstantList_t constant)