1 #ifndef __DESCRIPTION__
2 #define __DESCRIPTION__
20 void extractMetadata(
const string& fulllabel,
string& label, map<
string, set<string> >& metadata);
54 fActiveWidgetCount(0),
55 fPassiveWidgetCount(0)
69 void print(
int n, ostream& fout);
73 void addGroup(
int level,
Tree t);
76 void tab (
int n, ostream& fout);
79 void addLayoutLine(
int n,
const string& l) { fLayoutTabs.push_back(n); fLayoutLines.push_back(l);}
Description * name(const string &s)
Description * className(const string &s)
Description * author(const string &s)
Description * copyright(const string &s)
void tab(int n, ostream &fout)
void extractMetadata(const string &fulllabel, string &label, map< string, set< string > > &metadata)
Extracts metdata from a label : 'vol [unit: dB]' -> 'vol' + metadata.
list< string > fLayoutLines
list< string > fActiveLines
void addActiveLine(const string &l)
A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches.
string extractName(Tree fulllabel)
Description * inputs(int n)
Description * outputs(int n)
Description * license(const string &s)
Description * version(const string &s)
list< string > fPassiveLines
void addPassiveLine(const string &l)
void addLayoutLine(int n, const string &l)
void print(Tree t, FILE *out)