A.I.M.S


finderFormats.h
Go to the documentation of this file.
1 /* This software and supporting documentation are distributed by
2  * Institut Federatif de Recherche 49
3  * CEA/NeuroSpin, Batiment 145,
4  * 91191 Gif-sur-Yvette cedex
5  * France
6  *
7  * This software is governed by the CeCILL-B license under
8  * French law and abiding by the rules of distribution of free software.
9  * You can use, modify and/or redistribute the software under the
10  * terms of the CeCILL-B license as circulated by CEA, CNRS
11  * and INRIA at the following URL "http://www.cecill.info".
12  *
13  * As a counterpart to the access to the source code and rights to copy,
14  * modify and redistribute granted by the license, users are provided only
15  * with a limited warranty and the software's author, the holder of the
16  * economic rights, and the successive licensors have only limited
17  * liability.
18  *
19  * In this respect, the user's attention is drawn to the risks associated
20  * with loading, using, modifying and/or developing or reproducing the
21  * software by the user in light of its specific status of free software,
22  * that may mean that it is complicated to manipulate, and that also
23  * therefore means that it is reserved for developers and experienced
24  * professionals having in-depth computer knowledge. Users are therefore
25  * encouraged to load and test the software's suitability as regards their
26  * requirements in conditions enabling the security of their systems and/or
27  * data to be ensured and, more generally, to use and operate it in the
28  * same conditions as regards security.
29  *
30  * The fact that you are presently reading this means that you have had
31  * knowledge of the CeCILL-B license and that you accept its terms.
32  */
33 
34 /*
35  * Finder class
36  */
37 
38 #ifndef AIMS_IO_FINDERFORMATS_H
39 #define AIMS_IO_FINDERFORMATS_H
40 
41 
43 #include <aims/io/fileFormat.h>
44 
45 
46 namespace aims
47 {
48 
50  {
51  public:
52  virtual ~FinderGisFormat() {}
53  virtual bool check( const std::string & filename, Finder & f ) const;
54  };
55 
57  {
58  public:
59  virtual ~FinderSpmFormat() {}
60  virtual bool check( const std::string & filename, Finder & f ) const;
61  };
62 
63 #ifdef VIDA_LIB
64  class FinderVidaFormat : public FinderFormat
65  {
66  public:
67  virtual ~FinderVidaFormat() {}
68  virtual bool check( const std::string & filename, Finder & f ) const;
69  };
70 #endif
71 
72 #ifdef DICOM_LIB
73  class FinderDicomFormat : public FinderFormat
74  {
75  public:
76  virtual ~FinderDicomFormat() {}
77  virtual bool check( const std::string & filename, Finder & f ) const;
78  };
79 #endif
80 
81 #ifdef ECAT_LIB
82  class FinderEcatFormat : public FinderFormat
83  {
84  public:
85  virtual ~FinderEcatFormat() {}
86  virtual bool check( const std::string & filename, Finder & f ) const;
87  };
88 #endif
89 
90 #ifdef AIMS_JPEG
91  class FinderJpegFormat : public FinderFormat
92  {
93  public:
94  virtual ~FinderJpegFormat() {}
95  virtual bool check( const std::string & filename, Finder & f ) const;
96  };
97 #endif
98 
100  {
101  public:
102  virtual ~FinderGenesisFormat() {}
103  virtual bool check( const std::string & filename, Finder & f ) const;
104  };
105 
107  {
108  public:
109  virtual ~FinderMeshFormat() {}
110  virtual bool check( const std::string & filename, Finder & f ) const;
111  };
112 
114  {
115  public:
116  virtual ~FinderTriFormat() {}
117  virtual bool check( const std::string & filename, Finder & f ) const;
118  };
119 
121  {
122  public:
123  virtual ~FinderMniObjFormat() {}
124  virtual bool check( const std::string & filename, Finder & f ) const;
125  };
126 
128  {
129  public:
131  virtual bool check( const std::string & filename, Finder & f ) const;
132  };
133 
135  {
136  public:
137  virtual ~FinderTexFormat() {}
138  virtual bool check( const std::string & filename, Finder & f ) const;
139  };
140 
142  {
143  public:
144  virtual ~FinderBckFormat() {}
145  virtual bool check( const std::string & filename, Finder & f ) const;
146  };
147 
149  {
150  public:
151  virtual ~FinderGraphFormat() {}
152  virtual bool check( const std::string & filename, Finder & f ) const;
153  };
154 
156  {
157  public:
158  virtual ~FinderTrmFormat() {}
159  virtual bool check( const std::string & filename, Finder & f ) const;
160  };
161 
163  {
164  public:
165  virtual ~FinderHieFormat() {}
166  virtual bool check( const std::string & filename, Finder & f ) const;
167  };
168 
170  {
171  public:
172  virtual ~FinderImasFormat() {}
173  virtual bool check( const std::string & filename, Finder & f ) const;
174  };
175 
176 }
177 
178 
179 #endif
180 
181 
virtual bool check(const std::string &filename, Finder &f) const
virtual bool check(const std::string &filename, Finder &f) const
virtual bool check(const std::string &filename, Finder &f) const
virtual bool check(const std::string &filename, Finder &f) const
virtual bool check(const std::string &filename, Finder &f) const
virtual bool check(const std::string &filename, Finder &f) const
virtual bool check(const std::string &filename, Finder &f) const
virtual bool check(const std::string &filename, Finder &f) const
virtual bool check(const std::string &filename, Finder &f) const
virtual bool check(const std::string &filename, Finder &f) const
virtual ~FinderGisFormat()
Definition: finderFormats.h:52
virtual bool check(const std::string &filename, Finder &f) const
virtual ~FinderSpmFormat()
Definition: finderFormats.h:59
Generic finder / checker for all data objects and file formats This will replace the old AimsFinder...
Definition: finder.h:117
virtual bool check(const std::string &filename, Finder &f) const
virtual bool check(const std::string &filename, Finder &f) const
virtual bool check(const std::string &filename, Finder &f) const
virtual bool check(const std::string &filename, Finder &f) const
virtual bool check(const std::string &filename, Finder &f) const
virtual bool check(const std::string &filename, Finder &f) const
Finder format checker.
Definition: fileFormat.h:88