28 #ifndef INCLUDED_BLPAPI_CONSTANT 29 #define INCLUDED_BLPAPI_CONSTANT 65 #ifndef INCLUDED_BLPAPI_TYPES 69 #ifndef INCLUDED_BLPAPI_NAME 73 #ifndef INCLUDED_BLPAPI_DEFS 77 #ifndef INCLUDED_BLPAPI_DATETIME 81 #ifndef INCLUDED_BLPAPI_EXCEPTION 159 const char *nameString,
559 const char *buffer = 0;
690 #endif // #ifndef __cplusplus 692 #endif // #ifndef INCLUDED_BLPAPI_CONSTANT int getValueAs(char *buffer) const
Definition: blpapi_constant.h:525
BLPAPI_EXPORT int blpapi_Constant_getValueAsChar(const blpapi_Constant_t *constant, blpapi_Char_t *buffer)
BLPAPI_EXPORT void * blpapi_Constant_userData(const blpapi_Constant_t *constant)
Name name() const
Definition: blpapi_constant.h:503
BLPAPI_EXPORT void * blpapi_ConstantList_userData(const blpapi_ConstantList_t *constant)
Float32 getValueAsFloat32() const
Definition: blpapi_constant.h:588
Common definitions used by the library.
int status() const
Definition: blpapi_constant.h:513
int datatype() const
Definition: blpapi_constant.h:518
int datatype() const
Definition: blpapi_constant.h:646
blpapi_Int32_t Int32
Definition: blpapi_types.h:469
Represents a date and/or time.
Definition: blpapi_abstractsession.h:220
Definition: blpapi_name.h:150
blpapi_Float64_t Float64
Definition: blpapi_types.h:474
Definition: blpapi_constant.h:396
BLPAPI_EXPORT blpapi_Name_t * blpapi_ConstantList_name(const blpapi_ConstantList_t *list)
BLPAPI_EXPORT int blpapi_Constant_getValueAsFloat64(const blpapi_Constant_t *constant, blpapi_Float64_t *buffer)
BLPAPI_EXPORT int blpapi_Constant_getValueAsString(const blpapi_Constant_t *constant, const char **buffer)
BLPAPI_EXPORT blpapi_Constant_t * blpapi_ConstantList_getConstantAt(const blpapi_ConstantList_t *constant, size_t index)
void * userData() const
Definition: blpapi_constant.h:621
blpapi_Name_t * impl() const
Definition: blpapi_name.h:403
int blpapi_Int32_t
Definition: blpapi_types.h:67
const blpapi_ConstantList_t * impl() const
Definition: blpapi_constant.h:672
struct blpapi_Name blpapi_Name_t
Definition: blpapi_types.h:154
BLPAPI_EXPORT int blpapi_Constant_datatype(const blpapi_Constant_t *constant)
const char * description() const
Definition: blpapi_constant.h:508
Constant getConstant(const Name &name) const
Definition: blpapi_constant.h:656
Float64 getValueAsFloat64() const
Definition: blpapi_constant.h:595
int status() const
Definition: blpapi_constant.h:641
blpapi_Float32_t Float32
Definition: blpapi_types.h:473
BLPAPI_EXPORT blpapi_Constant_t * blpapi_ConstantList_getConstant(const blpapi_ConstantList_t *constant, const char *nameString, const blpapi_Name_t *name)
static void throwOnError(int errorCode)
Definition: blpapi_exception.h:526
struct blpapi_ConstantList blpapi_ConstantList_t
Definition: blpapi_types.h:133
struct blpapi_Constant blpapi_Constant_t
Definition: blpapi_types.h:130
int numConstants() const
Definition: blpapi_constant.h:651
BLPAPI_EXPORT void blpapi_Constant_setUserData(blpapi_Constant_t *constant, void *userdata)
const char * description() const
Definition: blpapi_constant.h:636
const blpapi_Constant_t * impl() const
Definition: blpapi_constant.h:523
BLPAPI_EXPORT int blpapi_Constant_getValueAsInt32(const blpapi_Constant_t *constant, blpapi_Int32_t *buffer)
ConstantList(blpapi_ConstantList_t *handle)
Definition: blpapi_constant.h:626
blpapi_Datetime_t & rawValue()
Definition: blpapi_datetime.h:1952
BLPAPI_EXPORT const char * blpapi_Constant_description(const blpapi_Constant_t *constant)
void setUserData(void *userData)
Definition: blpapi_constant.h:616
Int32 getValueAsInt32() const
Definition: blpapi_constant.h:574
blpapi_Int64_t Int64
Definition: blpapi_types.h:471
Int64 getValueAsInt64() const
Definition: blpapi_constant.h:581
BLPAPI_EXPORT int blpapi_Constant_getValueAsDatetime(const blpapi_Constant_t *constant, blpapi_Datetime_t *buffer)
BLPAPI_EXPORT int blpapi_ConstantList_datatype(const blpapi_ConstantList_t *constant)
Definition: blpapi_datetime.h:102
BLPAPI_EXPORT int blpapi_Constant_getValueAsInt64(const blpapi_Constant_t *constant, blpapi_Int64_t *buffer)
BLPAPI_EXPORT void blpapi_ConstantList_setUserData(blpapi_ConstantList_t *constant, void *userdata)
double blpapi_Float64_t
Definition: blpapi_types.h:72
BLPAPI_EXPORT const char * blpapi_ConstantList_description(const blpapi_ConstantList_t *list)
char blpapi_Char_t
Definition: blpapi_types.h:63
long long blpapi_Int64_t
Definition: blpapi_types.h:69
void * userData() const
Definition: blpapi_constant.h:682
BLPAPI_EXPORT blpapi_Name_t * blpapi_Constant_name(const blpapi_Constant_t *constant)
BLPAPI_EXPORT int blpapi_ConstantList_numConstants(const blpapi_ConstantList_t *list)
void setUserData(void *userData)
Definition: blpapi_constant.h:677
char getValueAsChar() const
Definition: blpapi_constant.h:567
Defines Exceptions that can be thrown by the blpapi library.
Definition: blpapi_constant.h:210
BLPAPI_EXPORT int blpapi_Constant_status(const blpapi_Constant_t *constant)
float blpapi_Float32_t
Definition: blpapi_types.h:71
BLPAPI_EXPORT int blpapi_ConstantList_status(const blpapi_ConstantList_t *list)
Constant(blpapi_Constant_t *handle)
Definition: blpapi_constant.h:498
Constant getConstantAt(size_t index) const
Definition: blpapi_constant.h:667
Datetime getValueAsDatetime() const
Definition: blpapi_constant.h:602
#define BLPAPI_EXPORT
Definition: blpapi_defs.h:171
std::string getValueAsString() const
Definition: blpapi_constant.h:609
Definition: blpapi_datetime.h:245
Name name() const
Definition: blpapi_constant.h:631
Provide a representation of strings for use as container keys.
BLPAPI_EXPORT int blpapi_Constant_getValueAsFloat32(const blpapi_Constant_t *constant, blpapi_Float32_t *buffer)