28 #ifndef OST_INFO_GROUP_H
29 #define OST_INFO_GROUP_H
38 namespace ost {
namespace info {
49 void SetName(
const String& name);
63 bool HasGroup(
const InfoPath& name,
bool use_defaults=
true)
const;
72 bool HasItem(
const InfoPath& path,
bool use_defaults=
true)
const;
75 void Remove(
const InfoPath& path,
bool use_defaults=
false);
82 void SetAttribute(
const String& name,
const String& value);
84 bool HasAttribute(
const String& name)
const;
86 void RemoveAttribute(
const String& name);
88 std::vector<String> GetAttributeList()
const;
90 String GetTextData()
const;
91 void SetTextData(
const String& td);
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);
pointer_it< T > end(const std::vector< T > &values)
bool DLLEXPORT_OST_GEOM operator==(const Line2 &l1, const Line2 &l2)
std::vector< InfoGroup > InfoGroupList
DLLEXPORT_OST_IMG_BASE bool operator!=(const ImageHandle &lhs, const ConstImageHandle &rhs)
Three dimensional vector class, using Real precision.
boost::shared_ptr< detail::EleImpl > ElePtr
std::vector< InfoItem > InfoItemList
encapsulates path to info groups and items