aimsdata 6.0.0
Neuroimaging data handling
aims::ArgFormat Class Reference

#include <aims/io/baseFormats_graph.h>

Inheritance diagram for aims::ArgFormat:
Collaboration diagram for aims::ArgFormat:

Public Member Functions

virtual ~ArgFormat ()
 
virtual bool read (const std::string &filename, Graph &obj, const carto::AllocatorContext &context, carto::Object options)
 
virtual Graphread (const std::string &filename, const carto::AllocatorContext &context, carto::Object options)
 Creates an object and reads it.
 
virtual bool write (const std::string &filename, const Graph &obj, carto::Object options=carto::none())
 the forceglobal parameter is a hack that replaces the usual ascii flag.
 
- Public Member Functions inherited from aims::FileFormat< Graph >
carto::GenericObjectread (const std::string &, const carto::AllocatorContext &, carto::Object)
 
virtual ~FileFormat ()
 
carto::GenericObjectread (const std::string &, const carto::AllocatorContext &, carto::Object)
 

Detailed Description

Definition at line 45 of file baseFormats_graph.h.

Constructor & Destructor Documentation

◆ ~ArgFormat()

virtual aims::ArgFormat::~ArgFormat ( )
virtual

Member Function Documentation

◆ read() [1/2]

virtual Graph * aims::ArgFormat::read ( const std::string & filename,
const carto::AllocatorContext & context,
carto::Object options )
virtual

Creates an object and reads it.

The default implementation just calls the other read() function. The returned object may be deleted by the standard delete

Reimplemented from aims::FileFormat< Graph >.

◆ read() [2/2]

virtual bool aims::ArgFormat::read ( const std::string & filename,
Graph & obj,
const carto::AllocatorContext & context,
carto::Object options )
virtual

◆ write()

virtual bool aims::ArgFormat::write ( const std::string & filename,
const Graph & obj,
carto::Object options = carto::none() )
virtual

the forceglobal parameter is a hack that replaces the usual ascii flag.

If set, internal objects are saved in "global" mode (see AimsGraphWriter)

Reimplemented from aims::FileFormat< Graph >.

References carto::none().


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