aimsdata 6.0.0
Neuroimaging data handling
aims::HierarchyReader Class Reference

#include <aims/io/hieR.h>

Inheritance diagram for aims::HierarchyReader:
Collaboration diagram for aims::HierarchyReader:

Public Member Functions

 HierarchyReader (const std::string &name, const carto::SyntaxSet &stx=carto::SyntaxSet())
 
virtual ~HierarchyReader ()
 
void read (Hierarchy &thing)
 
virtual Treeread ()
 
virtual void read (Tree &)
 
- Public Member Functions inherited from TreeReader
 TreeReader (const std::string &filename, const carto::SyntaxSet &syntax, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet())
 
 TreeReader (const carto::SyntaxSet &syntax, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet())
 
 TreeReader (const TreeFactory &factory, const std::string &filename, const carto::SyntaxSet &syntax, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet())
 
 TreeReader (const TreeFactory &factory, const carto::SyntaxSet &syntax, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet())
 
virtual ~TreeReader ()
 
virtual void readTree (Tree *) __attribute__((__deprecated__("OBSOLETE
 
virtual void use read (Tree &) instead")))
 
void open (const std::string &filename) __attribute__((__deprecated__("use attach() instead")))
 
void close ()
 
void attach (std::istream &s, int line_num=1)
 
void attach (const std::string &filename)
 
void attach (carto::rc_ptr< carto::DataSource > ds)
 
void detach ()
 
virtual std::string name () const
 
const carto::rc_ptr< carto::DataSource > dataSource () const
 
carto::rc_ptr< carto::DataSource > dataSource ()
 
std::list< carto::TreeParser * > & parsers ()
 
const carto::SyntaxSetsyntaxSet () const
 
void setSyntax (const carto::SyntaxSet &syntax)
 
- Public Member Functions inherited from TreeVisitor
virtual ~TreeVisitor ()
 
virtual void visitAttributedObject (carto::AttributedObject *ao)
 
virtual void visitTree (Tree *tree)
 

Static Public Member Functions

static carto::SyntaxSetsyntaxSet ()
 

Friends

HierarchyReaderoperator>> (HierarchyReader &reader, Hierarchy &thing)
 

Additional Inherited Members

- Protected Member Functions inherited from TreeVisitor
 TreeVisitor ()
 

Detailed Description

Definition at line 53 of file hieR.h.

Constructor & Destructor Documentation

◆ HierarchyReader()

aims::HierarchyReader::HierarchyReader ( const std::string & name,
const carto::SyntaxSet & stx = carto::SyntaxSet() )

References TreeReader::name().

Referenced by operator>>, and read().

◆ ~HierarchyReader()

virtual aims::HierarchyReader::~HierarchyReader ( )
virtual

References TreeReader::read().

Member Function Documentation

◆ read() [1/3]

virtual Tree * TreeReader::read ( )
virtual

Reimplemented from TreeReader.

◆ read() [2/3]

void aims::HierarchyReader::read ( Hierarchy & thing)

References HierarchyReader().

Referenced by operator>>.

◆ read() [3/3]

virtual void TreeReader::read ( Tree & )
virtual

Reimplemented from TreeReader.

◆ syntaxSet()

static carto::SyntaxSet & aims::HierarchyReader::syntaxSet ( )
static

Friends And Related Symbol Documentation

◆ operator>>

HierarchyReader & operator>> ( HierarchyReader & reader,
Hierarchy & thing )
friend

Definition at line 73 of file hieR.h.

References HierarchyReader(), and read().


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