CNORXZ
Container with Native Operation Routines and Expressions
Loading...
Searching...
No Matches
range_save_load.cc.h
Go to the documentation of this file.
1// -*- C++ -*-
12#ifndef __range_save_load_cc_h__
13#define __range_save_load_cc_h__
14
15#include "ranges/range_base.h"
16#include "range_save_load.h"
17#include <cereal/cereal.hpp>
18
19namespace CNORXZ
20{
21 namespace cer
22 {
23 template <class Archive>
25 {
26 ar(cereal::make_nvp(name, r));
27 return r = RangeFactoryBase::getRegistered(r->type(), r);
28 }
29 }
30}
31
32
33#endif
static RangePtr getRegistered(const TypeInfo &info, const RangePtr &r)
Definition range_base.cc:49
RangePtr save_load(Archive &ar, const String &name, RangePtr &r)
std::string String
Definition types.h:42
Sptr< RangeBase > RangePtr
Definition types.h:157
Sptr< Range > rangeCast(const RangePtr r)
RangeBase declaration.
CNORXZ Cereal range save load declaration.