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

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>

Inheritance diagram for InterestingDecay:
InterestingDecayBetaGamma InterestingDecayIsomer

List of all members.

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.

Detailed Description

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.

Author:
Rikard Lundmark

Definition at line 30 of file InterestingDecay.h.


Constructor & Destructor Documentation

InterestingDecay::InterestingDecay ( Nukleid  toSet) [protected]

Constructor.

Parameters:
toSetThe Nukleid object this InterestingDecay is regarding.

Definition at line 3 of file InterestingDecay.cpp.

References myNukleid.

{
  myNukleid = toSet;
}

Member Function Documentation

bool InterestingDecay::operator< ( const InterestingDecay other) const [virtual]

If not overridden, it only compares the Nukleid objects in the InterestingDecays.

Parameters:
otherTo compare with.

Definition at line 18 of file InterestingDecay.cpp.

References myNukleid.

{
  return myNukleid<other.myNukleid;
}
bool InterestingDecay::operator== ( const InterestingDecay other) const [virtual]

Comparision operator. If not overridden, it only compares the Nukleid objects in the InterestingDecays.

Parameters:
otherTo compare with.

Definition at line 13 of file InterestingDecay.cpp.

References myNukleid.

{
  return myNukleid==other.myNukleid;
}
string InterestingDecay::toString ( ) const [virtual]

Returns a string corresponding to this InterestingDecay. By default this is equal to getNukleid().toString() if not overridden.

Returns:
A string describing the InterestingDecay.

Reimplemented in InterestingDecayIsomer.

Definition at line 23 of file InterestingDecay.cpp.

References myNukleid, and Nukleid::toString().

{
  return myNukleid.toString();
}

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