GraphLab: Distributed Graph-Parallel API
2.1
|
When this archive is used to serialize an object, and the object does not support serialization, failure will only occur at runtime. Otherwise equivalent to graphlab::oarchive. More...
#include <graphlab/serialization/oarchive.hpp>
Public Member Functions | |
oarchive_soft_fail (std::ostream &outstream) | |
constructor. Takes a generic std::ostream object | |
oarchive_soft_fail (oarchive &oarc) | |
void | write (const char *c, std::streamsize s) |
template<typename T > | |
void | direct_assign (const T &t) |
bool | fail () |
Public Attributes | |
oarchive * | oarc |
bool | mine |
When this archive is used to serialize an object, and the object does not support serialization, failure will only occur at runtime. Otherwise equivalent to graphlab::oarchive.
Definition at line 155 of file oarchive.hpp.
|
inline |
Directly writes "s" bytes from the memory location pointed to by "c" into the stream.
Definition at line 173 of file oarchive.hpp.