|
FAUST compiler
0.9.9.6b8
|
#include <property.hh>

Public Member Functions | |
| property () | |
| property (const char *keyname) | |
| void | set (Tree t, int i) |
| bool | get (Tree t, int &i) |
| void | clear (Tree t) |
Private Attributes | |
| Tree | fKey |
Definition at line 85 of file property.hh.
Definition at line 93 of file property.hh.
Definition at line 111 of file property.hh.
References CTree::clearProperty(), and property< P >::fKey.
{
t->clearProperty(fKey);
}

Definition at line 100 of file property.hh.
References property< P >::fKey, Node::getInt(), CTree::getProperty(), and CTree::node().
{
Tree d = t->getProperty(fKey);
if (d) {
i = d->node().getInt();
return true;
} else {
return false;
}
}

Definition at line 95 of file property.hh.
References property< P >::fKey, CTree::setProperty(), and tree().
{
t->setProperty(fKey, tree(Node(i)));
}

Definition at line 87 of file property.hh.
1.8.0