Last change
on this file since 2339 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:
829 bytes
|
Rev | Line | |
---|
[308] | 1 | #ifndef __MESSAGE_HPP__ |
---|
| 2 | #define __MESSAGE_HPP__ |
---|
| 3 | |
---|
[591] | 4 | #include "xios_spl.hpp" |
---|
[308] | 5 | #include "exception.hpp" |
---|
| 6 | #include "base_type.hpp" |
---|
| 7 | #include "buffer_in.hpp" |
---|
| 8 | #include "buffer_out.hpp" |
---|
| 9 | |
---|
| 10 | |
---|
[335] | 11 | namespace xios |
---|
[308] | 12 | { |
---|
| 13 | |
---|
[369] | 14 | class CMessage |
---|
[308] | 15 | { |
---|
| 16 | public: |
---|
| 17 | |
---|
| 18 | CMessage(void) ; |
---|
| 19 | list<CBaseType*> typeList ; |
---|
| 20 | virtual bool fromBuffer(CBufferIn& buffer) const; |
---|
| 21 | virtual bool toBuffer(CBufferOut& buffer) const; |
---|
| 22 | virtual size_t size(void) const; |
---|
| 23 | |
---|
| 24 | CMessage& push(const CBaseType& type) ; |
---|
[369] | 25 | // CMessage& push(CBaseType& type) ; |
---|
[308] | 26 | void clear(void) ; |
---|
| 27 | ~CMessage() ; |
---|
| 28 | } ; |
---|
| 29 | |
---|
| 30 | CBufferOut& operator<<(CBufferOut& buffer, CMessage& msg) ; |
---|
| 31 | CBufferIn& operator>>(CBufferIn& buffer, CMessage& msg) ; |
---|
| 32 | |
---|
[369] | 33 | // CMessage& operator<<(CMessage& msg,CBaseType& type) ; |
---|
[308] | 34 | CMessage& operator<<(CMessage& msg,const CBaseType& type) ; |
---|
| 35 | |
---|
| 36 | } |
---|
| 37 | |
---|
| 38 | #endif |
---|
| 39 | |
---|
Note: See
TracBrowser
for help on using the repository browser.