CNORXZ
Container with Native Operation Routines and Expressions
Loading...
Searching...
No Matches
cer_header.h
Go to the documentation of this file.
1// -*- C++ -*-
12#ifndef __cxz_cereal_header_h__
13#define __cxz_cereal_header_h__
14
15#include "base/base.h"
16#include "cer_base.h"
17
18namespace CNORXZ
19{
20 namespace cer
21 {
31
35 inline Header mkHeader(const ContentType content)
36 {
37 Header o;
40 o.content = content;
41 return o;
42 }
43
49 template <class Archive>
50 void save(Archive& ar, const Header& h, const std::uint32_t version);
51
57 template <class Archive>
58 void load(Archive& ar, Header& h, const std::uint32_t version);
59
60 }
61}
62
63#endif
basic headers
CNORXZ Cereal basic types declaration.
String version()
Definition config.cc:20
String commit()
Definition config.cc:25
void load(Archive &ar, Header &h, const std::uint32_t version)
Header mkHeader(const ContentType content)
Definition cer_header.h:35
void save(Archive &ar, const Header &h, const std::uint32_t version)
std::string String
Definition types.h:42
Sptr< Range > rangeCast(const RangePtr r)
ContentType content
Definition cer_header.h:29