SiGraph: sulcal graphs


sigraph::ExoticTreeReader Class Reference

Classe ExoticTreeReader : classe de base de lecture d'arbres "exotiques". More...

#include <si/graph/exoticTreeReader.h>

Inheritance diagram for sigraph::ExoticTreeReader:
Collaboration diagram for sigraph::ExoticTreeReader:

Public Member Functions

 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 Public Member Functions

static carto::SyntaxSet initSyntax (const std::string &filename)
 

Protected Member Functions

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

Classe ExoticTreeReader : classe de base de lecture d'arbres "exotiques".

Cette structure de base permet d'encapsuler la lecture d'un arbre, avec une étape de post-processing au cours de laquelle les éléments de l'arbre sont scrutés et éventuellement complétés ou transformés

Definition at line 32 of file exoticTreeReader.h.

Constructor & Destructor Documentation

◆ ExoticTreeReader() [1/4]

sigraph::ExoticTreeReader::ExoticTreeReader ( const std::string & filename,
const carto::SyntaxSet & attr,
const carto::AttributedReader::HelperSet & helpers = carto::AttributedReader::HelperSet() )

◆ ExoticTreeReader() [2/4]

sigraph::ExoticTreeReader::ExoticTreeReader ( const carto::SyntaxSet & attr,
const carto::AttributedReader::HelperSet & helpers = carto::AttributedReader::HelperSet() )

◆ ExoticTreeReader() [3/4]

sigraph::ExoticTreeReader::ExoticTreeReader ( const TreeFactory & factory,
const std::string & filename,
const carto::SyntaxSet & attr,
const carto::AttributedReader::HelperSet & helpers = carto::AttributedReader::HelperSet() )

◆ ExoticTreeReader() [4/4]

sigraph::ExoticTreeReader::ExoticTreeReader ( const TreeFactory & factory,
const carto::SyntaxSet & attr,
const carto::AttributedReader::HelperSet & helpers = carto::AttributedReader::HelperSet() )

◆ ~ExoticTreeReader()

virtual sigraph::ExoticTreeReader::~ExoticTreeReader ( )
virtual

Member Function Documentation

◆ initSyntax()

static carto::SyntaxSet sigraph::ExoticTreeReader::initSyntax ( const std::string & filename)
static

◆ parse() [1/2]

virtual void sigraph::ExoticTreeReader::parse ( carto::AttributedObject * )
inlineprotectedvirtual

Definition at line 62 of file exoticTreeReader.h.

◆ parse() [2/2]

virtual void sigraph::ExoticTreeReader::parse ( Tree * go)
inlineprotectedvirtual

Reimplemented in sigraph::DomReader, and sigraph::MReader.

Definition at line 61 of file exoticTreeReader.h.

References parse().

Referenced by parse().

◆ parseTree()

void sigraph::ExoticTreeReader::parseTree ( Tree * tr)
protected

◆ read()

virtual Tree * sigraph::ExoticTreeReader::read ( )
virtual

Crée l'arbre et le lit.

Reimplemented from TreeReader.

◆ readTree()

virtual void sigraph::ExoticTreeReader::readTree ( Tree * t)
protectedvirtual

Reimplemented from TreeReader.


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