cvedia::rt::CVDictRootImpl¶
Inherits from CVDictRoot
Public Functions¶
| Name | |
|---|---|
| CVDictRootImpl(CVDictImpl & parent, pCValue cvDict) | |
| virtual NODISCARD expected< void > | loadJsonFromDisk(std::string const & jsonFile) override |
| virtual NODISCARD expected< void > | loadFromJsonString(std::string const & jsonString) override |
| virtual NODISCARD expected< void > | saveToDiskAsJson(std::string const & path) const override |
| virtual NODISCARD std::string | asJsonString(int indent =0) const override |
| virtual NODISCARD pCValue | getCopyOfNode() const override |
| virtual NODISCARD pCValue | getCopyOfNode(std::string const & nodePath) const override |
| virtual NODISCARD expected< pCValue > | getCopyOfNodeIfSet(std::string const & nodePath) const override |
| virtual NODISCARD pCValue | getNodeUnsafe() const override |
| virtual NODISCARD pCValue | getNodeUnsafe(std::string const & nodePath) const override |
| virtual NODISCARD expected< pCValue > | getNodeIfSetUnsafe(std::string const & nodePath) const override |
| virtual NODISCARD bool | isNodeSet(std::string const & nodePath) const override |
| virtual expected< void > | setNode(std::string const & nodePath, CValue const & cval) override |
| virtual bool | deleteNode(std::string const & nodePath) override |
| virtual void | merge(pCValue const & other, bool refSourceIsSelf) override |
| virtual NODISCARD expected< void > | mergeAt(std::string const & path, pCValue const & other, bool refSourceIsSelf) override |
| virtual void | override(pCValue const & other) override |
| virtual NODISCARD expected< void > | overrideAt(std::string const & path, pCValue const & other) override |
| virtual std::vector< std::string > | getKeys() const override |
| virtual bool | setValue(std::string const & path, bool x) override |
| virtual bool | setValue(std::string const & path, int x) override |
| virtual bool | setValue(std::string const & path, float x) override |
| virtual bool | setValue(std::string const & path, double x) override |
| virtual bool | setValue(std::string const & path, std::string const & x) override |
| virtual bool | setValue(std::string const & path, char *const & x) override |
| virtual bool | setValue(std::string const & path, Rect2f const & x) override |
| virtual bool | setValue(std::string const & path, cbuffer const & x) override |
| virtual bool | setValue(std::string const & path, std::vector< float > const & x) override |
| virtual bool | setValue(std::string const & path, CValue const & x) override |
| virtual bool | setValue(std::string const & path, cvec const & x) override |
| virtual bool | setValue(std::string const & path, cmap const & x) override |
| virtual NODISCARD std::shared_lock< shared_mutex_class > | getReadLock() const override |
| virtual NODISCARD std::unique_lock< shared_mutex_class > | getWriteLock() const override |
| virtual NODISCARD std::shared_lock< shared_mutex_class > | getReadLockAdopt() const override |
| virtual NODISCARD std::unique_lock< shared_mutex_class > | getWriteLockAdopt() const override |
| virtual NODISCARD std::shared_lock< shared_mutex_class > | getReadLockDefer() const override |
| virtual NODISCARD std::unique_lock< shared_mutex_class > | getWriteLockDefer() const override |
| virtual NODISCARD shared_mutex_class & | getMutex() const override |
Friends¶
| Name | |
|---|---|
| class | CVDictImpl |
Additional inherited members¶
Public Functions inherited from CVDictRoot
| Name | |
|---|---|
| virtual | ~CVDictRoot() =default |
Public Functions Documentation¶
function CVDictRootImpl¶
CVDictRootImpl(
CVDictImpl & parent,
pCValue cvDict
)
function loadJsonFromDisk¶
virtual NODISCARD expected< void > loadJsonFromDisk(
std::string const & jsonFile
) override
Reimplements: cvedia::rt::iface::CVDictRoot::loadJsonFromDisk
function loadFromJsonString¶
virtual NODISCARD expected< void > loadFromJsonString(
std::string const & jsonString
) override
Reimplements: cvedia::rt::iface::CVDictRoot::loadFromJsonString
function saveToDiskAsJson¶
virtual NODISCARD expected< void > saveToDiskAsJson(
std::string const & path
) const override
Reimplements: cvedia::rt::iface::CVDictRoot::saveToDiskAsJson
function asJsonString¶
virtual NODISCARD std::string asJsonString(
int indent =0
) const override
Reimplements: cvedia::rt::iface::CVDictRoot::asJsonString
function getCopyOfNode¶
virtual NODISCARD pCValue getCopyOfNode() const override
Reimplements: cvedia::rt::iface::CVDictRoot::getCopyOfNode
function getCopyOfNode¶
virtual NODISCARD pCValue getCopyOfNode(
std::string const & nodePath
) const override
Reimplements: cvedia::rt::iface::CVDictRoot::getCopyOfNode
function getCopyOfNodeIfSet¶
virtual NODISCARD expected< pCValue > getCopyOfNodeIfSet(
std::string const & nodePath
) const override
Reimplements: cvedia::rt::iface::CVDictRoot::getCopyOfNodeIfSet
function getNodeUnsafe¶
virtual NODISCARD pCValue getNodeUnsafe() const override
Reimplements: cvedia::rt::iface::CVDictRoot::getNodeUnsafe
function getNodeUnsafe¶
virtual NODISCARD pCValue getNodeUnsafe(
std::string const & nodePath
) const override
Reimplements: cvedia::rt::iface::CVDictRoot::getNodeUnsafe
function getNodeIfSetUnsafe¶
virtual NODISCARD expected< pCValue > getNodeIfSetUnsafe(
std::string const & nodePath
) const override
Reimplements: cvedia::rt::iface::CVDictRoot::getNodeIfSetUnsafe
function isNodeSet¶
virtual NODISCARD bool isNodeSet(
std::string const & nodePath
) const override
Reimplements: cvedia::rt::iface::CVDictRoot::isNodeSet
function setNode¶
virtual expected< void > setNode(
std::string const & nodePath,
CValue const & cval
) override
Reimplements: cvedia::rt::iface::CVDictRoot::setNode
function deleteNode¶
virtual bool deleteNode(
std::string const & nodePath
) override
Reimplements: cvedia::rt::iface::CVDictRoot::deleteNode
function merge¶
virtual void merge(
pCValue const & other,
bool refSourceIsSelf
) override
Reimplements: cvedia::rt::iface::CVDictRoot::merge
function mergeAt¶
virtual NODISCARD expected< void > mergeAt(
std::string const & path,
pCValue const & other,
bool refSourceIsSelf
) override
Reimplements: cvedia::rt::iface::CVDictRoot::mergeAt
function override¶
virtual void override(
pCValue const & other
) override
Reimplements: cvedia::rt::iface::CVDictRoot::override
function overrideAt¶
virtual NODISCARD expected< void > overrideAt(
std::string const & path,
pCValue const & other
) override
Reimplements: cvedia::rt::iface::CVDictRoot::overrideAt
function getKeys¶
virtual std::vector< std::string > getKeys() const override
Reimplements: cvedia::rt::iface::CVDictRoot::getKeys
function setValue¶
virtual bool setValue(
std::string const & path,
bool x
) override
Reimplements: cvedia::rt::iface::CVDictRoot::setValue
function setValue¶
virtual bool setValue(
std::string const & path,
int x
) override
Reimplements: cvedia::rt::iface::CVDictRoot::setValue
function setValue¶
virtual bool setValue(
std::string const & path,
float x
) override
Reimplements: cvedia::rt::iface::CVDictRoot::setValue
function setValue¶
virtual bool setValue(
std::string const & path,
double x
) override
Reimplements: cvedia::rt::iface::CVDictRoot::setValue
function setValue¶
virtual bool setValue(
std::string const & path,
std::string const & x
) override
Reimplements: cvedia::rt::iface::CVDictRoot::setValue
function setValue¶
virtual bool setValue(
std::string const & path,
char *const & x
) override
Reimplements: cvedia::rt::iface::CVDictRoot::setValue
function setValue¶
virtual bool setValue(
std::string const & path,
Rect2f const & x
) override
Reimplements: cvedia::rt::iface::CVDictRoot::setValue
function setValue¶
virtual bool setValue(
std::string const & path,
cbuffer const & x
) override
Reimplements: cvedia::rt::iface::CVDictRoot::setValue
function setValue¶
virtual bool setValue(
std::string const & path,
std::vector< float > const & x
) override
Reimplements: cvedia::rt::iface::CVDictRoot::setValue
function setValue¶
virtual bool setValue(
std::string const & path,
CValue const & x
) override
Reimplements: cvedia::rt::iface::CVDictRoot::setValue
function setValue¶
virtual bool setValue(
std::string const & path,
cvec const & x
) override
Reimplements: cvedia::rt::iface::CVDictRoot::setValue
function setValue¶
virtual bool setValue(
std::string const & path,
cmap const & x
) override
Reimplements: cvedia::rt::iface::CVDictRoot::setValue
function getReadLock¶
virtual NODISCARD std::shared_lock< shared_mutex_class > getReadLock() const override
Reimplements: cvedia::rt::iface::CVDictRoot::getReadLock
function getWriteLock¶
virtual NODISCARD std::unique_lock< shared_mutex_class > getWriteLock() const override
Reimplements: cvedia::rt::iface::CVDictRoot::getWriteLock
function getReadLockAdopt¶
virtual NODISCARD std::shared_lock< shared_mutex_class > getReadLockAdopt() const override
Reimplements: cvedia::rt::iface::CVDictRoot::getReadLockAdopt
function getWriteLockAdopt¶
virtual NODISCARD std::unique_lock< shared_mutex_class > getWriteLockAdopt() const override
Reimplements: cvedia::rt::iface::CVDictRoot::getWriteLockAdopt
function getReadLockDefer¶
virtual NODISCARD std::shared_lock< shared_mutex_class > getReadLockDefer() const override
Reimplements: cvedia::rt::iface::CVDictRoot::getReadLockDefer
function getWriteLockDefer¶
virtual NODISCARD std::unique_lock< shared_mutex_class > getWriteLockDefer() const override
Reimplements: cvedia::rt::iface::CVDictRoot::getWriteLockDefer
function getMutex¶
virtual NODISCARD shared_mutex_class & getMutex() const override
Reimplements: cvedia::rt::iface::CVDictRoot::getMutex
Friends¶
friend CVDictImpl¶
friend class CVDictImpl(
CVDictImpl
);