#include <guido.h>
Inheritance diagram for guidoelement:
Public Member Functions | |
long | add (Sguidoelement &elt) |
long | add (Sguidoparam ¶m) |
long | add (Sguidoparam param) |
void | print (ostream &os) |
void | setName (string name) |
the element name | |
string | getName () const |
string | getStart () const |
string | getEnd () const |
string | getSep () const |
const vector< Sguidoelement > & | elements () const |
const vector< Sguidoparam > & | parameters () const |
bool | empty () const |
virtual void | accept (guidovisitor &visitor) |
Protected Member Functions | |
guidoelement (string name, string sep="") | |
Protected Attributes | |
string | fName |
string | fStartList |
the contained element start marker (default to empty) | |
string | fEndList |
the contained element end marker (default to empty) | |
string | fSep |
the element separator (default to space) | |
vector< Sguidoelement > | fElements |
list of the enclosed elements | |
vector< Sguidoparam > | fParams |
list of optional parameters | |
Friends | |
VEXP friend SMARTP< guidoelement > | new_guidoelement (string name, string sep="") |