|  | Apama Capital Markets Foundation
    10.11.0.0
    | 
| Functions | |
| AP_MDM_API void | AP_MDM_SetNewsData (AP_MDM_Interface *md, const char *subKey, const char *newsId, const StringSet &symbolSet, AP_int64 updateType, const char *headline, const char *story, const AP_float64 sourceTimestamp, const NewsDataList &newsDataList, const AP_float64 value=MDM_DEFAULT_FLOAT) | 
| AP_MDM_API void | AP_MDM_DeleteNewsData (AP_MDM_Interface *md, const char *subKey, const char *newsId, const StringSet &symbolSet, const AP_float64 sourceTimestamp, const NewsDataList &newsDataList) | 
| AP_MDM_API void | AP_MDM_DefineNewsSchema (AP_MDM_Interface *md, const char *subKey, const NewsDataList &newsDataList) | 
News Processing API
| AP_MDM_API void AP_MDM_DefineNewsSchema | ( | AP_MDM_Interface * | md, | 
| const char * | subKey, | ||
| const NewsDataList & | newsDataList | ||
| ) | 
Set the News Delete data to send at the next commit.
| md | The AP_MDM_Interface to use for this News Delete. | 
| subKey | The subscription key this News Delete is for. | 
| newsDataList | The list of NewsData Key:Value pairs for this News Feed. The type and description in NewsData should be set. | 
| AP_MDM_API void AP_MDM_DeleteNewsData | ( | AP_MDM_Interface * | md, | 
| const char * | subKey, | ||
| const char * | newsId, | ||
| const StringSet & | symbolSet, | ||
| const AP_float64 | sourceTimestamp, | ||
| const NewsDataList & | newsDataList | ||
| ) | 
Set the News Delete data to send at the next commit.
| md | The AP_MDM_Interface to use for this News Delete. | 
| subKey | The subscription key this News Delete is for. | 
| newsId | The id of this News Delete as supplied by the source feed. Can be blank. | 
| symbolSet | The set of symbols this News Delete is for, used for filtering by symbol. Can be empty. The library always sends on if empty. | 
| sourceTimestamp | The timestamp for this News Delete as supplied by the source feed. Normalised to UTC. | 
| newsDataList | The list of NewsData Key:Value pairs for this News Delete. The type and description in NewsData can be blank. If an unknown Key is supplied, a schema update will be sent before the News Data. | 
| AP_MDM_API void AP_MDM_SetNewsData | ( | AP_MDM_Interface * | md, | 
| const char * | subKey, | ||
| const char * | newsId, | ||
| const StringSet & | symbolSet, | ||
| AP_int64 | updateType, | ||
| const char * | headline, | ||
| const char * | story, | ||
| const AP_float64 | sourceTimestamp, | ||
| const NewsDataList & | newsDataList, | ||
| const AP_float64 | value = MDM_DEFAULT_FLOAT | ||
| ) | 
Set the News Data to send at the next commit.
| md | The AP_MDM_Interface to use for this News Data. | 
| subKey | The subscription key this News Data is for. | 
| newsId | The id of this News Data as supplied by the source feed. Can be blank. | 
| symbolSet | The set of symbols this News Data is for, used for filtering by symbol. Can be empty. | 
| updateType | The update type (UPDATETYPE_ADD_INT, UPDATETYPE_MODIFY_INT, UPDATETYPE_REMOVE_INT from MDM_Constants.h) of this News Data. | 
| headline | The headline of this News Data. Can be blank. | 
| story | The story text of this News Data. Can be blank. | 
| sourceTimestamp | The timestamp for this News Data as supplied by the source feed. Normalised to UTC. | 
| newsDataList | The list of NewsData Key:Value pairs for this News Data. The type and description in NewsData can be blank. If an unknown Key is supplied, a schema update will be sent before the News Data. | 
| value | The value of this News Data. Used for economic indicators. Can be set to MDM_DEFAULT_FLOAT. |