![]() |
ENSDF++ 1.1
An easy, fast and simple way to run querys towards the ENSDF database, written in C++.
|
Corresponds to a single ParentRecord in the ENSDF database (including continuation records). More...
#include <ParentRecord.h>
Public Member Functions | |
ParentRecord (list< string > card) | |
Constructor, constructs the object. | |
double | getHalfLife () const |
Get the half-life of this parent. | |
Protected Attributes | |
double | halfLife |
The half-life of this ParentRecord. | |
Private Member Functions | |
void | processCard () |
Called by the constructor in order to initialize the private members. |
Corresponds to a single ParentRecord in the ENSDF database (including continuation records).
Definition at line 43 of file ParentRecord.h.
ParentRecord::ParentRecord | ( | list< string > | card | ) |
Constructor, constructs the object.
card | The card string(s) corresponding to this record. |
Definition at line 3 of file ParentRecord.cpp.
References processCard().
:Record(cardArg) { processCard(); }
double ParentRecord::getHalfLife | ( | ) | const |
Get the half-life of this parent.
Definition at line 14 of file ParentRecord.cpp.
References halfLife.
Referenced by DataQueryBetaGamma::DetectInterestingStuffWithThisIsotope(), and Record_TEST::testParentRecord().
{ return halfLife; }