示例#1
0
 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));
 }
示例#3
0
 inline void direct_assign(const T& t) {
   oarc->direct_assign(t);
 }
示例#4
0
 inline bool fail() {
   return oarc->fail();
 }
示例#5
0
 /** 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);
 }
示例#6
0
	/**
	 * 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());
	}
示例#7
0
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);
}
示例#8
0
 //! Saves the table to an archive.
 void save(oarchive& ar) const {
   ar << shape_;
   ar.serialize_range(begin(), end());
 }
示例#9
0
	/**
	 * 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());
	}