#include "macros.h"
Include dependency graph for stream.h:
This graph shows which files directly or indirectly include this file:
Namespaces |
|
namespace | mudbox |
Classes |
|
class | mudbox::Stream |
Streams are used to read information from a
file, or to write it to a file. More... |
|
Typedefs |
|
typedef Node * | NodePointer |
Functions |
|
template<typename type> | |
Stream & | operator== (Stream &s, type &v) |
Serializes any data type to/from the stream.
|
|
template<typename type> | |
Stream & | operator== (Stream &s, const type &v) |
|
|
Serializes any data type to/from the stream. 00283 { if ( s.IsStoring() ) s << v; else s >> v; return s; }; |
|
00286 { if ( s.IsStoring() ) s << v; else s >> *((type*)&v); return s; }; |