Add convenience method for tiedPropertyLists
This commit is contained in:
parent
e8c2483432
commit
27131b43cb
@ -130,6 +130,12 @@ public:
|
|||||||
pop_back();
|
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:
|
private:
|
||||||
SGPropertyNode_ptr _root;
|
SGPropertyNode_ptr _root;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user