LBANN  0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
cereal_utils.hpp File Reference
#include "lbann_config.hpp"
#include <cereal/cereal.hpp>
#include <cereal/details/traits.hpp>
#include <cereal/types/base_class.hpp>
#include <cereal/types/map.hpp>
#include <cereal/types/polymorphic.hpp>
#include <cereal/types/set.hpp>
#include <cereal/types/string.hpp>
#include <cereal/types/unordered_map.hpp>
#include <cereal/types/unordered_set.hpp>
#include <cereal/types/utility.hpp>
#include <cereal/types/vector.hpp>
#include <h2/meta/Core.hpp>
#include <h2/meta/TypeList.hpp>
Include dependency graph for cereal_utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  lbann::utils::details::IsBuiltinArchiveT< ArchiveT >
 Predicate for testing if the given type is a built-in Cereal archive. More...
 

Namespaces

 lbann
 
 lbann::utils
 
 lbann::utils::details
 

Macros

#define LBANN_UTILS_SERIALIZATION_CEREAL_UTILS_HPP_
 

Typedefs

template<typename ArchiveT , typename ResultT = int>
using lbann::utils::WhenTextArchive = EnableWhen< IsTextArchive< ArchiveT > &&IsBuiltinArchive< ArchiveT >, ResultT >
 SFINAE helper for splitting text-based and non-text-based serialization functions. More...
 
template<typename ArchiveT , typename ResultT = int>
using lbann::utils::WhenNotTextArchive = EnableWhen<!IsTextArchive< ArchiveT > &&IsBuiltinArchive< ArchiveT >, ResultT >
 SFINAE helper for splitting text-based and non-text-based serialization functions. More...
 

Variables

template<typename ArchiveT >
constexpr bool lbann::utils::IsBuiltinArchive = details::IsBuiltinArchiveT<ArchiveT>::value
 Variable template for checking that an archive is a default Cereal archive type. More...
 
template<typename ArchiveT >
constexpr bool lbann::utils::IsTextArchive = is_text_archive<ArchiveT>::value
 Variable template for checking that an archive type is marked as a text archive in Cereal. More...
 
template<typename ArchiveT >
constexpr bool lbann::utils::IsInputArchive
 Variable template for checking that an archive type is an "Input" archive. More...
 
template<typename ArchiveT >
constexpr bool lbann::utils::IsOutputArchive
 Variable template for checking that an archive type is an "Output" archive. More...
 

Macro Definition Documentation

◆ LBANN_UTILS_SERIALIZATION_CEREAL_UTILS_HPP_

#define LBANN_UTILS_SERIALIZATION_CEREAL_UTILS_HPP_

Definition at line 28 of file cereal_utils.hpp.