#include <valuenode.h>
Public Member Functions | |
ValueNodeList () | |
ValueNode::Handle | find (const String &name) |
Finds the ValueNode in the list with the given name. | |
ValueNode::ConstHandle | find (const String &name) const |
Finds the ValueNode in the list with the given name. | |
bool | erase (ValueNode::Handle value_node) |
Removes the value_node from the list. | |
bool | add (ValueNode::Handle value_node) |
bool | count (const String &id) const |
ValueNode::Handle | surefind (const String &name) |
Similar to find, but will create a placeholder value_node if it cannot be found. | |
void | audit () |
Removes any value_nodes with reference counts of 1. | |
int | placeholder_count () const |
Placeholder Count. |
ValueNodeList::ValueNodeList | ( | ) |
ValueNode::Handle ValueNodeList::find | ( | const String & | name | ) |
Finds the ValueNode in the list with the given name.
Referenced by add(), synfig::Canvas::add_value_node(), synfig::Canvas::find_value_node(), and surefind().
ValueNode::ConstHandle ValueNodeList::find | ( | const String & | name | ) | const |
bool ValueNodeList::erase | ( | ValueNode::Handle | value_node | ) |
bool ValueNodeList::add | ( | ValueNode::Handle | value_node | ) |
References find().
Referenced by synfig::Canvas::add_value_node().
ValueNode::Handle ValueNodeList::surefind | ( | const String & | name | ) |
Similar to find, but will create a placeholder value_node if it cannot be found.
References synfig::PlaceholderValueNode::create(), and find().
Referenced by synfig::Canvas::surefind_value_node().
void ValueNodeList::audit | ( | ) |
Removes any value_nodes with reference counts of 1.
int synfig::ValueNodeList::placeholder_count | ( | ) | const [inline] |
Placeholder Count.