#include <OSOption.h>
Collaboration diagram for PathPair:
Public Member Functions | |
PathPair () | |
Default constructor. | |
~PathPair () | |
Class destructor. | |
bool | IsEqual (PathPair *that) |
A function to check for the equality of two objects. | |
bool | setRandom (double density, bool conformant) |
A function to make a random instance of this class. | |
Public Attributes | |
std::string | from |
the file or directory to move/copy from | |
std::string | to |
the file or directory to move/copy to | |
bool | makeCopy |
record whether a copy is to be made |
Definition at line 787 of file OSOption.h.
PathPair::PathPair | ( | ) |
PathPair::~PathPair | ( | ) |
bool PathPair::IsEqual | ( | PathPair * | that | ) |
bool PathPair::setRandom | ( | double | density, | |
bool | conformant | |||
) |
A function to make a random instance of this class.
density,: | corresponds to the probability that a particular child element is created | |
conformant,: | if true enforces side constraints not enforceable in the schema (e.g., agreement of "numberOfXXX" atrbutes and <XXX> children) |
Definition at line 11446 of file OSOption.cpp.
References from, makeCopy, OSRand(), and to.
Referenced by PathPairs::setRandom().
std::string PathPair::from |
the file or directory to move/copy from
Definition at line 792 of file OSOption.h.
Referenced by PathPairs::addPathPair(), IsEqual(), PathPairs::setPathPair(), and setRandom().
std::string PathPair::to |
the file or directory to move/copy to
Definition at line 795 of file OSOption.h.
Referenced by PathPairs::addPathPair(), IsEqual(), PathPairs::setPathPair(), and setRandom().
bool PathPair::makeCopy |
record whether a copy is to be made
Definition at line 798 of file OSOption.h.
Referenced by PathPairs::addPathPair(), IsEqual(), PathPairs::setPathPair(), and setRandom().