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>
|
| 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.
|
|
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.
◆ HexTable()
activemq::wireformat::openwire::utils::HexTable::HexTable |
( |
| ) |
|
◆ ~HexTable()
virtual activemq::wireformat::openwire::utils::HexTable::~HexTable |
( |
| ) |
|
|
inlinevirtual |
◆ operator[]() [1/2]
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. |
◆ operator[]() [2/2]
virtual const std::string & activemq::wireformat::openwire::utils::HexTable::operator[] |
( |
std::size_t | index | ) |
const |
|
virtual |
◆ size()
virtual std::size_t activemq::wireformat::openwire::utils::HexTable::size |
( |
| ) |
const |
|
inlinevirtual |
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:
- src/main/activemq/wireformat/openwire/utils/HexTable.h