Alien  1.3.0
User documentation
Loading...
Searching...
No Matches
Alien::Importer Struct Reference

Public Member Functions

 Importer (std::string const &name, std::string const &in_format, int prec)
FileNode openFileNode (const std::string &node_name)
FileNode openFileNode (FileNode const &parent, const std::string &name)
void closeFileNode (FileNode const &group)
template<typename ValueT>
void read (FileNode const &parent_node, const std::string &node_name, std::vector< ValueT > &buffer)
template<typename ValueT>
void read (FileNode const &parent_node, const std::string &node_name, ValueT &val)
void read (FileNode const &node, std::string &buffer)
Public Member Functions inherited from Alien::HDF5Base
 HDF5Base (std::string const &name)

Additional Inherited Members

Public Types inherited from Alien::HDF5Base
enum  eFormatType { ASCII , HDF5 , SMART }
Public Attributes inherited from Alien::HDF5Base
std::string name
std::string xfile_name
std::string hfile_name
std::string format
eFormatType type
StandardTypes m_types
std::vector< double > rbuffer
std::vector< Int64 > i64buffer
std::vector< int > i32buffer

Detailed Description

Definition at line 511 of file HDF5Tools.h.

Constructor & Destructor Documentation

◆ Importer()

Alien::Importer::Importer ( std::string const & name,
std::string const & in_format,
int prec )
inline

Definition at line 514 of file HDF5Tools.h.

◆ ~Importer()

Alien::Importer::~Importer ( )
inline

Definition at line 546 of file HDF5Tools.h.

Member Function Documentation

◆ closeFileNode()

void Alien::Importer::closeFileNode ( FileNode const & group)
inline

Definition at line 626 of file HDF5Tools.h.

◆ openFileNode() [1/2]

FileNode Alien::Importer::openFileNode ( const std::string & node_name)
inline

Definition at line 565 of file HDF5Tools.h.

◆ openFileNode() [2/2]

FileNode Alien::Importer::openFileNode ( FileNode const & parent,
const std::string & name )
inline

Definition at line 591 of file HDF5Tools.h.

◆ read() [1/3]

void Alien::Importer::read ( FileNode const & node,
std::string & buffer )
inline

Definition at line 770 of file HDF5Tools.h.

◆ read() [2/3]

template<typename ValueT>
void Alien::Importer::read ( FileNode const & parent_node,
const std::string & node_name,
std::vector< ValueT > & buffer )
inline

Definition at line 645 of file HDF5Tools.h.

◆ read() [3/3]

template<typename ValueT>
void Alien::Importer::read ( FileNode const & parent_node,
const std::string & node_name,
ValueT & val )
inline

Definition at line 709 of file HDF5Tools.h.


The documentation for this struct was generated from the following file: