Templated utility version of an entry within the tree reader. More...
Public Member Functions | |
TreeReaderTemplateEntry (T &target, nkMemory::StringView path) | |
virtual | ~TreeReaderTemplateEntry ()=default |
virtual void | fill (nkExport::Node *) override |
Public Member Functions inherited from nkExport::TreeReaderEntry | |
TreeReaderEntry (nkMemory::StringView path) noexcept | |
TreeReaderEntry (const TreeReaderEntry &) noexcept | |
TreeReaderEntry (TreeReaderEntry &&) noexcept | |
virtual | ~TreeReaderEntry () |
nkMemory::StringView | getPath () const |
TreeReaderEntry & | operator= (const TreeReaderEntry &) noexcept |
TreeReaderEntry & | operator= (TreeReaderEntry &&) noexcept |
Templated utility version of an entry within the tree reader.
nkExport::TreeReaderTemplateEntry< T >::TreeReaderTemplateEntry | ( | T & | target, |
nkMemory::StringView | path | ||
) |
Constructor.
target | The target variable to update. |
path | The path within the tree of the node to update from. |
|
virtualdefault |
Destructor.
|
overridevirtual |
Fills the target from the node provided, using the target path.
Implements nkExport::TreeReaderEntry.