|
OS
2.10.1
|
the DirectoriesAndFiles class. More...
#include <OSOption.h>
Collaboration diagram for DirectoriesAndFiles:Public Member Functions | |
| DirectoriesAndFiles () | |
| Default constructor. More... | |
| ~DirectoriesAndFiles () | |
| Class destructor. More... | |
| bool | IsEqual (DirectoriesAndFiles *that) |
| A function to check for the equality of two objects. More... | |
| bool | setRandom (double density, bool conformant) |
| A function to make a random instance of this class. More... | |
| bool | deepCopyFrom (DirectoriesAndFiles *that) |
| A function to make a deep copy of an instance of this class. More... | |
| bool | setPath (int numberOfPaths, std::string *path) |
| A function to set an array of <path> elements. More... | |
| bool | addPath (std::string path) |
| A function to add a <path> element. More... | |
Public Attributes | |
| int | numberOfPaths |
| the number of <path> children More... | |
| std::string * | path |
| the list of directory and file paths More... | |
the DirectoriesAndFiles class.
Definition at line 780 of file OSOption.h.
| DirectoriesAndFiles::DirectoriesAndFiles | ( | ) |
Default constructor.
| DirectoriesAndFiles::~DirectoriesAndFiles | ( | ) |
Class destructor.
| bool DirectoriesAndFiles::IsEqual | ( | DirectoriesAndFiles * | that | ) |
A function to check for the equality of two objects.
| bool DirectoriesAndFiles::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" attributes and <XXX> children) |
| bool DirectoriesAndFiles::deepCopyFrom | ( | DirectoriesAndFiles * | that | ) |
A function to make a deep copy of an instance of this class.
| that | the instance from which information is to be copied |
| bool DirectoriesAndFiles::setPath | ( | int | numberOfPaths, |
| std::string * | path | ||
| ) |
A function to set an array of <path> elements.
| numberOfPaths | number of <path> elements to be set |
| path | the array of <path> elements that are to be set |
| bool DirectoriesAndFiles::addPath | ( | std::string | path | ) |
A function to add a <path> element.
| path | the path to be added |
| int DirectoriesAndFiles::numberOfPaths |
the number of <path> children
Definition at line 785 of file OSOption.h.
| std::string* DirectoriesAndFiles::path |
the list of directory and file paths
Definition at line 788 of file OSOption.h.
1.8.11