28 #ifndef OST_INFO_GROUP_H
29 #define OST_INFO_GROUP_H
38 namespace ost {
namespace info {
110 bool do_group_lookup(std::vector<String>::const_iterator& pos,
111 const std::vector<String>::const_iterator&
end,
113 bool do_group_lookup(std::vector<String>::const_iterator& pos,
114 const std::vector<String>::const_iterator&
end,
118 std::vector<String>::const_iterator& pos,
119 const std::vector<String>::const_iterator&
end);
Three dimensional vector class, using Real precision.
void Remove(const InfoGroup &group)
String GetTextData() const
bool HasAttribute(const String &name) const
returns true if attribute of this names exists
std::vector< String > GetAttributeList() const
String GetName() const
retrieve name
bool HasGroup(const InfoPath &name, bool use_defaults=true) const
InfoGroup GetGroup(const InfoPath &path, bool use_defaults=true) const
InfoItem CreateItem(const String &name, bool value)
bool HasItem(const InfoPath &path, bool use_defaults=true) const
InfoGroup RetrieveGroup(const InfoPath &path, bool use_defaults=true)
String GetComment() const
get comment just above item
void SetTextData(const String &td)
void RemoveAttribute(const String &name)
remove attribute of given name
bool operator!=(const InfoGroup &ref) const
InfoGroup GetParent() const
retrieve parent group
InfoItem CreateItem(const String &name, Real value)
void Remove(const InfoPath &path, bool use_defaults=false)
bool operator==(const InfoGroup &ref) const
void Apply(InfoVisitor &v, bool visit_this=true)
Apply visitor.
InfoGroupList GetGroups(const InfoPath &path) const
String GetAttribute(const String &name) const
return attribute of given name
InfoPath GetPath() const
retrieve path
void Apply(InfoConstVisitor &v, bool visit_this=true) const
InfoItem GetItem(const InfoPath &path, bool use_defaults=true) const
InfoGroup CreateGroup(const String &name)
void SetName(const String &name)
set name
void SetAttribute(const String &name, const String &value)
set attribute of given name, will be created if it does not yet exist
InfoItemList GetItems(const InfoPath &path) const
InfoItem CreateItem(const String &name, const String &value)
InfoItem CreateItem(const String &name, const geom::Vec3 &vector)
InfoItem CreateItem(const String &name, int value)
InfoItem RetrieveItem(const InfoPath &path, bool use_defaults=true)
encapsulates path to info groups and items
std::vector< InfoGroup > InfoGroupList
boost::shared_ptr< detail::EleImpl > ElePtr
std::vector< InfoItem > InfoItemList
pointer_it< T > end(const std::vector< T > &values)