#include <stilblock.h>
Inheritance diagram for STILBlock:
Public Types | |
typedef STILBlockIterator | Iterator |
typedef STILBlockConstIterator | ConstIterator |
Public Member Functions | |
STILBlock () | |
STILBlock (Type) | |
STILBlock (const STILBlock &) | |
virtual | ~STILBlock () |
STILBlock & | operator= (const STILBlock &) |
bool | operator== (const STILBlock &) const |
bool | operator< (const STILBlock &) const |
void | init (Type t) |
void | clear () |
virtual void | write (FILE *pOutFile, LONG indentation=0) const |
Iterator | iterator () |
ConstIterator | constIterator () const |
void | addUserKeywords (const sstring &keyword, const sstring &label="", LONG linenumber=0, const sstring &filename="") |
void | addAnn (const sstring &ann, LONG linenumber=0, const sstring &filename="") |
void | addEntity (STILEntity &) |
void | addEntity (Type t, const sstring &name, const sstring &value, const sstring &label="", LONG linenumber=0, const sstring &filename="") |
void | addUserStatement (const sstring &keyword, const sstring &value, const sstring &label="", LONG linenumber=0, const sstring &filename="") |
void | addUserBlock (const sstring &keyword, const sstring &value, const sstring &label="", LONG linenumber=0, const sstring &filename="") |
Protected Attributes | |
std::list< STILEntity * > | m_entityList |
std::list< STILEntity > | m_simpleEntityList |
std::list< STILEntity > | m_badCopyEntityList |
Friends | |
class | STILBlockIterator |
class | STILBlockConstIterator |
The base class from which all STIL block ({...}) type objects.
Provides common features of any STIL blocks like storing any user defined statements as well as STIL annotations. Also, to allow for preserving the ordering statements, annotations, & other blocks, this class maintains a list of pointers to STILEntity objects which is populated during reading or creation of the associated STIL block and then used during writing of the STIL block to output the entities in the order specified during processing.
|
|
|
|
|
|
|
Constructor a STILBlock object from another STILBlock.
|
|
Constructor a STILBlock object from another STILBlock.
|
|
Destructor for a STILBlock object.
|
|
Add an annotation to this block object.
|
|
Add a "simple" entity (for UserStatements, Ann, ...).
|
|
Add an existing entity to the entity list.
|
|
Add a UserBlock to this block object.
|
|
Add a UserKeyword to this block object.
|
|
Add a UserStatement to this block object.
|
|
Clear out all underlying lists.
Reimplemented in STILPatternBlock. |
|
Get a const iterator which will iterate over items in this object.
|
|
Initialize/reset the STILBlock object.
Reimplemented from STILEntity. |
|
Get an iterator which will iterate over items in this block object.
|
|
Less Than operator.
|
|
Assignment operator for a STILBlock object.
|
|
Equality operator.
|
|
Write the STILBlock object to a FILE.
Reimplemented from STILEntity. Reimplemented in STILCall, STILCategory, STILCondition, STILFixed, STILHeader, STILHistory, STILLoop, STILMacro, STILMacroDef, STILMacroDefs, STILPatList, STILPattern, STILPatternBurst, STILPatternBurstBlock, STILPatternExec, STILProcedure, STILProcedures, STILScanChain, STILScanStructures, STILSelector, STILShift, STILSignal, STILSignalGroup, STILSignalGroups, STILSignals, STILSpec, STILSubWaveform, STILSubWaveforms, STILTerminations, STILTiming, STILVariable, STILVector, STILVectorBlock, STILVectorItem, STILWaveform, STILWaveformItem, STILWaveforms, and STILWaveformTable. |
|
|
|
|
|
|
|
|
|
|