|
long | add (Sguidoelement &elt) |
long | add (Sguidoparam ¶m) |
long | add (Sguidoparam param) |
virtual void | print (std::ostream &os) const |
void | setName (std::string name) |
| the element name
|
std::string | getName () const |
std::string | getStart () const |
std::string | getEnd () const |
std::string | getSep () const |
void | setEnd (std::string end) |
std::vector< Sguidoelement > & | elements () |
const std::vector< Sguidoelement > & | elements () const |
const std::vector< Sguidoparam > & | parameters () const |
bool | empty () const |
virtual bool | isSeq () const |
virtual bool | isChord () const |
virtual bool | isTag () const |
virtual bool | isNote () const |
virtual bool | isRangeTag () const |
virtual bool | isBeginTag () const |
virtual bool | isEndTag () const |
int | countNotes () const |
const bool | getNext (Sguidoelement &i, Sguidoelement &next_e) const |
| Get next subelement.
|
const bool | getPrev (Sguidoelement &i, Sguidoelement &next_e) const |
unsigned | refs () const |
| gives the reference count of the object
|
void | addReference () |
| addReference increments the ref count and checks for refCount overflow
|
void | removeReference () |
| removeReference delete the object when refCount is zero
|
An element is represented by its name and the list of its enclosed elements plus optional parameters.