API Documentation
Public Member Functions | Public Attributes | List of all members
nkExport::ExporterLoadResult Struct Referencefinal

Holds the information about a try to import data sources. More...

Public Member Functions

 ExporterLoadResult () noexcept
 
 ExporterLoadResult (const ExporterLoadResult &)=delete
 
 ExporterLoadResult (ExporterLoadResult &&other) noexcept
 

Public Attributes

nkMemory::UniquePtr< Node_tree
 
ExportError _error
 

Detailed Description

Holds the information about a try to import data sources.

If the import was successful, it will hold the parsed tree. If there was a failure, it will hold an error flagged as active and filled with related information.

Constructor & Destructor Documentation

◆ ExporterLoadResult() [1/3]

nkExport::ExporterLoadResult::ExporterLoadResult ( )
noexcept

Default constructor.

◆ ExporterLoadResult() [2/3]

nkExport::ExporterLoadResult::ExporterLoadResult ( const ExporterLoadResult )
delete

Copy constructor.

◆ ExporterLoadResult() [3/3]

nkExport::ExporterLoadResult::ExporterLoadResult ( ExporterLoadResult &&  other)
noexcept

Move constructor.

Parameters
otherThe results to move from.

Member Data Documentation

◆ _tree

nkMemory::UniquePtr<Node> nkExport::ExporterLoadResult::_tree

The resulting parsed tree, if successful.

◆ _error

ExportError nkExport::ExporterLoadResult::_error

The parsing error filled with information, if any.


The documentation for this struct was generated from the following file: