echelon  0.8.0
Public Member Functions | List of all members
echelon::object_reference Class Reference

A reference to an HDF5 object. More...

#include <object_reference.hpp>

Public Member Functions

 object_reference ()
 Creates a null reference.
 
object operator* () const
 Dereferences this reference. More...
 
 operator bool () const
 Tests, if the reference is non-null. More...
 
const hdf5::object_referenceraw_ref () const
 The underlying low-level reference.
 

Detailed Description

A reference to an HDF5 object.

Note
Note that the concept of a HDF5 reference has nothing to do with C++ references. Since a HDF5 reference has a null state, it resembles a C++ pointer without pointer arithmetic and correspondingly it has a similar interface.

Member Function Documentation

echelon::object_reference::operator bool ( ) const
explicit

Tests, if the reference is non-null.

Returns
true, if the reference is non-null and false otherwise
object echelon::object_reference::operator* ( ) const

Dereferences this reference.

Returns
handle to the referenced object

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