Public Member Functions | |
virtual | ~MapMessage () |
virtual std::vector< std::string > | getMapNames () const=0 |
virtual bool | itemExists (const std::string &name) const =0 |
virtual bool | getBoolean (const std::string &name) const =0 throw ( CMSException ) |
virtual void | setBoolean (const std::string &name, bool value)=0 throw ( CMSException ) |
virtual unsigned char | getByte (const std::string &name) const =0 throw ( CMSException ) |
virtual void | setByte (const std::string &name, unsigned char value)=0 throw ( CMSException ) |
virtual std::vector< unsigned char > | getBytes (const std::string &name) const =0 throw ( CMSException ) |
virtual void | setBytes (const std::string &name, const std::vector< unsigned char > &value)=0 throw ( CMSException ) |
virtual char | getChar (const std::string &name) const =0 throw ( CMSException ) |
virtual void | setChar (const std::string &name, char value)=0 throw ( CMSException ) |
virtual double | getDouble (const std::string &name) const =0 throw ( CMSException ) |
virtual void | setDouble (const std::string &name, double value)=0 throw ( CMSException ) |
virtual float | getFloat (const std::string &name) const =0 throw ( CMSException ) |
virtual void | setFloat (const std::string &name, float value)=0 throw ( CMSException ) |
virtual int | getInt (const std::string &name) const =0 throw ( CMSException ) |
virtual void | setInt (const std::string &name, int value)=0 throw ( CMSException ) |
virtual long long | getLong (const std::string &name) const =0 throw ( CMSException ) |
virtual void | setLong (const std::string &name, long long value)=0 throw ( CMSException ) |
virtual short | getShort (const std::string &name) const =0 throw ( CMSException ) |
virtual void | setShort (const std::string &name, short value)=0 throw ( CMSException ) |
virtual std::string | getString (const std::string &name) const =0 throw ( CMSException ) |
virtual void | setString (const std::string &name, const std::string &value)=0 throw ( CMSException ) |
When a client receives a MapMessage, it is in read-only mode. If a client attempts to write to the message at this point, a CMSException is thrown.
virtual cms::MapMessage::~MapMessage | ( | ) | [inline, virtual] |
virtual std::vector< std::string > cms::MapMessage::getMapNames | ( | ) | const [pure virtual] |
Returns an Enumeration of all the names in the MapMessage object.
CMSException |
virtual bool cms::MapMessage::itemExists | ( | const std::string & | name | ) | const [pure virtual] |
Indicates whether an item exists in this MapMessage object.
name | - String name of the Object in question |
virtual bool cms::MapMessage::getBoolean | ( | const std::string & | name | ) | const throw ( CMSException ) [pure virtual] |
Returns the Boolean value of the Specified name
name | of the value to fetch from the map |
CMSException |
virtual void cms::MapMessage::setBoolean | ( | const std::string & | name, | |
bool | value | |||
) | throw ( CMSException ) [pure virtual] |
Sets a boolean value with the specified name into the Map.
name | - the name of the boolean | |
value | - the boolean value to set in the Map |
CMSException |
virtual unsigned char cms::MapMessage::getByte | ( | const std::string & | name | ) | const throw ( CMSException ) [pure virtual] |
Returns the Byte value of the Specified name
name | of the value to fetch from the map |
CMSException |
virtual void cms::MapMessage::setByte | ( | const std::string & | name, | |
unsigned char | value | |||
) | throw ( CMSException ) [pure virtual] |
Sets a Byte value with the specified name into the Map.
name | - the name of the Byte | |
value | - the Byte value to set in the Map |
CMSException |
virtual std::vector<unsigned char> cms::MapMessage::getBytes | ( | const std::string & | name | ) | const throw ( CMSException ) [pure virtual] |
Returns the Bytes value of the Specified name
name | of the value to fetch from the map |
CMSException |
virtual void cms::MapMessage::setBytes | ( | const std::string & | name, | |
const std::vector< unsigned char > & | value | |||
) | throw ( CMSException ) [pure virtual] |
Sets a Bytes value with the specified name into the Map.
name | - the name of the Bytes | |
value | - the Bytes value to set in the Map |
CMSException |
virtual char cms::MapMessage::getChar | ( | const std::string & | name | ) | const throw ( CMSException ) [pure virtual] |
Returns the Char value of the Specified name
name | of the value to fetch from the map |
CMSException |
virtual void cms::MapMessage::setChar | ( | const std::string & | name, | |
char | value | |||
) | throw ( CMSException ) [pure virtual] |
Sets a Char value with the specified name into the Map.
name | - the name of the Char | |
value | - the Char value to set in the Map |
CMSException |
virtual double cms::MapMessage::getDouble | ( | const std::string & | name | ) | const throw ( CMSException ) [pure virtual] |
Returns the Double value of the Specified name
name | of the value to fetch from the map |
CMSException |
virtual void cms::MapMessage::setDouble | ( | const std::string & | name, | |
double | value | |||
) | throw ( CMSException ) [pure virtual] |
Sets a Double value with the specified name into the Map.
name | - the name of the Double | |
value | - the Double value to set in the Map |
CMSException |
virtual float cms::MapMessage::getFloat | ( | const std::string & | name | ) | const throw ( CMSException ) [pure virtual] |
Returns the Float value of the Specified name
name | of the value to fetch from the map |
CMSException |
virtual void cms::MapMessage::setFloat | ( | const std::string & | name, | |
float | value | |||
) | throw ( CMSException ) [pure virtual] |
Sets a Float value with the specified name into the Map.
name | - the name of the Float | |
value | - the Float value to set in the Map |
CMSException |
virtual int cms::MapMessage::getInt | ( | const std::string & | name | ) | const throw ( CMSException ) [pure virtual] |
Returns the Int value of the Specified name
name | of the value to fetch from the map |
CMSException |
virtual void cms::MapMessage::setInt | ( | const std::string & | name, | |
int | value | |||
) | throw ( CMSException ) [pure virtual] |
Sets a Int value with the specified name into the Map.
name | - the name of the Int | |
value | - the Int value to set in the Map |
CMSException |
virtual long long cms::MapMessage::getLong | ( | const std::string & | name | ) | const throw ( CMSException ) [pure virtual] |
Returns the Long value of the Specified name
name | of the value to fetch from the map |
CMSException |
virtual void cms::MapMessage::setLong | ( | const std::string & | name, | |
long long | value | |||
) | throw ( CMSException ) [pure virtual] |
Sets a Long value with the specified name into the Map.
name | - the name of the Long | |
value | - the Long value to set in the Map |
CMSException |
virtual short cms::MapMessage::getShort | ( | const std::string & | name | ) | const throw ( CMSException ) [pure virtual] |
Returns the Short value of the Specified name
name | of the value to fetch from the map |
CMSException |
virtual void cms::MapMessage::setShort | ( | const std::string & | name, | |
short | value | |||
) | throw ( CMSException ) [pure virtual] |
Sets a Short value with the specified name into the Map.
name | - the name of the Short | |
value | - the Short value to set in the Map |
CMSException |
virtual std::string cms::MapMessage::getString | ( | const std::string & | name | ) | const throw ( CMSException ) [pure virtual] |
Returns the String value of the Specified name
name | of the value to fetch from the map |
CMSException |
virtual void cms::MapMessage::setString | ( | const std::string & | name, | |
const std::string & | value | |||
) | throw ( CMSException ) [pure virtual] |
Sets a String value with the specified name into the Map.
name | - the name of the String | |
value | - the String value to set in the Map |
CMSException |