source: XIOS/trunk/src/output/netCdfInterface_decl.cpp @ 501

Last change on this file since 501 was 501, checked in by ymipsl, 10 years ago

Add licence copyright to all file ond directory src using the command :
svn propset -R copyright -F header_licence src

XIOS is now officialy under CeCILL licence

YM

  • 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.