ENSDF++ 1.1
An easy, fast and simple way to run querys towards the ENSDF database, written in C++.
Public Member Functions | Protected Attributes | Private Member Functions
ParentRecord Class Reference

Corresponds to a single ParentRecord in the ENSDF database (including continuation records). More...

#include <ParentRecord.h>

Inheritance diagram for ParentRecord:
Record ChildAddable< Child< ParentRecord > >

List of all members.

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.

Detailed Description

Corresponds to a single ParentRecord in the ENSDF database (including continuation records).

Author:
Rikard Lundmark
Note:
Not fully implemented.

Definition at line 43 of file ParentRecord.h.


Constructor & Destructor Documentation

ParentRecord::ParentRecord ( list< string >  card)

Constructor, constructs the object.

Parameters:
cardThe card string(s) corresponding to this record.

Definition at line 3 of file ParentRecord.cpp.

References processCard().

  :Record(cardArg)
{
  processCard();
}

Member Function Documentation

double ParentRecord::getHalfLife ( ) const

Get the half-life of this parent.

Returns:
The half-life of the parent (in seconds).

Definition at line 14 of file ParentRecord.cpp.

References halfLife.

Referenced by DataQueryBetaGamma::DetectInterestingStuffWithThisIsotope(), and Record_TEST::testParentRecord().

{
  return halfLife;
}

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Defines

Back to the main page of the Precalibrated Ion Beam Identification Detector project

Created by Rikard Lundmark