aimsdata  4.7.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)
 
- 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 Treeread ()
 
virtual void read (Tree &)
 
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)
 
virtual void visitAttributedObject (carto::AttributedObject *ao)
 
virtual void visitTree (Tree *tree)
 

Static Public Member Functions

static carto::SyntaxSetsyntaxSet ()
 

Friends

HierarchyReaderoperator>> (HierarchyReader &, Hierarchy &)
 

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() 
)

◆ ~HierarchyReader()

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

Member Function Documentation

◆ read()

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

Referenced by aims::operator>>().

◆ syntaxSet()

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

Friends And Related Function Documentation

◆ operator>>

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

Definition at line 73 of file hieR.h.


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