#include <bit/fieldvector.h>
Inheritance diagram for bit::FieldVector::Element:
Public Types | |
typedef boost::shared_ptr< Element > | pointer |
Public Member Functions | |
virtual size_t | length () const |
virtual size_t | length (size_t units) const |
virtual size_t | length_units () const |
virtual int | offset () const |
virtual int | offset (size_t units) const |
virtual size_t | offset_units () const |
The offset units of an element are always specified in the length units of elements. | |
virtual std::string | name () const |
Returns the string name associated with this object. | |
virtual std::string | name (int depth) const |
virtual std::string | description () const |
Returns the string description of this object. | |
size_t | index () const |
virtual FieldBase::pointer | clone () |
Protected Member Functions | |
Element (size_t index) | |
Static Protected Member Functions | |
static Element::pointer | create (size_t index) |
Protected Attributes | |
size_t | m_index |
Friends | |
class | FieldVector |
|
Implements bit::FieldBase. |
|
Implements bit::FieldBase. |
|
Returns the string name associated with this object. This pure virtual method is reimplemented by children to provide the proper notation, such as the array notation of elements, by children. Implements bit::FieldBase. |
|
Implements bit::FieldBase. |
|
The offset units of an element are always specified in the length units of elements. In this way the offset is always specified as a multiple of length. Implements bit::FieldBase. |