std::string get_prefix() { return oarc->get_prefix(); }
inline void save(oarchive& oarc) const { oarc.write(reinterpret_cast<const char*>(this), sizeof(flex_date_time)); }
inline void direct_assign(const T& t) { oarc->direct_assign(t); }
inline bool fail() { return oarc->fail(); }
/** Directly writes "s" bytes from the memory location * pointed to by "c" into the stream. */ inline void write(const char* c, std::streamsize s) { oarc->write(c, s); }
/** * Serialize the IR_BIN_DATA data type. * * @param ar The archive to where serialize the data type. */ void serialize(oarchive& ar) { ar.list_length(_cnt); ar.append(_ar.begin(), _ar.end()); }
void unity_sgraph::save_reference(oarchive& oarc) const { log_func_entry(); oarc.write(GRAPH_MAGIC_HEADER, strlen(GRAPH_MAGIC_HEADER)); oarc << get_graph().get_num_partitions(); get_graph().save_reference(oarc); }
//! Saves the table to an archive. void save(oarchive& ar) const { ar << shape_; ar.serialize_range(begin(), end()); }
/** * Serialize the Vendor_IE data type. * * @param ar The archive to where serialize the data type. */ void serialize(oarchive& ar) { ar & _id; ar & _data.size(); ar.append(_data.get(), _data.get() + _data.size()); }