Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

H5File Class Reference

List of all members.

Public Methods

 H5File ()
 ~H5File ()
void open (std::string filename_)
void open_rdwr (std::string filename_)
void close ()
void get_userblock (std::vector< char > &data)
template<typename T> void get_attr (std::string obj_name, std::string attr_name, T &data)
template<typename T> void get_csv_attr (std::string obj_name, std::string attr_name, std::vector< T > &data)
template<typename T> void get_dataset (std::string path, std::vector< T > &data, std::vector< hsize_t > &shape, hsize_t *nelemptr=NULL)
bool group_exists (std::string path)
bool dataset_exists (std::string path)
bool attr_exists (std::string path, std::string attr)
void get_group_listing (std::string path, std::vector< std::string > &listing)
template<typename T> void write_ds (std::string path, std::string name, const std::vector< hsize_t > &shape, const std::vector< T > &data)

Constructor & Destructor Documentation

H5File::H5File   [inline]
 

Definition at line 250 of file lmplugin.C.

H5File::~H5File   [inline]
 

Definition at line 251 of file lmplugin.C.

References close.


Member Function Documentation

bool H5File::attr_exists std::string    path,
std::string    attr
[inline]
 

Definition at line 416 of file lmplugin.C.

References group_exists.

void H5File::close   [inline]
 

Definition at line 268 of file lmplugin.C.

References H5_CALL.

Referenced by get_userblock, and ~H5File.

bool H5File::dataset_exists std::string    path [inline]
 

Definition at line 396 of file lmplugin.C.

template<typename T>
void H5File::get_attr std::string    obj_name,
std::string    attr_name,
T &    data
[inline]
 

Definition at line 296 of file lmplugin.C.

References H5File_specialized::get_attr.

template<typename T>
void H5File::get_csv_attr std::string    obj_name,
std::string    attr_name,
std::vector< T > &    data
[inline]
 

Definition at line 305 of file lmplugin.C.

References H5File_specialized::get_attr, H5File_specialized::str_conv1, and H5File_specialized::str_conv_last.

template<typename T>
void H5File::get_dataset std::string    path,
std::vector< T > &    data,
std::vector< hsize_t > &    shape,
hsize_t *    nelemptr = NULL
[inline]
 

Definition at line 335 of file lmplugin.C.

References H5_CALL, and H5_CALL_ASSIGN.

Referenced by LMPlugin::read_timestep.

void H5File::get_group_listing std::string    path,
std::vector< std::string > &    listing
[inline]
 

Definition at line 431 of file lmplugin.C.

References H5_CALL, and H5_CALL_ASSIGN.

void H5File::get_userblock std::vector< char > &    data [inline]
 

Definition at line 275 of file lmplugin.C.

References close, H5_CALL_ASSIGN, and open.

bool H5File::group_exists std::string    path [inline]
 

Definition at line 376 of file lmplugin.C.

Referenced by attr_exists.

void H5File::open std::string    filename_ [inline]
 

Definition at line 254 of file lmplugin.C.

References H5_CALL_ASSIGN.

Referenced by get_userblock.

void H5File::open_rdwr std::string    filename_ [inline]
 

Definition at line 261 of file lmplugin.C.

References H5_CALL_ASSIGN.

template<typename T>
void H5File::write_ds std::string    path,
std::string    name,
const std::vector< hsize_t > &    shape,
const std::vector< T > &    data
[inline]
 

Definition at line 444 of file lmplugin.C.

References H5_CALL, H5_CALL_ASSIGN, and name.


The documentation for this class was generated from the following file:
Generated on Tue Aug 11 03:06:55 2020 for VMD Plugins (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002