igor::iModelDataIOOMPF Class Reference

#include <iModelDataIOOMPF.h>

Inherits igor::iModelDataIO, and igor::iNodeVisitor.

Public Member Functions

 iModelDataIOOMPF ()
 
virtual ~iModelDataIOOMPF ()
 
iNodePtr importData (const iParameters &parameters) override
 
void exportData (const iParameters &parameters) override
 
- Public Member Functions inherited from igor::iModelDataIO
const iaStringgetName ()
 
const iaStringgetIdentifier ()
 
virtual iNodePtr importData (const iParameters &parameters)
 
virtual void exportData (const iParameters &parameters)
 
iNodePtr importData (const iaString &filename)
 
void exportData (const iaString &filename, iNodePtr node, iSaveMode saveMode=iSaveMode::KeepExternals)
 
 iModelDataIO ()=default
 
virtual ~iModelDataIO ()=default
 
- Public Member Functions inherited from igor::iNodeVisitor
 iNodeVisitor ()=default
 
virtual ~iNodeVisitor ()=default
 
void setTraverseInactiveChildren (bool traverseInactive=true)
 
void setTraverseSiblings (bool traverseSiblings=true)
 
void traverseTree (iNodePtr node)
 

Static Public Member Functions

static iModelDataIOcreateInstance ()
 

Additional Inherited Members

virtual void preTraverse ()=0
 
virtual bool preOrderVisit (iNodePtr node, iNodePtr nextSibling)=0
 
virtual void postOrderVisit (iNodePtr node)=0
 
virtual void postTraverse ()=0
 
- Protected Attributes inherited from igor::iModelDataIO
iaString _name
 
iaString _identifier
 

Detailed Description

OMPF loader

Uses ompf library to load ompf models

Constructor & Destructor Documentation

◆ iModelDataIOOMPF()

igor::iModelDataIOOMPF::iModelDataIOOMPF ( )

does nothing

◆ ~iModelDataIOOMPF()

igor::iModelDataIOOMPF::~iModelDataIOOMPF ( )
virtual

does nothing

Member Function Documentation

◆ createInstance()

iModelDataIO * igor::iModelDataIOOMPF::createInstance ( )
static

creates instance of this class

Returns
new instance

◆ exportData()

void igor::iModelDataIOOMPF::exportData ( const iParameters parameters)
overridevirtual

save node and underlying tree to filesystem

Parameters
parametersexport parameters

Reimplemented from igor::iModelDataIO.

◆ importData()

iNodePtr igor::iModelDataIOOMPF::importData ( const iParameters parameters)
overridevirtual

loads or generates data based on given parameters

Parameters
parameterskey values pairs determine what to load or generate

Reimplemented from igor::iModelDataIO.


The documentation for this class was generated from the following files: