source: XIOS/trunk/src/io/netCdfInterface_decl.cpp @ 685

Last change on this file since 685 was 685, checked in by rlacroix, 9 years ago

Merge "output" and "input" folders into one "io" folder.

Some files were used for both output and input so the separation was not valid anymore.

  • Property copyright set to
    Software name : XIOS (Xml I/O Server)
    http://forge.ipsl.jussieu.fr/ioserver
    Creation date : January 2009
    Licence : CeCCIL version2
    see license file in root directory : Licence_CeCILL_V2-en.txt
    or http://www.cecill.info/licences/Licence_CeCILL_V2-en.html
    Holder : CEA/LSCE (Laboratoire des Sciences du CLimat et de l'Environnement)
    CNRS/IPSL (Institut Pierre Simon Laplace)
    Project Manager : Yann Meurdesoif
    yann.meurdesoif@cea.fr
File size: 810 bytes
Line 
1/*!
2   \file netCdfInterface_impl.hpp
3   \author Ha NGUYEN
4   \date 06 Oct 2014
5   \since 06 Oct 2014
6
7   \brief Implemention of some templated functions in netCdfInterface
8 */
9
10#include "netCdfInterface_impl.hpp"
11
12namespace xios
13{
14#define  macroPutAtt(type) \
15  template int CNetCdfInterface::putAttType(int ncid, int varid, const StdString& attrName, \
16                                            StdSize numVal, const type* op);
17
18  macroPutAtt(double);
19  macroPutAtt(float);
20  macroPutAtt(int);
21  macroPutAtt(long);
22  macroPutAtt(short);
23
24#define  macroPutVar(type) \
25 template int CNetCdfInterface::putVaraType(int ncid, int varId, const StdSize* start, \
26                                            const StdSize* count, const type* op);
27  macroPutVar(double);
28  macroPutVar(float);
29  macroPutVar(int);
30}
Note: See TracBrowser for help on using the repository browser.