Switch to unified view

a/src/query/dynconf.h b/src/query/dynconf.h
...
...
47
#include "base64.h"
47
#include "base64.h"
48
48
49
/** Interface for a stored object. */
49
/** Interface for a stored object. */
50
class DynConfEntry {
50
class DynConfEntry {
51
 public:
51
 public:
52
    virtual ~DynConfEntry() {}
52
    /** Decode object-as-string coming out from storage */
53
    /** Decode object-as-string coming out from storage */
53
    virtual bool decode(const std::string &value) = 0;
54
    virtual bool decode(const std::string &value) = 0;
54
    /** Encode object state into state for storing */
55
    /** Encode object state into state for storing */
55
    virtual bool encode(std::string& value) = 0;
56
    virtual bool encode(std::string& value) = 0;
56
    /** Compare objects */
57
    /** Compare objects */
...
...
61
class RclSListEntry : public DynConfEntry {
62
class RclSListEntry : public DynConfEntry {
62
 public:
63
 public:
63
    RclSListEntry() 
64
    RclSListEntry() 
64
    {
65
    {
65
    }
66
    }
67
    virtual ~RclSListEntry() {}
66
    RclSListEntry(const std::string& v) 
68
    RclSListEntry(const std::string& v) 
67
    : value(v) 
69
    : value(v) 
68
    {
70
    {
69
    }
71
    }
70
    virtual bool decode(const std::string &enc)
72
    virtual bool decode(const std::string &enc)