SiGraph: sulcal graphs |
![]() |
Classe ExoticGraphReader : classe de base de lecture de graphes "exotiques". More...
#include <si/graph/exoticGraphReader.h>


Public Member Functions | |
| ExoticGraphReader (const std::string &filename, const carto::SyntaxSet &attr) | |
| ExoticGraphReader (const carto::SyntaxSet &attr) | |
| virtual | ~ExoticGraphReader () |
Public Member Functions inherited from GraphReader | |
| GraphReader (const std::string &filename, const carto::SyntaxSet &syntax, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet()) | |
| GraphReader (const carto::SyntaxSet &syntax, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet()) | |
| virtual | ~GraphReader () |
| void | open (const std::string &filename) __attribute__((__deprecated__("use attach() instead"))) |
| void | close () |
| void | attach (std::istream &s, int line_num=1) |
| void | attach (carto::rc_ptr< carto::DataSource > ds) |
| void | attach (const std::string &filename) |
| virtual std::string | name () const |
| int | line () const |
| bool | operator! () const |
| bool | is_open () const |
| bool | eof () const |
| carto::rc_ptr< carto::DataSource > | dataSource () |
| const carto::rc_ptr< carto::DataSource > | dataSource () const |
| const carto::SyntaxSet & | syntaxSet () const |
| void | setSyntax (const carto::SyntaxSet &syntax) |
| GraphReader (const std::string &filename, const carto::SyntaxSet &syntax, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet()) | |
| GraphReader (const carto::SyntaxSet &syntax, const carto::AttributedReader::HelperSet &helpers=carto::AttributedReader::HelperSet()) | |
| virtual | ~GraphReader () |
| void | open (const std::string &filename) __attribute__((__deprecated__("use attach() instead"))) |
| void | close () |
| void | attach (std::istream &s, int line_num=1) |
| void | attach (carto::rc_ptr< carto::DataSource > ds) |
| void | attach (const std::string &filename) |
| virtual std::string | name () const |
| int | line () const |
| bool | operator! () const |
| bool | is_open () const |
| bool | eof () const |
| carto::rc_ptr< carto::DataSource > | dataSource () |
| const carto::rc_ptr< carto::DataSource > | dataSource () const |
| const carto::SyntaxSet & | syntaxSet () const |
| void | setSyntax (const carto::SyntaxSet &syntax) |
Static Public Member Functions | |
| static carto::SyntaxSet | initSyntax (const std::string &filename) |
Protected Member Functions | |
| virtual void | read (Graph &gr) |
| virtual void | parse (Graph &sg, carto::AttributedObject *go)=0 |
| virtual void | parse (Graph &sg, Vertex *go) |
| virtual void | parse (Graph &sg, Edge *go) |
| virtual void | parse (Graph &sg, Graph *go) |
Classe ExoticGraphReader : classe de base de lecture de graphes "exotiques".
Cette structure de base permet d'encapsuler la lecture d'un graphe, avec une étape de post-processing au cours de laquelle les éléments du graphe sont scrutés et éventuellement complétés
Definition at line 32 of file exoticGraphReader.h.
| sigraph::ExoticGraphReader::ExoticGraphReader | ( | const std::string & | filename, |
| const carto::SyntaxSet & | attr ) |
| sigraph::ExoticGraphReader::ExoticGraphReader | ( | const carto::SyntaxSet & | attr | ) |
|
virtual |
|
static |
|
protectedpure virtual |
Implemented in sigraph::FoldReader, and sigraph::FrgReader.
Definition at line 60 of file exoticGraphReader.h.
References parse().
Reimplemented in sigraph::FrgReader.
Definition at line 66 of file exoticGraphReader.h.
References parse().
Definition at line 54 of file exoticGraphReader.h.
References parse().
|
protectedvirtual |
Reimplemented from GraphReader.