libSplash
Public Member Functions | List of all members
splash::CollectionType Class Referenceabstract

#include <CollectionType.hpp>

Inheritance diagram for splash::CollectionType:
Inheritance graph
[legend]

Public Member Functions

const H5DataType & getDataType () const
 
virtual size_t getSize () const =0
 
virtual std::string toString () const =0
 
virtual ~CollectionType ()
 

Detailed Description

Describes the datatype to be used for writing/reading HDF5 data to/from disk.

Definition at line 40 of file CollectionType.hpp.

Constructor & Destructor Documentation

◆ ~CollectionType()

virtual splash::CollectionType::~CollectionType ( )
inlinevirtual

Destructor

Definition at line 71 of file CollectionType.hpp.

Member Function Documentation

◆ getDataType()

const H5DataType& splash::CollectionType::getDataType ( ) const
inline

Returns a (implementation specific) reference to the datatype.

Returns
the datatype

Definition at line 49 of file CollectionType.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSize()

virtual size_t splash::CollectionType::getSize ( ) const
pure virtual

Returns the size in bytes of the datatype.

Returns
size of datatype in bytes

Implemented in splash::ColTypeString, splash::ColTypeBool, splash::ColTypeDim, splash::ColTypeDimArray, and splash::ColTypeUnknown.

Here is the caller graph for this function:

◆ toString()

virtual std::string splash::CollectionType::toString ( ) const
pure virtual

Returns a human-readable representation of the datatype.

Returns
the name of the datatype as a string

Implemented in splash::ColTypeString, splash::ColTypeBool, splash::ColTypeDimArray, splash::ColTypeDim, and splash::ColTypeUnknown.

Here is the caller graph for this function:

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