Ignore:
Timestamp:
02/13/12 19:35:25 (12 years ago)
Author:
ymipsl
Message:

nouvelle version de developpement de xios

  • nouvelle interface fortran
  • recodage complet de la couche de communication
  • et bien d'autres choses...

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/common/src/array.hpp

    r219 r300  
    99/// xmlioserver headers /// 
    1010#include "xmlioserver_spl.hpp" 
     11#include "buffer_in.hpp" 
     12#include "buffer_out.hpp" 
     13 
    1114 
    1215namespace xmlioserver 
    1316{ 
     17   template<size_t numDims> 
     18   detail::multi_array::extent_gen<numDims> getExtentNull(void) { return getExtentNull<numDims-1>()[0];} 
     19    
     20   template<> 
     21   detail::multi_array::extent_gen<1> getExtentNull<1>(void) { return extents[0]; } 
     22 
    1423   /// ////////////////////// Déclarations ////////////////////// /// 
    1524   template <typename ValueType, StdSize  NumDims, 
     
    2938            explicit CArray(const ExtentList & sizes); 
    3039 
     40         explicit CArray(); 
     41 
    3142         template <typename ExtentList> 
    3243            CArray(const ExtentList & sizes, const boost::general_storage_order<NumDims> & store); 
     
    3647 
    3748      public: 
    38        
     49 
    3950         /// Flux /// 
    4051         template <typename U, StdSize V, typename W> 
     
    5162         void fromBinary(StdIStream & is); 
    5263 
     64         size_t getSize(void) const ; 
     65         bool toBuffer  (CBufferOut& buffer) const; 
     66         bool fromBuffer(CBufferIn& buffer); 
     67 
     68 
    5369         /// Destructeur /// 
    5470         virtual ~CArray(void); 
    5571 
    5672   }; // class CArray 
     73    
    5774 
    5875   ///--------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.