aimsdata 6.0.0
Neuroimaging data handling
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
46namespace aims
47{
48
50 {
51 public:
52 virtual ~FinderSpmFormat() {}
53 virtual bool check( const std::string & filename, Finder & f ) const;
54 };
55
56#ifdef VIDA_LIB
57 class FinderVidaFormat : public FinderFormat
58 {
59 public:
60 virtual ~FinderVidaFormat() {}
61 virtual bool check( const std::string & filename, Finder & f ) const;
62 };
63#endif
64
65#ifdef DICOM_LIB
66 class FinderDicomFormat : public FinderFormat
67 {
68 public:
69 virtual ~FinderDicomFormat() {}
70 virtual bool check( const std::string & filename, Finder & f ) const;
71 };
72#endif
73
74#ifdef ECAT_LIB
75 class FinderEcatFormat : public FinderFormat
76 {
77 public:
78 virtual ~FinderEcatFormat() {}
79 virtual bool check( const std::string & filename, Finder & f ) const;
80 };
81#endif
82
83#ifdef AIMS_JPEG
84 class FinderJpegFormat : public FinderFormat
85 {
86 public:
87 virtual ~FinderJpegFormat() {}
88 virtual bool check( const std::string & filename, Finder & f ) const;
89 };
90#endif
91
93 {
94 public:
96 virtual bool check( const std::string & filename, Finder & f ) const;
97 };
98
100 {
101 public:
102 virtual ~FinderMeshFormat() {}
103 virtual bool check( const std::string & filename, Finder & f ) const;
104 };
105
107 {
108 public:
109 virtual ~FinderTriFormat() {}
110 virtual bool check( const std::string & filename, Finder & f ) const;
111 };
112
114 {
115 public:
117 virtual bool check( const std::string & filename, Finder & f ) const;
118 };
119
121 {
122 public:
124 virtual bool check( const std::string & filename, Finder & f ) const;
125 };
126
128 {
129 public:
130 virtual ~FinderTexFormat() {}
131 virtual bool check( const std::string & filename, Finder & f ) const;
132 };
133
135 {
136 public:
137 virtual ~FinderBckFormat() {}
138 virtual bool check( const std::string & filename, Finder & f ) const;
139 };
140
142 {
143 public:
145 virtual bool check( const std::string & filename, Finder & f ) const;
146 };
147
149 {
150 public:
151 virtual ~FinderHieFormat() {}
152 virtual bool check( const std::string & filename, Finder & f ) const;
153 };
154
156 {
157 public:
158 virtual ~FinderImasFormat() {}
159 virtual bool check( const std::string & filename, Finder & f ) const;
160 };
161
162}
163
164
165#endif
166
167
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:89
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 bool check(const std::string &filename, Finder &f) const
Generic finder / checker for all data objects and file formats This will replace the old AimsFinder.
Definition finder.h:118
The class for EcatSino data write operation.