Dakota
Version 6.20
Explore and Predict with Confidence
|
Objects of this class are called by boost::appy_visitor to add dimension scales (RealScale or StringScale) to HDF5 datasets. More...
Inherits static_visitor<>.
Public Member Functions | |
AttachScaleVisitor (const StrStrSizet &iterator_id, const StringArray &location, const int &dim, const String &dset_name, const std::shared_ptr< HDF5IOHelper > &hdf5_stream) | |
Construct with context for attaching the scale, including the iterator and location used to construct the scale, the dimension and name of the dataset to attach the scale to, the HDF5IOHelper instance. | |
void | operator() (const RealScale &scale) |
Called by boost::apply_vistitor to process a RealScale. | |
void | operator() (const StringScale &scale) |
Called by boost::apply_vistitor to process a StringScale. | |
void | operator() (const IntegerScale &scale) |
Called by boost::apply_vistitor to process an IntegerScale. | |
Private Attributes | |
StrStrSizet | iteratorID |
Iterator ID for the method and execuation. | |
StringArray | location |
Location used to create the dataset. | |
int | dimension |
Dimension of the dataset to attach the scale to. | |
String | dsetName |
Name of the dataset to attach the scale to. | |
std::shared_ptr< HDF5IOHelper > | hdf5Stream |
Instance of HDF5IOHelper. | |
Objects of this class are called by boost::appy_visitor to add dimension scales (RealScale or StringScale) to HDF5 datasets.