aimsdata 6.0.0
Neuroimaging data handling
aims::LowLevelArgWriter Class Referenceabstract

Wrapper for a specific GraphWriter. More...

#include <aims/io/argW.h>

Inheritance diagram for aims::LowLevelArgWriter:

Public Types

enum  SavingMode { Keep , Global , Local }
 

Public Member Functions

 LowLevelArgWriter ()
 
virtual ~LowLevelArgWriter ()
 
virtual void write (const std::string &filename, Graph &graph, SavingMode mode=Keep, bool saveOnlyModified=true)=0
 in case of failure, raise an exception
 
virtual carto::Object getMinf (const Graph &g)
 get / reconstruct the minf header from the graph.
 

Detailed Description

Wrapper for a specific GraphWriter.

Definition at line 49 of file argW.h.

Member Enumeration Documentation

◆ SavingMode

Enumerator
Keep 
Global 
Local 

Definition at line 52 of file argW.h.

Constructor & Destructor Documentation

◆ LowLevelArgWriter()

aims::LowLevelArgWriter::LowLevelArgWriter ( )

◆ ~LowLevelArgWriter()

virtual aims::LowLevelArgWriter::~LowLevelArgWriter ( )
virtual

Member Function Documentation

◆ getMinf()

virtual carto::Object aims::LowLevelArgWriter::getMinf ( const Graph & g)
virtual

get / reconstruct the minf header from the graph.

The default implementation takes it from the "header" property of the graph (if any), and tries to rebuild referentials / transformations properties from the graph properties if possible.

◆ write()

virtual void aims::LowLevelArgWriter::write ( const std::string & filename,
Graph & graph,
SavingMode mode = Keep,
bool saveOnlyModified = true )
pure virtual

in case of failure, raise an exception

Implemented in aims::LowLevelStandardArgWriter.

References Keep.


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