GraphLab: Distributed Graph-Parallel API  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
graphlab::oarchive_soft_fail Class Reference

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>

List of all members.

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

oarchiveoarc
bool mine

Detailed Description

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.


Member Function Documentation

void graphlab::oarchive_soft_fail::write ( const char *  c,
std::streamsize  s 
)
inline

Directly writes "s" bytes from the memory location pointed to by "c" into the stream.

Definition at line 173 of file oarchive.hpp.


The documentation for this class was generated from the following file: