ENSDF++ 1.1
An easy, fast and simple way to run querys towards the ENSDF database, written in C++.
Defines | Enumerations | Functions
Enums.h File Reference

Defines the enums DecayType and RecordType. More...

#include "DataFileException.h"

Go to the source code of this file.

Defines

#define ENUM_DECAYTYPE
 Inclusion guard.

Enumerations

enum  DecayType { BetaMinus, BetaPlus }
 Defines the different decay types we use. More...
enum  RecordType {
  IdentificationRecord_ = 0, HistoryRecord_ = 1, CrossReferenceRecord_ = 2, CommentRecord_ = 3,
  ParentRecord_ = 4, NormalizationRecord_ = 5, ProductionNormalizationRecord_ = 6, LevelRecord_ = 7,
  BetaMinusRecord_ = 8, BetaPlusRecord_ = 9, AlphaRecord_ = 10, DelayedParticleRecord_ = 11,
  GammaRecord_ = 12, QValueRecord_ = 13
}
 Defines the different record types in ENSDF. More...

Functions

RecordType intToEnum (int toConvert)
 Converts an integer to an enum of type RecordType.

Detailed Description

Defines the enums DecayType and RecordType.

Author:
Rikard Lundmark

Definition in file Enums.h.


Enumeration Type Documentation

enum DecayType

Defines the different decay types we use.

Author:
Rikard Lundmark
Note:
Only BetaPlus and BetaMinus at the moment.
Enumerator:
BetaMinus 

A beta minus decay.

BetaPlus 

A beta plus decay.

Definition at line 14 of file Enums.h.

enum RecordType

Defines the different record types in ENSDF.

Author:
Rikard Lundmark
Enumerator:
IdentificationRecord_ 

Corresponds to IdentificationRecord.

HistoryRecord_ 

Corresponds to HistoryRecord.

CrossReferenceRecord_ 

Corresponds to CrossReferenceRecord.

CommentRecord_ 

Corresponds to CommentRecord.

ParentRecord_ 

Corresponds to ParentRecord.

NormalizationRecord_ 

Corresponds to NormalizationRecord.

ProductionNormalizationRecord_ 

Corresponds to ProductionNormalizationRecord.

LevelRecord_ 

Corresponds to LevelRecord.

BetaMinusRecord_ 

Corresponds to BetaMinusRecord.

BetaPlusRecord_ 

Corresponds to BetaPlusRecord.

AlphaRecord_ 

Corresponds to AlphaRecord.

DelayedParticleRecord_ 

Corresponds to DelayedParticleRecord.

GammaRecord_ 

Corresponds to GammaRecord.

QValueRecord_ 

Corresponds to QValueRecord.

Definition at line 29 of file Enums.h.


Function Documentation

RecordType intToEnum ( int  toConvert) [inline]

Converts an integer to an enum of type RecordType.

Exceptions:
DataFileExceptionif the number didn't correspond to anything in the enum.
Parameters:
toConvertThe int to conver to a RecordType enum

Definition at line 48 of file Enums.h.

References AlphaRecord_, BetaMinusRecord_, BetaPlusRecord_, CommentRecord_, CrossReferenceRecord_, DelayedParticleRecord_, GammaRecord_, HistoryRecord_, IdentificationRecord_, LevelRecord_, NormalizationRecord_, ParentRecord_, ProductionNormalizationRecord_, and QValueRecord_.

Referenced by Dataset::flushAllStacksExcept().

 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