#include <ParameterTree.h>
Inheritance diagram for dtpf::ParameterTree:

ParameterTree provides hierarchial organization of ParameterGroupss and Parameters for use by DTPF Nodes and client applications.
A ParameterTree can contain Parameters and other ParameterGroups.
Public Member Functions | |
| ParameterTree () | |
Create an empty, unnamed ParameterTree. | |
| ParameterTree (const muscle::String &name) | |
Create an empty, named ParameterTree. | |
| ParameterTree (const ParameterTree &that) | |
Create a deep copy of an existing ParameterTree, recursively including all children. | |
| virtual | ~ParameterTree () |
Delete a ParameterTree and any memory it owns. | |
| ParameterTree & | operator= (const ParameterTree &that) |
Assign a ParameterTree from another. | |
| bool | operator== (const ParameterTree &that) const |
Compare against another ParameterTree for equality. | |
| bool | operator!= (const ParameterTree &that) const |
Compare against another ParameterTree for inequality. | |
| status_t | AddChild (ParameterGroup *child) |
Add a child ParameterGroup. | |
| ParameterGroup * | RemoveChild (ParameterGroup *child) |
Remove a child from a ParameterTree. | |
| ParameterGroup * | RemoveChild (const muscle::String &childName) |
Remove a child from a ParameterTree by name. | |
| bool | HasChild (ParameterGroup *child) const |
Find out if a ParameterGroup is the child of an ParameterTree. | |
| bool | HasChild (const muscle::String &childName) const |
Find out if a ParameterTree contains a child with the given name. | |
| ParameterGroup * | GetChild (const muscle::String &childName) const |
Retrieve a child ParameterGroup. | |
| const muscle::List< ParameterGroup * > & | GetChildren () const |
Retrieve a list of a ParameterTree's children. | |
| uint32 | CountChildren () const |
Get the number of child ParameterGroups a ParameterTree contains. | |
| status_t | ParameterChanged (ParameterTree *updateTree) |
| Update parameters when they are changed to reflect the current state. | |
| virtual uint32 | TypeCode () const |
Get a type code identifying the ParameterTree class. | |
| virtual uint32 | FlattenedSize () const |
Returns the number of bytes needed to store a ParameterTree object in its current state. | |
| virtual void | Flatten (uint8 *buffer) const |
Write a ParameterTree's state to a byte array. | |
| virtual status_t | Unflatten (const uint8 *buffer, uint32 size) |
Set a ParameterTree's state from a byte buffer. | |
|
|
Create an empty, unnamed A name must be given to the tree before it can be used. |
|
|
Create an empty, named
|
|
|
Create a deep copy of an existing
|
|
|
Delete a
|
|
|
Add a child
If addition is successful, the
|
|
|
Get the number of child
|
|
|
Write a
Reimplemented from dtpf::ParameterGroup. |
|
|
Returns the number of bytes needed to store a
Reimplemented from dtpf::ParameterGroup. |
|
|
Retrieve a child
The
|
|
|
Retrieve a list of a If this group has no children the returned list will be empty.
|
|
|
Find out if a
|
|
|
Find out if a
|
|
|
Compare against another
This is the logical negation of the
|
|
|
Assign a
Copies will recursively be made of all children in the parameter tree rooted at the copied
|
|
|
Compare against another
Two
|
|
|
Update parameters when they are changed to reflect the current state.
|
|
|
Remove a child from a After removal the caller gains ownership of the child.
|
|
|
Remove a child from a After removal the caller gains ownership of the child.
|
|
|
Get a type code identifying the
Reimplemented from dtpf::ParameterGroup. |
|
||||||||||||
|
Set a
Reimplemented from dtpf::ParameterGroup. |
1.3.9.1