MTK++ Latest version: 0.2.0
#include <mtkpp/src/Utils/idObject.h>
Public Member Functions | |
idObject () | |
idObject Constructor | |
idObject (int i, double d) | |
idObject Constructor | |
idObject (int i, double d, std::string n) | |
idObject Constructor | |
virtual | ~idObject () |
idObject Destructor | |
void | setI (int i) |
void | setD (double d) |
void | setN (std::string n) |
int | getI () |
double | getD () |
std::string | getN () |
Static Public Member Functions | |
static bool | less (const idObject *lhs, const idObject *rhs) |
Compares two idObject based on d. | |
static bool | greater (const idObject *lhs, const idObject *rhs) |
Compares two idObject based on d. | |
Protected Attributes | |
int | i |
index | |
double | d |
numerical value | |
std::string | n |
object name |
MTKpp::idObject::idObject | ( | int | i, |
double | d, | ||
std::string | n | ||
) | [inline] |
virtual MTKpp::idObject::~idObject | ( | ) | [inline, virtual] |
idObject Destructor
Compares two idObject based on d.
After this function is defined the STL sort() function can be used
References d.
Referenced by MTKpp::protonate::optimizePolarHs(), MTKpp::proProtonate::optimizePolarHs(), MTKpp::watProtonate::run(), and MTKpp::idObjectList::sortList().
static bool MTKpp::idObject::greater | ( | const idObject * | lhs, |
const idObject * | rhs | ||
) | [inline, static] |
Compares two idObject based on d.
After this function is defined the STL sort() function can be used
References d.
Referenced by MTKpp::idObjectList::sortList().
void MTKpp::idObject::setI | ( | int | i | ) | [inline] |
References i.
void MTKpp::idObject::setD | ( | double | d | ) | [inline] |
References d.
void MTKpp::idObject::setN | ( | std::string | n | ) | [inline] |
References n.
int MTKpp::idObject::getI | ( | ) | [inline] |
References i.
double MTKpp::idObject::getD | ( | ) | [inline] |
References d.
std::string MTKpp::idObject::getN | ( | ) | [inline] |
References n.
int MTKpp::idObject::i [protected] |
index
Referenced by getI(), idObject(), and setI().
double MTKpp::idObject::d [protected] |
numerical value
Referenced by getD(), greater(), idObject(), less(), and setD().
std::string MTKpp::idObject::n [protected] |
object name
Referenced by getN(), idObject(), and setN().
Generated on Fri Dec 23 2011 09:28:58 for MTK++ by Doxygen 1.7.5.1