New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
base_type.hpp in vendors/XIOS/current/src/type – NEMO

source: vendors/XIOS/current/src/type/base_type.hpp @ 3408

Last change on this file since 3408 was 3408, checked in by rblod, 12 years ago

importing initial XIOS vendor drop

  • Property svn:keywords set to Id
File size: 586 bytes
Line 
1#ifndef __BASE_TYPE_HPP__
2#define __BASE_TYPE_HPP__
3
4#include "xmlioserver_spl.hpp"
5#include "buffer_in.hpp"
6#include "buffer_out.hpp"
7
8namespace xios
9{
10
11  class CBaseType
12  {
13    public:
14   
15    CBaseType(void) ;
16    virtual void fromString(const string& str) ;
17    virtual string toString(void) const;
18   
19    virtual bool fromBuffer(CBufferIn& buffer) ;
20    virtual bool toBuffer(CBufferOut& buffer) const;
21    virtual CBaseType* duplicate(void) const;
22    virtual CBaseType* duplicate(void) ;
23    virtual void destroy(void) ;
24    virtual size_t size(void) const;
25  } ;
26
27}
28
29#endif
Note: See TracBrowser for help on using the repository browser.