casa
$Rev:20696$
|
A class to represent byte order information. More...
#include <Misc.h>
Public Member Functions | |
std::string | toString () const |
Returns a string representation of this. | |
std::string | toString () const |
Returns a string representation of this. | |
Static Public Member Functions | |
static const ByteOrder * | fromString (const std::string &s) |
Convert a string to a const ByteOrder*. | |
static const ByteOrder * | fromString (const std::string &s) |
Convert a string to a const ByteOrder*. | |
Static Public Attributes | |
static const ByteOrder * | Little_Endian |
static const ByteOrder * | Big_Endian |
static const ByteOrder * | Machine_Endianity |
Private Member Functions | |
ByteOrder (const std::string &name, int endianity) | |
virtual | ~ByteOrder () |
ByteOrder (const std::string &name, int endianity) | |
virtual | ~ByteOrder () |
Static Private Member Functions | |
static const ByteOrder * | machineEndianity () |
static const ByteOrder * | machineEndianity () |
Private Attributes | |
std::string | name_ |
int | endianity_ |
asdm::ByteOrder::ByteOrder | ( | const std::string & | name, |
int | endianity | ||
) | [private] |
virtual asdm::ByteOrder::~ByteOrder | ( | ) | [private, virtual] |
asdm::ByteOrder::ByteOrder | ( | const std::string & | name, |
int | endianity | ||
) | [private] |
virtual asdm::ByteOrder::~ByteOrder | ( | ) | [private, virtual] |
static const ByteOrder* asdm::ByteOrder::fromString | ( | const std::string & | s | ) | [static] |
Convert a string to a const ByteOrder*.
s | the input string. |
Referenced by asdm::TableStreamReader< T, R >::open().
static const ByteOrder* asdm::ByteOrder::fromString | ( | const std::string & | s | ) | [static] |
Convert a string to a const ByteOrder*.
s | the input string. |
static const ByteOrder* asdm::ByteOrder::machineEndianity | ( | ) | [static, private] |
static const ByteOrder* asdm::ByteOrder::machineEndianity | ( | ) | [static, private] |
std::string asdm::ByteOrder::toString | ( | ) | const |
Returns a string representation of this.
std::string asdm::ByteOrder::toString | ( | ) | const |
Returns a string representation of this.
static const ByteOrder * asdm::ByteOrder::Big_Endian [static] |
Definition at line 109 of file Misc.h.
Referenced by asdm::TableStreamReader< T, R >::open().
int asdm::ByteOrder::endianity_ [private] |
static const ByteOrder * asdm::ByteOrder::Little_Endian [static] |
static const ByteOrder * asdm::ByteOrder::Machine_Endianity [static] |
std::string asdm::ByteOrder::name_ [private] |