source: XIOS/trunk/src/type/base_type.hpp @ 308

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

arborescence oubliée... pas d'explication

YM

File size: 593 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 xmlioserver
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.