A.I.M.S


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. More...
 
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. More...
 
- Public Member Functions inherited from aims::FileFormat< Graph >
virtual ~FileFormat ()
 

Detailed Description

Definition at line 45 of file baseFormats_graph.h.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual bool aims::ArgFormat::read ( const std::string &  filename,
Graph obj,
const carto::AllocatorContext &  context,
carto::Object  options 
)
virtual
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 >.

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 >.


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