10 #ifndef GUARD_PERST_H_INCLUDE
11 #define GUARD_PERST_H_INCLUDE
13 #include <perst/perst-config.h>
14 #include <perst/perst_interface.h>
39 const PERST_STRING & name,
44 kbForEach group_start_;
46 kbForEach array_start_;
76 return current_group_name_;
82 return current_group_path_;
89 setArrayIndexInternal (
93 bool endArrayInternal (
94 const PERST_STRING & name);
99 const PERST_STRING & name);
104 const PERST_STRING &name =
"");
109 const PERST_STRING & name);
114 const PERST_STRING & value) {
119 PERST_STRING location_;
121 PERST_SLIST current_group_path_;
123 PERST_STRING current_group_name_;
125 std::list<int> array_indices_;
128 #endif // GUARD_PERST_H_INCLUDE
PERST_SLIST groupPath() const
Tell the full path of current group (arrays are also groups).
Definition: perst.h:81
PERST_STRING group() const
Tell the name of current group (arrays are also groups).
Definition: perst.h:75
int arrayIndex() const
Get current index of an array.
Definition: perst.h:69
Interface class for persistent storage.
Definition: perst_interface.h:17
Structure used for iterating the whole tree.
Definition: perst.h:43
KbForEachResult
Values that the kbForEach can return.
Definition: perst.h:30
EntryType
Indicate the type of an entry.
Definition: perst.h:23
Interface class for persistent storage.
Definition: perst.h:17
virtual PERST_STRING location()
Storage location.
Definition: perst.h:63
virtual void setLocation(const PERST_STRING &value)
Storage location.
Definition: perst.h:113