Dakota  Version
Explore and Predict with Confidence
Public Member Functions | Private Attributes | List of all members
AddAttributeVisitor Class Reference

Objects of this class are called by boost::appy_visitor to add attributes to HDF5 objects. More...

Inherits static_visitor<>.

Public Member Functions

 AddAttributeVisitor (const String &location, const std::shared_ptr< HDF5IOHelper > &hdf5_stream)
 The attributes will be added to the HDF5 object at location, using the HDF5IOHelper instance hdf5_stream.
 
template<typename T >
void operator() (const ResultAttribute< T > &a) const
 Called by boost::apply_vistitor to process a ResultAttribute.
 

Private Attributes

String location
 Link name of the HDF5 object to add attributes to.
 
std::shared_ptr< HDF5IOHelperhdf5Stream
 HDF5IOHelper instance.
 

Detailed Description

Objects of this class are called by boost::appy_visitor to add attributes to HDF5 objects.


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