NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
phmap::BinaryInputArchive类 参考

#include <phmap_dump.h>

Public 成员函数

 BinaryInputArchive (const char *file_path)
 
bool loadBinary (void *p, size_t sz)
 
template<typename V >
std::enable_if< type_traits_internal::IsTriviallyCopyable< V >::value, bool >::type loadBinary (V *v)
 
template<typename Map >
auto loadBinary (Map *v) -> decltype(v->phmap_load(*this), bool())
 

Private 属性

std::ifstream ifs_
 

构造及析构函数说明

◆ BinaryInputArchive()

phmap::BinaryInputArchive::BinaryInputArchive ( const char * file_path)
inline

成员函数说明

◆ loadBinary() [1/3]

template<typename Map >
auto phmap::BinaryInputArchive::loadBinary ( Map * v) -> decltype(v->phmap_load(*this), bool())
inline

◆ loadBinary() [2/3]

template<typename V >
std::enable_if< type_traits_internal::IsTriviallyCopyable< V >::value, bool >::type phmap::BinaryInputArchive::loadBinary ( V * v)
inline

◆ loadBinary() [3/3]

bool phmap::BinaryInputArchive::loadBinary ( void * p,
size_t sz )
inline

类成员变量说明

◆ ifs_

std::ifstream phmap::BinaryInputArchive::ifs_
private

该类的文档由以下文件生成: