25 #ifndef LIMAL_NFS_SERVER_NFS_IDMAPD_CONF_HPP
26 #define LIMAL_NFS_SERVER_NFS_IDMAPD_CONF_HPP
29 #include <blocxx/String.hpp>
30 #include <blocxx/Array.hpp>
31 #include <blocxx/List.hpp>
32 #include <blocxx/Map.hpp>
35 namespace LIMAL_NAMESPACE
37 namespace NFS_SERVER_NAMESPACE
72 const blocxx::String &value);
110 setEntry (
const blocxx::String &entry);
113 addComment (
const blocxx::String &comment);
116 hasComments ()
const;
118 blocxx::Array<blocxx::String>
119 getComments ()
const;
130 setName (
const blocxx::String &name);
147 typedef blocxx::IntrusiveReference<IdmapdEntry>
IERef;
168 blocxx::Array<blocxx::String>
169 getStringEntries ()
const;
172 getEntry (
const blocxx::String &name) ;
178 setEntryValue (
const blocxx::String &entry,
179 const blocxx::String &value);
182 addComment (
const blocxx::String &comment);
185 hasComments ()
const;
188 hasEntry (
const blocxx::String &entryName)
const;
190 blocxx::Array<blocxx::String>
191 getComments ()
const;
194 blocxx::List<IdmapdEntry>
206 setEntryMap (
const blocxx::List<IdmapdEntry> &entries);
233 blocxx::List<IdmapdEntry>
234 getEntries (
const blocxx::String §ionName);
236 blocxx::Array<blocxx::String>
237 getStringEntries (
const blocxx::String §ionName);
239 blocxx::Array<blocxx::String>
240 getAllStringEntries ()
const;
243 getSection (
const blocxx::String §ionName);
246 getValueFor (
const blocxx::String &entryName);
249 hasSection (
const blocxx::String &secName)
const;
251 blocxx::List<IdmapdSection>
252 getSections ()
const;
254 blocxx::Map<blocxx::String,IdmapdSection>
255 getSectionMap ()
const;
264 setEntry (
const blocxx::String &entryName,
265 const blocxx::String &value);
268 addComment (
const blocxx::String &comment);
271 hasComments ()
const;
273 blocxx::Array<blocxx::String>
274 getComments ()
const;
298 #endif // LIMAL_NFS_SERVER_NFS_IDMAPD_CONF_HPP