TkN 2.1
Toolkit for Nuclei
tkensdf_ident_rec Class Reference

Decodding of the ENSDF identification record properties. More...

Detailed Description

Decodding of the ENSDF identification record properties.

Definition at line 55 of file tkensdf_ident_rec.h.

Inheritance diagram for tkensdf_ident_rec:
tkensdf_record

#include <tkensdf_ident_rec.h>

Public Member Functions

 tkensdf_ident_rec ()
 
 tkensdf_ident_rec (const tkensdf_ident_rec &)
 
 ~tkensdf_ident_rec ()
 
virtual void analyse_record () override
 analyse the record content More...
 
void clear () override
 
int get_current_position ()
 
int get_start_position ()
 
int get_stop_position ()
 
void print (std::ostream &) const override
 
void set_current_position (int _pos)
 
virtual bool set_record (const tkstring &_record) override
 define the record from a string More...
 
void set_start_position (int _pos)
 
void set_stpop_position (int _pos)
 
- Public Member Functions inherited from tkensdf_record
 tkensdf_record ()
 
 ~tkensdf_record ()
 
virtual void add_comment_record (const tkstring &_comment_record, bool _is_continuation=false)
 add a continuation record from a string More...
 
virtual void add_continuation_record (const tkstring &_continuation_record)
 add a continuation record from a string More...
 
virtual void analyse_comment_record ()
 analyse the continuation record More...
 
virtual void analyse_continuation_record ()
 analyse the continuation record More...
 
virtual void analyse_record ()
 analyse the record content, to be re implemented in all daughter classes More...
 
void check_record_type ()
 check record type from its string More...
 
virtual void clear ()
 
bool decode_energy (const tkstring &_st)
 decode an anergy record More...
 
bool decode_lifetime (const tkstring &_st, const tkstring &_st_ms)
 decode a lifetime record More...
 
virtual const tkstringget_comment_record () const
 get the continuation record More...
 
virtual tkstring get_continuation_record ()
 get the continuation record More...
 
const tkdb_table::measure_data_structget_energy () const
 
tkstring get_energy_offset ()
 get_energy_offset More...
 
tkstring get_energy_str (const tkstring &_record) const
 extract the energy part More...
 
const tkdb_table::measure_data_structget_lifetime () const
 
tkstring get_lifetime_metastable_str (const tkstring &_record) const
 extract the lifetime part More...
 
tkstring get_lifetime_str (const tkstring &_record) const
 extract the lifetime part More...
 
const tkstringget_record ()
 get record More...
 
record_type get_record_type ()
 get record type More...
 
const tkstringget_uncertain_record () const
 get the record uncertain type More...
 
bool is_comment ()
 to now if the record is a comment More...
 
bool is_continuation_record ()
 to now if the record is a continuation record or not More...
 
bool is_energy_offset ()
 to now if the energy is given with an offset More...
 
bool is_uncertain () const
 check if the record is uncertain More...
 
virtual void print (std::ostream &) const
 
void set_offset (tkstring _offset)
 set_energy_offset More...
 
virtual bool set_record (const tkstring &_record)
 define the record from a string. Option false only checks if the record is an identification record More...
 

Public Attributes

int fcurrentPosition = 0
 
tkstring fdate = " "
 
tkstring fdsid = " "
 
tkstring fdsref = " "
 
bool fis_adopted = false
 
tkstring fnuclide = " "
 
std::pair< int, int > fposition {0,0}
 
tkstring fpub = " "
 
- Public Attributes inherited from tkensdf_record
tkstring fglobal_time_unit {}
 

Additional Inherited Members

- Public Types inherited from tkensdf_record
enum  record_type {
  kident , khistory , kq_value , kxref ,
  kcomment , kparent , knorm , kprodnorm ,
  klevel , kbeta , kec , kalpha ,
  kparticle , kgamma , kreference , kend ,
  kunknown
}
 
- Static Public Attributes inherited from tkensdf_record
static std::string BLANK = " "
 
static const int RSIZE = 81
 

Constructor & Destructor Documentation

◆ tkensdf_ident_rec() [1/2]

Definition at line 50 of file tkensdf_ident_rec.cpp.

◆ tkensdf_ident_rec() [2/2]

tkensdf_ident_rec ( const tkensdf_ident_rec ident_record)

Definition at line 55 of file tkensdf_ident_rec.cpp.

◆ ~tkensdf_ident_rec()

~tkensdf_ident_rec ( )
inline

Definition at line 71 of file tkensdf_ident_rec.h.

Member Function Documentation

◆ analyse_record()

void analyse_record ( )
overridevirtual

analyse the record content

Reimplemented from tkensdf_record.

Definition at line 76 of file tkensdf_ident_rec.cpp.

◆ clear()

void clear ( )
overridevirtual

Reimplemented from tkensdf_record.

Definition at line 85 of file tkensdf_ident_rec.cpp.

◆ get_current_position()

int get_current_position ( )
inline

Definition at line 82 of file tkensdf_ident_rec.h.

◆ get_start_position()

int get_start_position ( )
inline

Definition at line 83 of file tkensdf_ident_rec.h.

◆ get_stop_position()

int get_stop_position ( )
inline

Definition at line 84 of file tkensdf_ident_rec.h.

◆ print()

void print ( std::ostream &  out) const
overridevirtual

Reimplemented from tkensdf_record.

Definition at line 95 of file tkensdf_ident_rec.cpp.

◆ set_current_position()

void set_current_position ( int  _pos)
inline

Definition at line 78 of file tkensdf_ident_rec.h.

◆ set_record()

bool set_record ( const tkstring _record)
overridevirtual

define the record from a string

Reimplemented from tkensdf_record.

Definition at line 69 of file tkensdf_ident_rec.cpp.

◆ set_start_position()

void set_start_position ( int  _pos)
inline

Definition at line 79 of file tkensdf_ident_rec.h.

◆ set_stpop_position()

void set_stpop_position ( int  _pos)
inline

Definition at line 80 of file tkensdf_ident_rec.h.

Member Data Documentation

◆ fcurrentPosition

int fcurrentPosition = 0

Definition at line 63 of file tkensdf_ident_rec.h.

◆ fdate

tkstring fdate = " "

Definition at line 62 of file tkensdf_ident_rec.h.

◆ fdsid

tkstring fdsid = " "

Definition at line 59 of file tkensdf_ident_rec.h.

◆ fdsref

tkstring fdsref = " "

Definition at line 60 of file tkensdf_ident_rec.h.

◆ fis_adopted

bool fis_adopted = false

Definition at line 65 of file tkensdf_ident_rec.h.

◆ fnuclide

tkstring fnuclide = " "

Definition at line 58 of file tkensdf_ident_rec.h.

◆ fposition

std::pair<int,int> fposition {0,0}

Definition at line 64 of file tkensdf_ident_rec.h.

◆ fpub

tkstring fpub = " "

Definition at line 61 of file tkensdf_ident_rec.h.


The documentation for this class was generated from the following files: