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,
556 const char *buffer = 0;
686 #endif // #ifndef __cplusplus 688 #endif // #ifndef INCLUDED_BLPAPI_CONSTANT int getValueAs(char *buffer) const
Definition: blpapi_constant.h:522
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:585
Common definitions used by the library.
int status() const
Definition: blpapi_constant.h:510
int datatype() const
Definition: blpapi_constant.h:515
int datatype() const
Definition: blpapi_constant.h:643
blpapi_Int32_t Int32
Definition: blpapi_types.h:469
Represents a date and/or time.
Definition: blpapi_abstractsession.h:215
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:618
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:668
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:505
Constant getConstant(const Name &name) const
Definition: blpapi_constant.h:653
Float64 getValueAsFloat64() const
Definition: blpapi_constant.h:592
int status() const
Definition: blpapi_constant.h:638
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:648
BLPAPI_EXPORT void blpapi_Constant_setUserData(blpapi_Constant_t *constant, void *userdata)
const char * description() const
Definition: blpapi_constant.h:633
const blpapi_Constant_t * impl() const
Definition: blpapi_constant.h:520
BLPAPI_EXPORT int blpapi_Constant_getValueAsInt32(const blpapi_Constant_t *constant, blpapi_Int32_t *buffer)
ConstantList(blpapi_ConstantList_t *handle)
Definition: blpapi_constant.h:623
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:613
Int32 getValueAsInt32() const
Definition: blpapi_constant.h:571
blpapi_Int64_t Int64
Definition: blpapi_types.h:471
Int64 getValueAsInt64() const
Definition: blpapi_constant.h:578
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:678
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:673
char getValueAsChar() const
Definition: blpapi_constant.h:564
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:663
Datetime getValueAsDatetime() const
Definition: blpapi_constant.h:599
#define BLPAPI_EXPORT
Definition: blpapi_defs.h:171
std::string getValueAsString() const
Definition: blpapi_constant.h:606
Definition: blpapi_datetime.h:245
Name name() const
Definition: blpapi_constant.h:628
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)