#include <element.h>
Inheritance diagram for Element:

Public Methods | |
| Element (const char *name) | |
| virtual int | AssignPos (int currPos)=0 |
| Assign position to this element Return next pos. More... | |
| int | GetLength () const |
| virtual void | Output (ostream &out, Element *sel)=0 |
Protected Attributes | |
| std::string | name |
| int | position |
| int | len |
|
|
Definition at line 28 of file element.h.
|
|
|
Assign position to this element Return next pos.
Implemented in ComplexElement, DefinedElement, SimpleElement, and PaddingElement. |
|
|
Definition at line 20 of file element.h. References len. Referenced by DefinedElement::AssignPos().
00020 { return len; }
|
|
||||||||||||
|
Implemented in ComplexElement, DefinedElement, SimpleElement, and PaddingElement. |
|
|
Definition at line 25 of file element.h. Referenced by PaddingElement::AssignPos(), SimpleElement::AssignPos(), DefinedElement::AssignPos(), ComplexElement::AssignPos(), GetLength(), PaddingElement::Output(), SimpleElement::Output(), DefinedElement::Output(), and ComplexElement::Output(). |
|
|
Definition at line 23 of file element.h. Referenced by ComplexElement::ComplexElement(), ComplexElement::Find(), PaddingElement::Output(), SimpleElement::Output(), DefinedElement::Output(), ComplexElement::Output(), and ComplexElement::~ComplexElement(). |
|
|
Definition at line 24 of file element.h. Referenced by PaddingElement::AssignPos(), SimpleElement::AssignPos(), DefinedElement::AssignPos(), ComplexElement::AssignPos(), PaddingElement::Output(), SimpleElement::Output(), DefinedElement::Output(), and ComplexElement::Output(). |
1.2.15