SiGraph: sulcal graphs


treeParser.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1998-2004 CEA
3 *
4 * This software and supporting documentation were developed by
5 * CEA/DSV/SHFJ
6 * 4 place du General Leclerc
7 * 91401 Orsay cedex
8 * France
9 *
10 */
11
12#ifndef SI_GRAPH_TREEPARSER_H
13#define SI_GRAPH_TREEPARSER_H
14
15
16#include <cartobase/object/attributed.h>
17
18class Tree;
19
20
21namespace sigraph
22{
23
26 {
27 public:
29 typedef void (* Factory )( carto::AttributedObject* parent, Tree* t,
30 const std::string & filename );
32 typedef std::map<std::string, Factory> FactorySet;
33
34 virtual ~TreePostParser();
35
36 virtual FactorySet factories() = 0;
37
38 protected:
40
41 private:
42 };
43
44}
45
46#endif
47
48
virtual FactorySet factories()=0
std::map< std::string, Factory > FactorySet
syntax -> reader
Definition treeParser.h:32
void(* Factory)(carto::AttributedObject *parent, Tree *t, const std::string &filename)
Elements readers (depending on syntax)
Definition treeParser.h:29
SyntaxedObject< PropertySet > AttributedObject