#include <typemodel.hh>
Public Member Functions | |
Field (const std::string &name, Type const &base_type) | |
Field (const std::string &name, Type const &base_type) | |
std::string | getName () const |
std::string | getName () const |
size_t | getOffset () const |
size_t | getOffset () const |
const Type & | getType () const |
const Type & | getType () const |
bool | operator== (Field const &field) const |
bool | operator== (Field const &field) const |
Protected Member Functions | |
void | setOffset (size_t offset) |
void | setOffset (size_t offset) |
Private Attributes | |
std::string | m_name |
size_t | m_offset |
const Type & | m_type |
Friends | |
class | Compound |
A field in a Compound type
Definition at line 292 of file install/include/typelib/typemodel.hh.
Typelib::Field::Field | ( | const std::string & | name, | |
Type const & | base_type | |||
) |
Definition at line 526 of file typemodel.cc.
Typelib::Field::Field | ( | const std::string & | name, | |
Type const & | base_type | |||
) |
std::string Typelib::Field::getName | ( | ) | const |
The field name
std::string Typelib::Field::getName | ( | ) | const |
The field name
Definition at line 529 of file typemodel.cc.
size_t Typelib::Field::getOffset | ( | ) | const |
The offset, in bytes, of this field w.r.t. the begginning of the parent value
size_t Typelib::Field::getOffset | ( | ) | const |
The offset, in bytes, of this field w.r.t. the begginning of the parent value
Definition at line 531 of file typemodel.cc.
const Type& Typelib::Field::getType | ( | ) | const |
The field type
Type const & Typelib::Field::getType | ( | ) | const |
The field type
Definition at line 530 of file typemodel.cc.
bool Typelib::Field::operator== | ( | Field const & | field | ) | const |
bool Typelib::Field::operator== | ( | Field const & | field | ) | const |
Definition at line 533 of file typemodel.cc.
void Typelib::Field::setOffset | ( | size_t | offset | ) | [protected] |
void Typelib::Field::setOffset | ( | size_t | offset | ) | [protected] |
Definition at line 532 of file typemodel.cc.
Compound [friend] |
Definition at line 294 of file install/include/typelib/typemodel.hh.
std::string Typelib::Field::m_name [private] |
Definition at line 296 of file install/include/typelib/typemodel.hh.
size_t Typelib::Field::m_offset [private] |
Definition at line 298 of file install/include/typelib/typemodel.hh.
const Type & Typelib::Field::m_type [private] |
Definition at line 297 of file install/include/typelib/typemodel.hh.