Last change
on this file since 1025 was
591,
checked in by rlacroix, 9 years ago
|
Remove leftovers from the XMLIO age.
|
-
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:
621 bytes
|
Rev | Line | |
---|
[308] | 1 | #ifndef __BASE_TYPE_HPP__ |
---|
| 2 | #define __BASE_TYPE_HPP__ |
---|
| 3 | |
---|
[591] | 4 | #include "xios_spl.hpp" |
---|
[308] | 5 | #include "buffer_in.hpp" |
---|
| 6 | #include "buffer_out.hpp" |
---|
| 7 | |
---|
[335] | 8 | namespace xios |
---|
[308] | 9 | { |
---|
| 10 | |
---|
| 11 | class CBaseType |
---|
| 12 | { |
---|
| 13 | public: |
---|
| 14 | |
---|
[369] | 15 | CBaseType(void) {} |
---|
| 16 | virtual ~CBaseType() {} |
---|
| 17 | virtual void fromString(const string& str) =0 ; |
---|
| 18 | virtual string toString(void) const =0; |
---|
[308] | 19 | |
---|
[369] | 20 | virtual bool fromBuffer(CBufferIn& buffer) =0; |
---|
| 21 | virtual bool toBuffer(CBufferOut& buffer) const =0; |
---|
| 22 | virtual CBaseType* clone(void) const =0; |
---|
| 23 | virtual size_t size(void) const =0; |
---|
| 24 | virtual bool isEmpty(void) const =0; |
---|
| 25 | virtual void reset(void) =0; |
---|
[308] | 26 | } ; |
---|
| 27 | |
---|
| 28 | } |
---|
| 29 | |
---|
| 30 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.