OpenASIP
2.0
|
#include <BasicElement.hh>
Public Member Functions | |
BasicElement () | |
virtual | ~BasicElement () |
void | addByte (const Byte &data) |
Byte | byte (Word index) const |
Word | length () const |
![]() | |
virtual | ~SectionElement () |
![]() | |
virtual | ~SafePointable () |
Private Attributes | |
std::vector< Byte > | bytes_ |
Storage of bytes that element contains. More... | |
Additional Inherited Members | |
![]() | |
SectionElement () | |
![]() | |
SafePointable () | |
Basic element type.
Allows representing data of any element which doesn't have own class for representing it. Can contain any number of bytes inside.
Definition at line 51 of file BasicElement.hh.
TPEF::BasicElement::BasicElement | ( | ) |
|
virtual |
void TPEF::BasicElement::addByte | ( | const Byte & | data | ) |
Byte TPEF::BasicElement::byte | ( | Word | index | ) | const |
Word TPEF::BasicElement::length | ( | ) | const |
|
private |
Storage of bytes that element contains.
Definition at line 64 of file BasicElement.hh.