#include <OSOption.h>
Collaboration diagram for ContactOption:
Public Member Functions | |
ContactOption () | |
Default constructor. | |
~ContactOption () | |
Class destructor. | |
bool | IsEqual (ContactOption *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 | transportType |
the contact mechanism | |
std::string | value |
the value of the <contact> element |
Definition at line 88 of file OSOption.h.
ContactOption::ContactOption | ( | ) |
ContactOption::~ContactOption | ( | ) |
bool ContactOption::IsEqual | ( | ContactOption * | that | ) |
A function to check for the equality of two objects.
Definition at line 9117 of file OSOption.cpp.
References transportType, and value.
bool ContactOption::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 11323 of file OSOption.cpp.
References OSRand(), transportType, and value.
Referenced by GeneralOption::setRandom().
std::string ContactOption::transportType |
the contact mechanism
Definition at line 93 of file OSOption.h.
Referenced by OSOption::getContactTransportType(), IsEqual(), OSOption::setContact(), OSOption::setContactTransportType(), setRandom(), and OSoLWriter::writeOSoL().
std::string ContactOption::value |
the value of the <contact> element
Definition at line 96 of file OSOption.h.
Referenced by OSOption::getContact(), IsEqual(), OSOption::setContact(), setRandom(), and OSoLWriter::writeOSoL().