48 virtual bool addChild(
Node *child );
50 virtual bool addChild(
Node *child,
bool value );
52 virtual bool insertChild(
unsigned int index,
Node *child );
54 virtual bool insertChild(
unsigned int index,
Node *child,
bool value );
56 virtual bool removeChildren(
unsigned int pos,
unsigned int numChildrenToRemove);
59 void setValue(
unsigned int pos,
bool value);
61 bool getValue(
unsigned int pos)
const;
63 void setChildValue(
const Node* child,
bool value);
65 bool getChildValue(
const Node* child)
const;
69 bool setAllChildrenOff();
73 bool setAllChildrenOn();
76 bool setSingleChildOn(
unsigned int pos);
std::vector< bool > ValueList
void setNewChildDefaultValue(bool value)
virtual const Switch * asSwitch() const
#define META_Node(library, name)
bool _newChildDefaultValue
void setValueList(const ValueList &values)
const ValueList & getValueList() const
virtual Switch * asSwitch()
bool getNewChildDefaultValue() const