uitree.hh File Reference

#include "tlib.hh"
Include dependency graph for uitree.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Tree uiFolder (Tree label, Tree elements=nil)
Tree uiWidget (Tree label, Tree varname, Tree sig)
bool isUiFolder (Tree t)
bool isUiFolder (Tree t, Tree &label, Tree &elements)
bool isUiWidget (Tree t, Tree &label, Tree &varname, Tree &sig)
Tree uiLabel (Tree t)
Tree putSubFolder (Tree folder, Tree path, Tree item)

Function Documentation

bool isUiFolder ( Tree  t,
Tree label,
Tree elements 
)

Definition at line 137 of file uitree.cpp.

References isTree().

00137 { return isTree(t, UIFOLDER, label, elements);  }

Here is the call graph for this function:

bool isUiFolder ( Tree  t  ) 

Definition at line 136 of file uitree.cpp.

References isTree().

Referenced by Description::addGroup(), addToFolder(), Compiler::generateMacroInterfaceTree(), Compiler::generateUserInterfaceTree(), getFolder(), Compiler::prepareUserInterfaceTree(), putFolder(), and putSubFolder().

00136 { return isTree(t, UIFOLDER);                   }

Here is the call graph for this function:

Here is the caller graph for this function:

bool isUiWidget ( Tree  t,
Tree label,
Tree varname,
Tree sig 
)

Definition at line 141 of file uitree.cpp.

References isTree().

Referenced by Description::addGroup(), Compiler::generateMacroInterfaceTree(), and Compiler::generateUserInterfaceTree().

00141 { return isTree(t, UIWIDGET, label, varname, sig); }

Here is the call graph for this function:

Here is the caller graph for this function:

Tree putSubFolder ( Tree  folder,
Tree  path,
Tree  item 
)

Definition at line 186 of file uitree.cpp.

References addToFolder(), getFolder(), hd(), isNil(), isUiFolder(), makeSubFolderChain(), putFolder(), putSubFolder(), and tl().

Referenced by Compiler::addUIWidget(), and putSubFolder().

00187 {
00188     if (isNil(path)) {
00189         //return putFolder(folder, item);
00190         return addToFolder(folder, item);
00191     } else {
00192         Tree subfolder = getFolder(folder, hd(path));
00193         if (isUiFolder(subfolder)) {
00194             return putFolder(folder, putSubFolder(subfolder, tl(path), item));
00195         } else {
00196             return putFolder(folder, makeSubFolderChain(path, item));
00197         }
00198     }
00199 }

Here is the call graph for this function:

Here is the caller graph for this function:

Tree uiFolder ( Tree  label,
Tree  elements = nil 
)

Definition at line 135 of file uitree.cpp.

References tree().

Referenced by addToFolder(), makeSubFolderChain(), and putFolder().

00135 { return tree(UIFOLDER, label, elements);       }

Here is the call graph for this function:

Here is the caller graph for this function:

Tree uiLabel ( Tree  t  )  [inline]

Definition at line 38 of file uitree.hh.

References CTree::branch().

Referenced by addToFolder(), and putFolder().

00038 { return t->branch(0); }

Here is the call graph for this function:

Here is the caller graph for this function:

Tree uiWidget ( Tree  label,
Tree  varname,
Tree  sig 
)

Definition at line 140 of file uitree.cpp.

References tree().

Referenced by ScalarCompiler::generateButton(), ScalarCompiler::generateCheckbox(), ScalarCompiler::generateHBargraph(), ScalarCompiler::generateHSlider(), ScalarCompiler::generateNumEntry(), ScalarCompiler::generateVBargraph(), and ScalarCompiler::generateVSlider().

00140 { return tree(UIWIDGET, label, varname, sig); }

Here is the call graph for this function:

Here is the caller graph for this function:

Generated on Thu Jul 15 15:47:28 2010 for FAUST compiler by  doxygen 1.6.3