|
ESA JPIP server
0.1
|
Specialization of the BaseStream for output serializations.
More...
#include <serialize.h>
Public Member Functions | |
| template<typename T > | |
| OutputStream & | Serialize (T &var) |
Public Member Functions inherited from data::BaseStream< OutputStream, OutputOperator > | |
| BaseStream () | |
Initializes the status to false. More... | |
| OutputStream & | Open (const char *file_name) |
| Opens a file for serialization. More... | |
| OutputStream & | Open (const char *file_name, const char *access) |
| Opens a file for serialization. More... | |
| OutputStream & | Close () |
| Closes the file of the serialization and finish the serialization. More... | |
| OutputStream & | SerializeBytes (void *ptr, int num_bytes) |
| Serializes a number of bytes. More... | |
| OutputStream & | operator& (T &var) |
| This operator overloading is the key of the serialization mechanism. More... | |
| bool | result () const |
| Returns the internal serialization status. More... | |
| operator bool () const | |
| Return the internal serialization status. More... | |
| virtual | ~BaseStream () |
| The destructor automatically closes the file-. More... | |
Additional Inherited Members | |
Protected Attributes inherited from data::BaseStream< OutputStream, OutputOperator > | |
| File | file_ |
| File used for the serialization. More... | |
| bool | result_ |
| Internal current status of the serialization. More... | |
Specialization of the BaseStream for output serializations.
|
inline |