Open Lighting Architecture
|
A descriptor is a group of fields which can't be repeated
Public Member Functions | |
Descriptor (const string &name, const vector< const FieldDescriptor * > &fields) | |
void | Accept (FieldDescriptorVisitor *visitor) const |
Public Member Functions inherited from ola::messaging::FieldDescriptorGroup | |
FieldDescriptorGroup (const string &name, const vector< const FieldDescriptor * > &fields, uint16_t min_blocks, int16_t max_blocks) | |
bool | FixedSize () const |
bool | LimitedSize () const |
unsigned int | MaxSize () const |
unsigned int | FieldCount () const |
bool | FixedBlockSize () const |
unsigned int | BlockSize () const |
unsigned int | MaxBlockSize () const |
uint16_t | MinBlocks () const |
int16_t | MaxBlocks () const |
bool | FixedBlockCount () const |
class FieldDescriptor * | GetField (unsigned int index) const |
Public Member Functions inherited from ola::messaging::FieldDescriptor | |
FieldDescriptor (const string &name) | |
const string & | Name () const |
Additional Inherited Members | |
Static Public Attributes inherited from ola::messaging::FieldDescriptorGroup | |
static const int16_t | UNLIMITED_BLOCKS = -1 |
Protected Attributes inherited from ola::messaging::FieldDescriptorGroup | |
vector< const class FieldDescriptor * > | m_fields |