#include <PointData.h>
Public Member Functions | |
~ChannelInfo (void) | |
ChannelInfo (void) | |
void | init (const char *name, DataType datatype, int bits) |
void | init (const ChannelInfo &info) |
const char * | getName (void) const |
Get the name. | |
DataType | getDataType (void) const |
Get the data type. | |
size_t | getBits (void) const |
Get the bit precision. | |
bool | operator== (const ChannelInfo &rhs) const |
bool | operator!= (const ChannelInfo &rhs) const |
Protected Attributes | |
char * | m_name |
DataType | m_datatype |
int | m_bits |
Definition at line 121 of file PointData.h.
ChannelInfo::~ChannelInfo | ( | void | ) |
ChannelInfo::ChannelInfo | ( | void | ) |
void ChannelInfo::init | ( | const char * | name, | |
DataType | datatype, | |||
int | bits | |||
) |
void ChannelInfo::init | ( | const ChannelInfo & | info | ) |
const char* ChannelInfo::getName | ( | void | ) | const |
This method returns the channels name.
DataType ChannelInfo::getDataType | ( | void | ) | const |
This method returns the channels data type.
size_t ChannelInfo::getBits | ( | void | ) | const |
This functon returns the number of bits used in the data type. For floating point data types this value it the number of bits needed after its been quantized.
bool ChannelInfo::operator== | ( | const ChannelInfo & | rhs | ) | const |
Referenced by operator!=().
bool ChannelInfo::operator!= | ( | const ChannelInfo & | rhs | ) | const [inline] |
char* ChannelInfo::m_name [protected] |
Definition at line 158 of file PointData.h.
DataType ChannelInfo::m_datatype [protected] |
Definition at line 159 of file PointData.h.
int ChannelInfo::m_bits [protected] |
Definition at line 160 of file PointData.h.
LizardTech |