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);