DataSource for C SDK
7.1.28.98838-0467ac22
|
Macros | |
#define | DS_CONTAINER_TYPE 228 |
Define the container data type. More... | |
#define | DS_GENERIC_TYPE 231 |
Define the generic object data type. More... | |
#define | DS_JSON_TYPE 232 |
Define the JSON object data type. More... | |
#define | DS_NEWS_TYPE 223 |
Define the news headline data type. More... | |
#define | DS_PAGE_TYPE 221 |
Define the page data type. More... | |
#define | DS_PERMISSION_TYPE 230 |
Define the permission data type. More... | |
#define | DS_RECORD_TYPE 222 |
Define the record data type. More... | |
#define | DS_RECORD_TYPE2 225 |
Define the type 2 record (market depth) data type. More... | |
#define | DS_RECORD_TYPE3 226 |
Define the type 3 record (history) data type. More... | |
#define | DS_STORY_TYPE 224 |
Define the news story data type. More... | |
A data object can represent any kind of data that can fit into the the basic structure of a subject with a number of field/value pairs. There are various pre-defined types typically used, these are described below. Other types can be used as long as the receiving DataSource will understand them. The type is set when the object is is created with ds_init_data(). There are some object type specific convenience functions which may set the type for you, for example ds_page_init().
A directory is both an object and a container for other objects. Directories can be used as a means of organising information into groups and hierarchies.
A page is a free format piece of text made up of rows. Typical sizes are 14 rows of 64 characters and 25 rows of 80 characters.
A record (or "logical record") is a means of storing and displaying information. Records are composed of fields which may not be of the same type: for example, a record containing equity data could have several price fields (e.g. the last traded prices) together with time and date fields, whereas an index record would have a price field but no bid or ask values.
#define DS_CONTAINER_TYPE 228 |
Define the container data type.
#define DS_GENERIC_TYPE 231 |
Define the generic object data type.
The generic object type uses dynamic fields which do not need to be defined in fields.conf
#define DS_JSON_TYPE 232 |
Define the JSON object data type.
#define DS_NEWS_TYPE 223 |
Define the news headline data type.
#define DS_PAGE_TYPE 221 |
Define the page data type.
#define DS_PERMISSION_TYPE 230 |
Define the permission data type.
#define DS_RECORD_TYPE 222 |
Define the record data type.
#define DS_RECORD_TYPE2 225 |
Define the type 2 record (market depth) data type.
#define DS_RECORD_TYPE3 226 |
Define the type 3 record (history) data type.
#define DS_STORY_TYPE 224 |
Define the news story data type.