activemq::wireformat::openwire::utils::HexTable Class Reference

The HexTable class maps hexidecimal strings to the value of an index into the table, i.e. More...

#include <src/main/activemq/wireformat/openwire/utils/HexTable.h>

Public Member Functions

 HexTable ()
virtual ~HexTable ()
virtual const std::string & operator[] (std::size_t index)
 Index operator for this Table, will throw an exception if the index requested is out of bounds for this table.
virtual const std::string & operator[] (std::size_t index) const
virtual std::size_t size () const
 Returns the max size of this Table.

Detailed Description

The HexTable class maps hexidecimal strings to the value of an index into the table, i.e.

the class will return "FF" for the index 255 in the table.


Constructor & Destructor Documentation

activemq::wireformat::openwire::utils::HexTable::HexTable (  ) 
virtual activemq::wireformat::openwire::utils::HexTable::~HexTable (  )  [inline, virtual]

Member Function Documentation

virtual const std::string& activemq::wireformat::openwire::utils::HexTable::operator[] ( std::size_t  index  )  const [virtual]
virtual const std::string& activemq::wireformat::openwire::utils::HexTable::operator[] ( std::size_t  index  )  [virtual]

Index operator for this Table, will throw an exception if the index requested is out of bounds for this table.

Parameters:
index The index of the value in the table to fetch.
Returns:
string containing the hex value if the index
Exceptions:
IndexOutOfBoundsException if the index exceeds the table size.
virtual std::size_t activemq::wireformat::openwire::utils::HexTable::size (  )  const [inline, virtual]

Returns the max size of this Table.

Returns:
an integer size value for the table.

The documentation for this class was generated from the following file:

Generated on 1 Dec 2014 for activemq-cpp-3.8.2 by  doxygen 1.6.1