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);
101 bool operator!=(
const InfoGroup& ref)
const;
106 bool do_group_lookup(std::vector<String>::const_iterator& pos,
107 const std::vector<String>::const_iterator&
end,
109 bool do_group_lookup(std::vector<String>::const_iterator& pos,
110 const std::vector<String>::const_iterator&
end,
114 std::vector<String>::const_iterator& pos,
115 const std::vector<String>::const_iterator&
end);