VPTissue Reference Manual
|
A sweep over a list of parameters. More...
#include <ListSweep.h>
Public Member Functions | |
ListSweep (const std::vector< std::string > &values) | |
Constructor. | |
ListSweep (const boost::property_tree::ptree &pt) | |
Constructor. | |
virtual ListSweep * | Clone () const |
Polymorphic copy constructor. | |
virtual unsigned int | GetNumberOfValues () const |
Returns the number of values in the sweep. | |
virtual std::string | GetValue (unsigned int index) const |
Returns the value on the given index. | |
virtual boost::property_tree::ptree | ToPtree () const |
Convert the list sweep to a ptree. More... | |
A sweep over a list of parameters.
Definition at line 29 of file ListSweep.h.
|
virtual |
Convert the list sweep to a ptree.
The format of a list sweep ptree is as follows:
v
for every v in m_values
Implements SimPT_Parex::ISweep.
Definition at line 47 of file ListSweep.cpp.