/** * @file include/ActivOneApi/Messages/QueryRemoveMessage.h * * @brief Header for the QueryRemoveMessage class. */ #if (!defined ACTIV_ONE_API_MESSAGES_QUERY_REMOVE_MESSAGE_H) #define ACTIV_ONE_API_MESSAGES_QUERY_REMOVE_MESSAGE_H #include "ActivOneApi/External.h" #include "ActivOneApi/TypeDefinitions.h" //! Activ namespace. namespace Activ { //! OneApi namespace. namespace OneApi { //! QueryAddMessage class. class QueryRemoveMessage { public: /** * @brief Constructor. * * @param dataSourceId * @param tableNumber * @param symbol */ QueryRemoveMessage(const DataSourceId dataSourceId, const TableNo tableNumber, const String &symbol); /** * @brief Convert to a string. * * @return A long form string representation of the message contents. */ ACTIV_ONE_API String ToString() const; const DataSourceId m_dataSourceId; ///< The DataSourceId of this message. const TableNo m_tableNumber; ///< The table that @a m_symbol belongs to (ACTIV only). const String m_symbol; ///< The symbol. }; // --------------------------------------------------------------------------------------------------------------------------------- inline QueryRemoveMessage::QueryRemoveMessage(const DataSourceId dataSourceId, const TableNo tableNumber, const String &symbol) : m_dataSourceId(dataSourceId), m_tableNumber(tableNumber), m_symbol(symbol) { } } // namespace OneApi } // namespace Activ #endif // (!defined ACTIV_ONE_API_MESSAGES_QUERY_REMOVE_MESSAGE_H)