![]() |
ENSDF++ 1.1
An easy, fast and simple way to run querys towards the ENSDF database, written in C++.
|
A class extending the DataQuery class normally needs to return the query result in some way, the results are normally contained in an object extending this class. More...
#include <InterestingDecay.h>
Public Member Functions | |
Nukleid | getNukleid () const |
Return the Nukleid which the InterestingDecay is regarding. | |
virtual string | toString () const |
Returns a string corresponding to this InterestingDecay. By default this is equal to getNukleid().toString() if not overridden. | |
virtual bool | operator== (const InterestingDecay &other) const |
Comparision operator. If not overridden, it only compares the Nukleid objects in the InterestingDecays. | |
virtual bool | operator< (const InterestingDecay &other) const |
If not overridden, it only compares the Nukleid objects in the InterestingDecays. | |
Protected Member Functions | |
InterestingDecay (Nukleid toSet) | |
Constructor. | |
Private Attributes | |
Nukleid | myNukleid |
The Nukleid object this InterestingDecay is regarding. |
A class extending the DataQuery class normally needs to return the query result in some way, the results are normally contained in an object extending this class.
Definition at line 30 of file InterestingDecay.h.
InterestingDecay::InterestingDecay | ( | Nukleid | toSet | ) | [protected] |
Constructor.
toSet | The Nukleid object this InterestingDecay is regarding. |
Definition at line 3 of file InterestingDecay.cpp.
References myNukleid.
{ myNukleid = toSet; }
bool InterestingDecay::operator< | ( | const InterestingDecay & | other | ) | const [virtual] |
bool InterestingDecay::operator== | ( | const InterestingDecay & | other | ) | const [virtual] |
string InterestingDecay::toString | ( | ) | const [virtual] |
Returns a string corresponding to this InterestingDecay. By default this is equal to getNukleid().toString() if not overridden.
Reimplemented in InterestingDecayIsomer.
Definition at line 23 of file InterestingDecay.cpp.
References myNukleid, and Nukleid::toString().