SiGraph: sulcal graphs


sigraph::LearnReader Class Reference

#include <si/learner/learnReader.h>

Inheritance diagram for sigraph::LearnReader:
Collaboration diagram for sigraph::LearnReader:

Public Member Functions

 LearnReader (const LearnFactory &lf, const std::string &filename, const carto::SyntaxSet &as=syntax())
 
 LearnReader (const std::string &filename, const carto::SyntaxSet &as=syntax())
 
virtual ~LearnReader ()
 
- Public Member Functions inherited from sigraph::ExoticTreeReader
 ExoticTreeReader (const std::string &filename, const carto::SyntaxSet &attr, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet())
 
 ExoticTreeReader (const carto::SyntaxSet &attr, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet())
 
 ExoticTreeReader (const TreeFactory &factory, const std::string &filename, const carto::SyntaxSet &attr, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet())
 
 ExoticTreeReader (const TreeFactory &factory, const carto::SyntaxSet &attr, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet())
 
virtual ~ExoticTreeReader ()
 
virtual Treeread ()
 Crée l'arbre et le lit.
 
- 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 read (Tree &)
 
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 Protected Member Functions

static carto::SyntaxSetsyntax ()
 

Additional Inherited Members

- Static Public Member Functions inherited from sigraph::ExoticTreeReader
static carto::SyntaxSet initSyntax (const std::string &filename)
 
- Protected Member Functions inherited from sigraph::ExoticTreeReader
virtual void readTree (Tree *t)
 
void parseTree (Tree *tr)
 
virtual void parse (Tree *go)
 
virtual void parse (carto::AttributedObject *)
 
- Protected Member Functions inherited from TreeVisitor
 TreeVisitor ()
 

Detailed Description

Definition at line 13 of file learnReader.h.

Constructor & Destructor Documentation

◆ LearnReader() [1/2]

sigraph::LearnReader::LearnReader ( const LearnFactory & lf,
const std::string & filename,
const carto::SyntaxSet & as = syntax() )

◆ LearnReader() [2/2]

sigraph::LearnReader::LearnReader ( const std::string & filename,
const carto::SyntaxSet & as = syntax() )

◆ ~LearnReader()

virtual sigraph::LearnReader::~LearnReader ( )
virtual

Member Function Documentation

◆ syntax()

static carto::SyntaxSet & sigraph::LearnReader::syntax ( )
staticprotected

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