Paramotopy
parallel parameter homotopy through bertini
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
setting Class Reference

A class that stores the information of a setting as used in an xml file. More...

#include <xml_preferences.hpp>

Collaboration diagram for setting:
[legend]

Public Member Functions

 setting ()
 
  • Default constructor for setting class.
More...
 
 setting (std::string newValue)
 
 setting (int newValue)
 
 setting (double newValue)
 
 setting (boost::filesystem::path newValue)
 
std::string typestr ()
 
std::string value ()
 

Public Attributes

int filenumber
 
double doubvalue
 
int intvalue
 
std::string strvalue
 
boost::filesystem::path pathvalue
 
int type
 

Detailed Description

A class that stores the information of a setting as used in an xml file.

Definition at line 40 of file xml_preferences.hpp.

Constructor & Destructor Documentation

setting::setting ( )
inline

  • Default constructor for setting class.

Definition at line 65 of file xml_preferences.hpp.

setting::setting ( std::string  newValue)
inline
Parameters
newValue- The string to store in strvalue.

Definition at line 71 of file xml_preferences.hpp.

setting::setting ( int  newValue)
inline
Parameters
newValue- The int to store in intvalue.

Definition at line 75 of file xml_preferences.hpp.

setting::setting ( double  newValue)
inline
Parameters
newValue- The double to store in doubvalue.

Definition at line 79 of file xml_preferences.hpp.

setting::setting ( boost::filesystem::path  newValue)
inline

Definition at line 83 of file xml_preferences.hpp.

Member Function Documentation

std::string setting::typestr ( )
inline
Returns
string - Returns the type of the setting as a string.

Definition at line 88 of file xml_preferences.hpp.

References type.

std::string setting::value ( )
inline
Returns
string - Returns the value stored as a string.

Definition at line 93 of file xml_preferences.hpp.

References doubvalue, intvalue, and strvalue.

Member Data Documentation

double setting::doubvalue

The value of the double value to store.

Definition at line 47 of file xml_preferences.hpp.

Referenced by value().

int setting::filenumber

deprecated ?

Definition at line 45 of file xml_preferences.hpp.

int setting::intvalue

The value of the int value to store.

Definition at line 49 of file xml_preferences.hpp.

Referenced by value().

boost::filesystem::path setting::pathvalue

a path value .

Definition at line 54 of file xml_preferences.hpp.

std::string setting::strvalue

The value of the string value to store.

Definition at line 51 of file xml_preferences.hpp.

Referenced by value().

int setting::type

to indicate the type of setting. 0 for string, 1 for inter, 2 for double.

Definition at line 60 of file xml_preferences.hpp.

Referenced by typestr().


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