VPTissue Reference Manual
SimPT_Parex::ListSweep Class Reference

A sweep over a list of parameters. More...

#include <ListSweep.h>

Inheritance diagram for SimPT_Parex::ListSweep:
Inheritance graph
Collaboration diagram for SimPT_Parex::ListSweep:
Collaboration graph

Public Member Functions

 ListSweep (const std::vector< std::string > &values)
 ListSweep (const boost::property_tree::ptree &pt)
virtual ListSweepClone () 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...

Detailed Description

A sweep over a list of parameters.

Definition at line 29 of file ListSweep.h.

Member Function Documentation

ptree SimPT_Parex::ListSweep::ToPtree ( ) const

Convert the list sweep to a ptree.

The format of a list sweep ptree is as follows:


for every v in m_values

Implements SimPT_Parex::ISweep.

Definition at line 47 of file ListSweep.cpp.

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