Classes | Namespaces | Defines | Functions

blpapi_element.h File Reference

Provide a representation of an item in a message. More...

Go to the source code of this file.

Classes

class  blpapi::Element

Namespaces

namespace  blpapi

Defines

#define INCLUDED_STRING

Functions

BLPAPI_EXPORT blpapi_Name_tblpapi_Element_name (const blpapi_Element_t *element)
BLPAPI_EXPORT const char * blpapi_Element_nameString (const blpapi_Element_t *element)
BLPAPI_EXPORT
blpapi_SchemaElementDefinition_t
blpapi_Element_definition (const blpapi_Element_t *element)
BLPAPI_EXPORT int blpapi_Element_datatype (const blpapi_Element_t *element)
BLPAPI_EXPORT int blpapi_Element_isComplexType (const blpapi_Element_t *element)
BLPAPI_EXPORT int blpapi_Element_isArray (const blpapi_Element_t *element)
BLPAPI_EXPORT int blpapi_Element_isReadOnly (const blpapi_Element_t *element)
BLPAPI_EXPORT size_t blpapi_Element_numValues (const blpapi_Element_t *element)
BLPAPI_EXPORT size_t blpapi_Element_numElements (const blpapi_Element_t *element)
BLPAPI_EXPORT int blpapi_Element_isNullValue (const blpapi_Element_t *element, size_t position)
BLPAPI_EXPORT int blpapi_Element_isNull (const blpapi_Element_t *element)
BLPAPI_EXPORT int blpapi_Element_print (const blpapi_Element_t *element, blpapi_StreamWriter_t streamWriter, void *stream, int level, int spacesPerLevel)
BLPAPI_EXPORT int blpapi_Element_getElementAt (const blpapi_Element_t *element, blpapi_Element_t **result, size_t position)
BLPAPI_EXPORT int blpapi_Element_getElement (const blpapi_Element_t *element, blpapi_Element_t **result, const char *nameString, const blpapi_Name_t *name)
BLPAPI_EXPORT int blpapi_Element_hasElement (const blpapi_Element_t *element, const char *nameString, const blpapi_Name_t *name)
BLPAPI_EXPORT int blpapi_Element_hasElementEx (const blpapi_Element_t *element, const char *nameString, const blpapi_Name_t *name, int excludeNullElements, int reserved)
BLPAPI_EXPORT int blpapi_Element_getValueAsBool (const blpapi_Element_t *element, blpapi_Bool_t *buffer, size_t index)
BLPAPI_EXPORT int blpapi_Element_getValueAsChar (const blpapi_Element_t *element, blpapi_Char_t *buffer, size_t index)
BLPAPI_EXPORT int blpapi_Element_getValueAsInt32 (const blpapi_Element_t *element, blpapi_Int32_t *buffer, size_t index)
BLPAPI_EXPORT int blpapi_Element_getValueAsInt64 (const blpapi_Element_t *element, blpapi_Int64_t *buffer, size_t index)
BLPAPI_EXPORT int blpapi_Element_getValueAsFloat32 (const blpapi_Element_t *element, blpapi_Float32_t *buffer, size_t index)
BLPAPI_EXPORT int blpapi_Element_getValueAsFloat64 (const blpapi_Element_t *element, blpapi_Float64_t *buffer, size_t index)
BLPAPI_EXPORT int blpapi_Element_getValueAsString (const blpapi_Element_t *element, const char **buffer, size_t index)
BLPAPI_EXPORT int blpapi_Element_getValueAsDatetime (const blpapi_Element_t *element, blpapi_Datetime_t *buffer, size_t index)
BLPAPI_EXPORT int blpapi_Element_getValueAsHighPrecisionDatetime (const blpapi_Element_t *element, blpapi_HighPrecisionDatetime_t *buffer, size_t index)
BLPAPI_EXPORT int blpapi_Element_getValueAsElement (const blpapi_Element_t *element, blpapi_Element_t **buffer, size_t index)
BLPAPI_EXPORT int blpapi_Element_getValueAsName (const blpapi_Element_t *element, blpapi_Name_t **buffer, size_t index)
BLPAPI_EXPORT int blpapi_Element_getChoice (const blpapi_Element_t *element, blpapi_Element_t **result)
BLPAPI_EXPORT int blpapi_Element_setValueBool (blpapi_Element_t *element, blpapi_Bool_t value, size_t index)
BLPAPI_EXPORT int blpapi_Element_setValueChar (blpapi_Element_t *element, blpapi_Char_t value, size_t index)
BLPAPI_EXPORT int blpapi_Element_setValueInt32 (blpapi_Element_t *element, blpapi_Int32_t value, size_t index)
BLPAPI_EXPORT int blpapi_Element_setValueInt64 (blpapi_Element_t *element, blpapi_Int64_t value, size_t index)
BLPAPI_EXPORT int blpapi_Element_setValueFloat32 (blpapi_Element_t *element, blpapi_Float32_t value, size_t index)
BLPAPI_EXPORT int blpapi_Element_setValueFloat64 (blpapi_Element_t *element, blpapi_Float64_t value, size_t index)
BLPAPI_EXPORT int blpapi_Element_setValueString (blpapi_Element_t *element, const char *value, size_t index)
BLPAPI_EXPORT int blpapi_Element_setValueDatetime (blpapi_Element_t *element, const blpapi_Datetime_t *value, size_t index)
BLPAPI_EXPORT int blpapi_Element_setValueHighPrecisionDatetime (blpapi_Element_t *element, const blpapi_HighPrecisionDatetime_t *value, size_t index)
BLPAPI_EXPORT int blpapi_Element_setValueFromElement (blpapi_Element_t *element, blpapi_Element_t *value, size_t index)
BLPAPI_EXPORT int blpapi_Element_setValueFromName (blpapi_Element_t *element, const blpapi_Name_t *value, size_t index)
BLPAPI_EXPORT int blpapi_Element_setElementBool (blpapi_Element_t *element, const char *nameString, const blpapi_Name_t *name, blpapi_Bool_t value)
BLPAPI_EXPORT int blpapi_Element_setElementChar (blpapi_Element_t *element, const char *nameString, const blpapi_Name_t *name, blpapi_Char_t value)
BLPAPI_EXPORT int blpapi_Element_setElementInt32 (blpapi_Element_t *element, const char *nameString, const blpapi_Name_t *name, blpapi_Int32_t value)
BLPAPI_EXPORT int blpapi_Element_setElementInt64 (blpapi_Element_t *element, const char *nameString, const blpapi_Name_t *name, blpapi_Int64_t value)
BLPAPI_EXPORT int blpapi_Element_setElementFloat32 (blpapi_Element_t *element, const char *nameString, const blpapi_Name_t *name, blpapi_Float32_t value)
BLPAPI_EXPORT int blpapi_Element_setElementFloat64 (blpapi_Element_t *element, const char *nameString, const blpapi_Name_t *name, blpapi_Float64_t value)
BLPAPI_EXPORT int blpapi_Element_setElementString (blpapi_Element_t *element, const char *nameString, const blpapi_Name_t *name, const char *value)
BLPAPI_EXPORT int blpapi_Element_setElementDatetime (blpapi_Element_t *element, const char *nameString, const blpapi_Name_t *name, const blpapi_Datetime_t *value)
BLPAPI_EXPORT int blpapi_Element_setElementHighPrecisionDatetime (blpapi_Element_t *element, const char *nameString, const blpapi_Name_t *name, const blpapi_HighPrecisionDatetime_t *value)
BLPAPI_EXPORT int blpapi_Element_setElementFromField (blpapi_Element_t *element, const char *nameString, const blpapi_Name_t *name, blpapi_Element_t *sourcebuffer)
BLPAPI_EXPORT int blpapi_Element_setElementFromName (blpapi_Element_t *element, const char *elementName, const blpapi_Name_t *name, const blpapi_Name_t *buffer)
BLPAPI_EXPORT int blpapi_Element_appendElement (blpapi_Element_t *element, blpapi_Element_t **appendedElement)
BLPAPI_EXPORT int blpapi_Element_setChoice (blpapi_Element_t *element, blpapi_Element_t **resultElement, const char *nameCstr, const blpapi_Name_t *name, size_t index)
std::ostream & blpapi::operator<< (std::ostream &stream, const Element &element)

Detailed Description

Provide a representation of an item in a message.


Define Documentation

#define INCLUDED_STRING

Function Documentation

BLPAPI_EXPORT blpapi_Name_t* blpapi_Element_name ( const blpapi_Element_t element  ) 
BLPAPI_EXPORT const char* blpapi_Element_nameString ( const blpapi_Element_t element  ) 
BLPAPI_EXPORT blpapi_SchemaElementDefinition_t* blpapi_Element_definition ( const blpapi_Element_t element  ) 
BLPAPI_EXPORT int blpapi_Element_datatype ( const blpapi_Element_t element  ) 
BLPAPI_EXPORT int blpapi_Element_isComplexType ( const blpapi_Element_t element  ) 
BLPAPI_EXPORT int blpapi_Element_isArray ( const blpapi_Element_t element  ) 
BLPAPI_EXPORT int blpapi_Element_isReadOnly ( const blpapi_Element_t element  ) 
BLPAPI_EXPORT size_t blpapi_Element_numValues ( const blpapi_Element_t element  ) 
BLPAPI_EXPORT size_t blpapi_Element_numElements ( const blpapi_Element_t element  ) 
BLPAPI_EXPORT int blpapi_Element_isNullValue ( const blpapi_Element_t element,
size_t  position 
)
BLPAPI_EXPORT int blpapi_Element_isNull ( const blpapi_Element_t element  ) 
BLPAPI_EXPORT int blpapi_Element_print ( const blpapi_Element_t element,
blpapi_StreamWriter_t  streamWriter,
void *  stream,
int  level,
int  spacesPerLevel 
)
BLPAPI_EXPORT int blpapi_Element_getElementAt ( const blpapi_Element_t element,
blpapi_Element_t **  result,
size_t  position 
)
BLPAPI_EXPORT int blpapi_Element_getElement ( const blpapi_Element_t element,
blpapi_Element_t **  result,
const char *  nameString,
const blpapi_Name_t name 
)
BLPAPI_EXPORT int blpapi_Element_hasElement ( const blpapi_Element_t element,
const char *  nameString,
const blpapi_Name_t name 
)
BLPAPI_EXPORT int blpapi_Element_hasElementEx ( const blpapi_Element_t element,
const char *  nameString,
const blpapi_Name_t name,
int  excludeNullElements,
int  reserved 
)
BLPAPI_EXPORT int blpapi_Element_getValueAsBool ( const blpapi_Element_t element,
blpapi_Bool_t buffer,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_getValueAsChar ( const blpapi_Element_t element,
blpapi_Char_t buffer,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_getValueAsInt32 ( const blpapi_Element_t element,
blpapi_Int32_t buffer,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_getValueAsInt64 ( const blpapi_Element_t element,
blpapi_Int64_t buffer,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_getValueAsFloat32 ( const blpapi_Element_t element,
blpapi_Float32_t buffer,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_getValueAsFloat64 ( const blpapi_Element_t element,
blpapi_Float64_t buffer,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_getValueAsString ( const blpapi_Element_t element,
const char **  buffer,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_getValueAsDatetime ( const blpapi_Element_t element,
blpapi_Datetime_t buffer,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_getValueAsHighPrecisionDatetime ( const blpapi_Element_t element,
blpapi_HighPrecisionDatetime_t buffer,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_getValueAsElement ( const blpapi_Element_t element,
blpapi_Element_t **  buffer,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_getValueAsName ( const blpapi_Element_t element,
blpapi_Name_t **  buffer,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_getChoice ( const blpapi_Element_t element,
blpapi_Element_t **  result 
)
BLPAPI_EXPORT int blpapi_Element_setValueBool ( blpapi_Element_t element,
blpapi_Bool_t  value,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_setValueChar ( blpapi_Element_t element,
blpapi_Char_t  value,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_setValueInt32 ( blpapi_Element_t element,
blpapi_Int32_t  value,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_setValueInt64 ( blpapi_Element_t element,
blpapi_Int64_t  value,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_setValueFloat32 ( blpapi_Element_t element,
blpapi_Float32_t  value,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_setValueFloat64 ( blpapi_Element_t element,
blpapi_Float64_t  value,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_setValueString ( blpapi_Element_t element,
const char *  value,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_setValueDatetime ( blpapi_Element_t element,
const blpapi_Datetime_t value,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_setValueHighPrecisionDatetime ( blpapi_Element_t element,
const blpapi_HighPrecisionDatetime_t value,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_setValueFromElement ( blpapi_Element_t element,
blpapi_Element_t value,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_setValueFromName ( blpapi_Element_t element,
const blpapi_Name_t value,
size_t  index 
)
BLPAPI_EXPORT int blpapi_Element_setElementBool ( blpapi_Element_t element,
const char *  nameString,
const blpapi_Name_t name,
blpapi_Bool_t  value 
)
BLPAPI_EXPORT int blpapi_Element_setElementChar ( blpapi_Element_t element,
const char *  nameString,
const blpapi_Name_t name,
blpapi_Char_t  value 
)
BLPAPI_EXPORT int blpapi_Element_setElementInt32 ( blpapi_Element_t element,
const char *  nameString,
const blpapi_Name_t name,
blpapi_Int32_t  value 
)
BLPAPI_EXPORT int blpapi_Element_setElementInt64 ( blpapi_Element_t element,
const char *  nameString,
const blpapi_Name_t name,
blpapi_Int64_t  value 
)
BLPAPI_EXPORT int blpapi_Element_setElementFloat32 ( blpapi_Element_t element,
const char *  nameString,
const blpapi_Name_t name,
blpapi_Float32_t  value 
)
BLPAPI_EXPORT int blpapi_Element_setElementFloat64 ( blpapi_Element_t element,
const char *  nameString,
const blpapi_Name_t name,
blpapi_Float64_t  value 
)
BLPAPI_EXPORT int blpapi_Element_setElementString ( blpapi_Element_t element,
const char *  nameString,
const blpapi_Name_t name,
const char *  value 
)
BLPAPI_EXPORT int blpapi_Element_setElementDatetime ( blpapi_Element_t element,
const char *  nameString,
const blpapi_Name_t name,
const blpapi_Datetime_t value 
)
BLPAPI_EXPORT int blpapi_Element_setElementHighPrecisionDatetime ( blpapi_Element_t element,
const char *  nameString,
const blpapi_Name_t name,
const blpapi_HighPrecisionDatetime_t value 
)
BLPAPI_EXPORT int blpapi_Element_setElementFromField ( blpapi_Element_t element,
const char *  nameString,
const blpapi_Name_t name,
blpapi_Element_t sourcebuffer 
)
BLPAPI_EXPORT int blpapi_Element_setElementFromName ( blpapi_Element_t element,
const char *  elementName,
const blpapi_Name_t name,
const blpapi_Name_t buffer 
)
BLPAPI_EXPORT int blpapi_Element_appendElement ( blpapi_Element_t element,
blpapi_Element_t **  appendedElement 
)
BLPAPI_EXPORT int blpapi_Element_setChoice ( blpapi_Element_t element,
blpapi_Element_t **  resultElement,
const char *  nameCstr,
const blpapi_Name_t name,
size_t  index 
)