aimsdata 6.0.0
Neuroimaging data handling
aims::ArgWriter Class Reference

#include <aims/io/argW.h>

Public Types

enum  SavingMode { Keep , Global , Local }
 

Public Member Functions

 ArgWriter (const std::string &filename)
 
 ~ArgWriter ()
 
bool write (Graph &, SavingMode mode=Keep, bool saveOnlyModified=true) const
 

Static Public Member Functions

static void registerWriter (const std::string &syntax, LowLevelArgWriter *writer)
 sets the writer to use for graphs of a specific syntax.
 
static bool hasWriter (const std::string &syntax)
 
static void deleteWriter (const std::string &syntax)
 removes and deletes a writer
 

Detailed Description

Definition at line 77 of file argW.h.

Member Enumeration Documentation

◆ SavingMode

Enumerator
Keep 
Global 
Local 

Definition at line 80 of file argW.h.

Constructor & Destructor Documentation

◆ ArgWriter()

aims::ArgWriter::ArgWriter ( const std::string & filename)

◆ ~ArgWriter()

aims::ArgWriter::~ArgWriter ( )

Member Function Documentation

◆ deleteWriter()

static void aims::ArgWriter::deleteWriter ( const std::string & syntax)
static

removes and deletes a writer

◆ hasWriter()

static bool aims::ArgWriter::hasWriter ( const std::string & syntax)
static

◆ registerWriter()

static void aims::ArgWriter::registerWriter ( const std::string & syntax,
LowLevelArgWriter * writer )
static

sets the writer to use for graphs of a specific syntax.

The writer then belongs to ArgWriter (never delete it)

◆ write()

bool aims::ArgWriter::write ( Graph & ,
SavingMode mode = Keep,
bool saveOnlyModified = true ) const

References Keep.


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