Last change
on this file since 124 was
124,
checked in by hozdoba, 14 years ago
|
Commit pour sauvegarde - diverses corrections de bogues et améliorations du code.
|
File size:
1.0 KB
|
Line | |
---|
1 | #ifndef __NETCDF4_DATA_TREATMENT__ |
---|
2 | #define __NETCDF4_DATA_TREATMENT__ |
---|
3 | |
---|
4 | namespace XMLIOSERVER |
---|
5 | { |
---|
6 | class NetCDF4DataTreatment : public AbstractDataTreatment |
---|
7 | { |
---|
8 | public : |
---|
9 | |
---|
10 | NetCDF4DataTreatment(Context* const _ctxt = Context::GetCurrentContext()) : AbstractDataTreatment(_ctxt, *_ctxt->getCalendar()) |
---|
11 | { /* Ne rien faire de plus */ } |
---|
12 | |
---|
13 | virtual void createDataOutput(void) |
---|
14 | { |
---|
15 | for (unsigned int i = 0; i < enabledFiles.size(); i++) |
---|
16 | { |
---|
17 | // Initialisation des instances de sortie de données. |
---|
18 | enabledFiles[i]->initializeDataOutput(new NetCDF4DataOutput(enabledFiles[i])); |
---|
19 | // Ouverture des fichiers et création des entêtes. |
---|
20 | enabledFiles[i]->getDataOutput()->createFileAndHeader(); |
---|
21 | } |
---|
22 | } |
---|
23 | |
---|
24 | virtual ~NetCDF4DataTreatment() |
---|
25 | { /* Ne rien faire de plus */ } |
---|
26 | |
---|
27 | protected : |
---|
28 | private : |
---|
29 | |
---|
30 | }; //class NetCDF4DataTreatment |
---|
31 | |
---|
32 | }// namespace XMLIOSERVER |
---|
33 | |
---|
34 | #endif //__NETCDF4_DATA_TREATMENT__ |
---|
Note: See
TracBrowser
for help on using the repository browser.