Add convenience method for tiedPropertyLists
This commit is contained in:
@@ -130,6 +130,12 @@ public:
|
||||
pop_back();
|
||||
}
|
||||
}
|
||||
|
||||
void setAttribute (SGPropertyNode::Attribute attr, bool state)
|
||||
{
|
||||
for (std::vector<SGPropertyNode_ptr>::iterator it=begin() ; it < end(); it++ )
|
||||
(*it)->setAttribute(attr, state);
|
||||
}
|
||||
private:
|
||||
SGPropertyNode_ptr _root;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user