semaine::cms::message::SEMAINEFeatureMessage Class Reference
#include <SEMAINEFeatureMessage.h>
List of all members.
Constructor & Destructor Documentation
semaine::cms::message::SEMAINEFeatureMessage::~SEMAINEFeatureMessage |
( |
|
) |
[virtual] |
Member Function Documentation
std::vector< std::string > semaine::cms::message::SEMAINEFeatureMessage::getFeatureNames |
( |
|
) |
throw (CMSException) |
Get the list of feature names if available.
- Returns:
- an array of strings containing the names of features if available, or an empty vector if the feature names are not available.
- Exceptions:
-
Get the feature vector from the message.
- Returns:
- the feature vector contained in the message.
- Exceptions:
-
| CMSException | |
| MessageFormatException | |
bool semaine::cms::message::SEMAINEFeatureMessage::hasFeatureNames |
( |
|
) |
[inline] |
Check if the feature message has a list of feature names set.
void semaine::cms::message::SEMAINEFeatureMessage::readFromTextMessage |
( |
const TextMessage * |
tm |
) |
throw (CMSException) [protected] |
Set the feature names corresponding to the features.
- Parameters:
-
| names | a vector of feature names, which must correspond in number and in their order to the features in this message. |
- Exceptions:
-
| MessageFormatException | if the number of feature names does not match the number of features saved in the message |
Member Data Documentation
The documentation for this class was generated from the following files: