Apama Capital Markets Foundation  10.3.1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Misc Functions

Functions

AP_MDM_API void AP_MDM_SequenceToString (const StringSet &stringSet, std::string &result)
 
AP_MDM_API void AP_MDM_DictionaryToString (const StringDictionary &stringDictionary, std::string &result)
 
AP_MDM_API void AP_MDM_EscapeString (const std::string &input, std::string &result)
 

Detailed Description

Misc Functions

Function Documentation

AP_MDM_API void AP_MDM_DictionaryToString ( const StringDictionary stringDictionary,
std::string &  result 
)

Helper to correctly format a StringDictionary into an string representation of an Apama dictionary. Mainly used to add a sequence type value to a NewsDataList.

Parameters
stringDictionaryThe source string dictionary to be converted into a string representation of an Apama dictionary.
resultThe resultant string representation of an Apama dictionary which can be added as a value to a NewsDataList.
See also
NewsDataList
StringDictionary
AP_MDM_API void AP_MDM_EscapeString ( const std::string &  input,
std::string &  result 
)

Helper to correctly escape a string so it can be used as a key or value in a string representation of an Apama sequence or dictionary.

Parameters
inputThe source string to be escaped.
resultThe resultant escaped string.
AP_MDM_API void AP_MDM_SequenceToString ( const StringSet stringSet,
std::string &  result 
)

Helper to correctly format a StringSet into an string representation of an Apama sequence. Mainly used to add a sequence type value to a NewsDataList.

Parameters
stringSetThe source string set to be converted into a string representation of an Apama sequence.
resultThe resultant string representation of an Apama sequence which can be added as a value to a NewsDataList.
See also
NewsDataList
StringSet