#include <OSOption.h>
Collaboration diagram for OtherOptions:

Public Member Functions | |
| OtherOptions () | |
| Default constructor. | |
| ~OtherOptions () | |
| Class destructor. | |
| bool | IsEqual (OtherOptions *that) |
| A function to check for the equality of two objects. | |
| bool | setOther (int numberOfOptions, OtherOption **other) |
| A function to set an array of <other> elements. | |
| bool | addOther (std::string name, std::string value, std::string description) |
| A function to add an <other> element. | |
Public Attributes | |
| int | numberOfOtherOptions |
| the number of other options | |
| OtherOption ** | other |
| the list of other options | |
Definition at line 155 of file OSOption.h.
| OtherOptions::OtherOptions | ( | ) |
| OtherOptions::~OtherOptions | ( | ) |
Class destructor.
Definition at line 96 of file OSOption.cpp.
References numberOfOtherOptions, and other.
| bool OtherOptions::IsEqual | ( | OtherOptions * | that | ) |
A function to check for the equality of two objects.
Definition at line 7006 of file OSOption.cpp.
References numberOfOtherOptions, and other.
| bool OtherOptions::setOther | ( | int | numberOfOptions, | |
| OtherOption ** | other | |||
| ) |
A function to set an array of <other> elements.
| numberOfOptions,: | number of <other> elements to be set | |
| other,: | the array of <other> elements that are to be set |
Definition at line 3640 of file OSOption.cpp.
References ErrorClass::errormsg, numberOfOtherOptions, and other.
Referenced by OSOption::setOtherGeneralOptions(), OSOption::setOtherJobOptions(), OSOption::setOtherServiceOptions(), and OSOption::setOtherSystemOptions().
| bool OtherOptions::addOther | ( | std::string | name, | |
| std::string | value, | |||
| std::string | description | |||
| ) |
A function to add an <other> element.
| name,: | the name of the <other> element to be added (required) | |
| value,: | the value of the <other> element to be added (optional) | |
| description,: | a description of the <other> element (optional) |
Definition at line 3670 of file OSOption.cpp.
References OtherOption::description, ErrorClass::errormsg, OtherOption::name, numberOfOtherOptions, other, and OtherOption::value.
Referenced by OSOption::setAnOtherGeneralOption(), OSOption::setAnOtherJobOption(), OSOption::setAnOtherServiceOption(), and OSOption::setAnOtherSystemOption().
the number of other options
Definition at line 159 of file OSOption.h.
Referenced by addOther(), OSOption::getNumberOfOtherGeneralOptions(), OSOption::getNumberOfOtherJobOptions(), OSOption::getNumberOfOtherServiceOptions(), OSOption::getNumberOfOtherSystemOptions(), IsEqual(), setOther(), OSOption::setOtherGeneralOptions(), OSOption::setOtherJobOptions(), OSOption::setOtherServiceOptions(), OSOption::setOtherSystemOptions(), OSoLWriter::writeOSoL(), and ~OtherOptions().
the list of other options
Definition at line 162 of file OSOption.h.
Referenced by addOther(), OSOption::getOtherGeneralOptions(), OSOption::getOtherJobOptions(), OSOption::getOtherServiceOptions(), OSOption::getOtherSystemOptions(), IsEqual(), OtherOptions(), setOther(), OSoLWriter::writeOSoL(), and ~OtherOptions().
1.4.7