Expose underlying node pointer from ikv::Value wrapper
This commit is contained in:
@@ -116,6 +116,8 @@ public:
|
|||||||
double asDouble() const;
|
double asDouble() const;
|
||||||
bool asBool() const;
|
bool asBool() const;
|
||||||
|
|
||||||
|
ikv_node_t* get_node() const { return node_; }
|
||||||
|
|
||||||
/// Writes text or binary output, using iKv2 unless a version is specified.
|
/// Writes text or binary output, using iKv2 unless a version is specified.
|
||||||
void write(const std::string& path, Version version = Version::v2) const;
|
void write(const std::string& path, Version version = Version::v2) const;
|
||||||
void writeBinary(const std::string& path, Version version = Version::v2) const;
|
void writeBinary(const std::string& path, Version version = Version::v2) const;
|
||||||
|
|||||||
Reference in New Issue
Block a user