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


Public Member Functions | |
| property () | |
| property (const char *keyname) | |
| void | set (Tree t, const P &data) |
| bool | get (Tree t, P &data) |
| void | clear (Tree t) |
Private Member Functions | |
| P * | access (Tree t) |
Private Attributes | |
| Tree | fKey |
Definition at line 6 of file property.hh.
Definition at line 20 of file property.hh.
Definition at line 10 of file property.hh.
Referenced by property< Loop * >::clear(), property< Loop * >::get(), and property< Loop * >::set().
{
Tree d = t->getProperty(fKey);
return d ? (P*)(d->node().getPointer()) : 0;
}

Definition at line 43 of file property.hh.
{
P* p = access(t);
if (p) { delete p; }
t->clearProperty(fKey);
}
Definition at line 32 of file property.hh.
Referenced by DocCompiler::getCompiledExpression(), Klass::getLoopProperty(), DocCompiler::getVectorNameProperty(), makeSimpleType(), makeTableType(), and makeTupletType().

Definition at line 22 of file property.hh.
Referenced by makeSimpleType(), makeTableType(), makeTupletType(), DocCompiler::setCompiledExpression(), Klass::setLoopProperty(), and DocCompiler::setVectorNameProperty().

Definition at line 8 of file property.hh.
Referenced by property< Loop * >::access(), property< Loop * >::clear(), property< Tree >::clear(), property< int >::clear(), property< double >::clear(), property< Tree >::get(), property< int >::get(), property< double >::get(), property< Loop * >::set(), property< Tree >::set(), property< int >::set(), and property< double >::set().
1.8.0