Main Page | Modules | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | Related Pages

guidoelement Class Reference
[Guido]

A generic guido element representation. More...

#include <guido.h>

Inheritance diagram for guidoelement:

smartable guidovisitable guidochord guidonote guidoseq guidotag List of all members.

Public Member Functions

long add (Sguidoelement &elt)
long add (Sguidoparam &param)
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< SguidoelementfElements
 list of the enclosed elements

vector< SguidoparamfParams
 list of optional parameters


Friends

VEXP friend SMARTP< guidoelementnew_guidoelement (string name, string sep="")

Detailed Description

An element is represented by its name and the list of its enclosed elements plus optional parameters.


Generated on Tue Mar 23 09:49:46 2004 for LibMusicXML by doxygen 1.3.3