YaDICs  V04.14.a
Yet another Digital Image Correlation software: platform dedicated to 2/3D Fluid and Solid kinematics field measurements.
 All Classes Files Functions Variables Pages
Cformat.h
Go to the documentation of this file.
1 /**********************************************************************
2  * Copyright (C) 2012, The YaDICs Project Developers.
3  * See the COPYRIGHT file at the top-level directory of this distribution ./COPYRIGHT.
4  * See ./COPYING file for copying and redistribution conditions.
5  *
6  * This file is part of YaDICs.
7  * YaDICs is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * YaDICs is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with YaDICs. If not, see <http://www.gnu.org/licenses/>.
19  *
20  * Information about how to use the software are provided at http://yadic.univ-lille1.fr/
21  **********************************************************************/
22 
23 
24 #ifndef CFORMAT
25 #define CFORMAT
26 
35 //-----------------------------CIMG_NETCDF-------------------------------
36 #define cimg_plugin "plugins/add_fileformat.h"
37 #define cimg_use_netcdf
38 
39 #ifdef cimg_use_netcdf
40  #include "../NetCDF.Tool/struct_parameter_NetCDF.h"
41 // #define cimg_plugin1 "plugins/netcdf_file_format4CImg1.h"
42 // #define cimglist_plugin1 "plugins/netcdf_file_format4CImgList1.h"
43  #define cimg_plugin2 "plugins/netcdf_file_format4CImg2.h"
44  #define cimglist_plugin2 "plugins/netcdf_file_format4CImgList2.h"
45  #include "../CImg.Tool/CImg_NetCDF.h"
46 #endif
47 
48 #include "textcolor.h"
49 //-----------------------------CIMG_NETCDF-------------------------------
50 
51 
52 class Cformat
53 {
54 
55  public:
56 
57  std::string class_name;
58  std::string m_name, m_type;
59  bool m_verbose;
60  const char* m_paramPath;
61 
62  Cformat()
63  {// constructor
64 
65  class_name = "Format : mother";
66 
67  if (m_verbose){printf("%s -> %s class loaded\n",class_name.c_str(), m_type.c_str());}
68 
69  }
70 
71  virtual void exec(int argc, char *argv[]) = 0;
72 
73 };
74 
75 #endif
76 
Definition: Cformat.h:52