![]() |
TkN 2.1
Toolkit for Nuclei
|
Main class dedicated to ENSDF ascii files reading. More...
Main class dedicated to ENSDF ascii files reading.
Definition at line 50 of file tkensdf_reader.h.
#include <tkensdf_reader.h>
Public Member Functions | |
tkensdf_reader (const tkstring &_input_folder) | |
virtual | ~tkensdf_reader ()=default |
bool | first_record (tkensdf_ident_rec *_dataset, tkstring &record) |
move in the current file to the first record of the selected data set More... | |
std::vector< tkensdf_ident_rec > * | get_datasets () |
get access to the identification records More... | |
bool | next_record (tkensdf_ident_rec *_dataset, tkstring &record) |
get the next record of the selected data set More... | |
bool | open_nuc (const tkstring &_nuc_name, const ensdf_data_type &_ftype=kensdf) |
open the file for the slected nucleus and data type, and extract the available data sets More... | |
void | print_datasets () |
print the list of loaded data sets for the current nucleus and data type More... | |
void | print_record_counters () |
print record counters More... | |
void | reset_record_counter () |
reset the record counters More... | |
|
inline |
Definition at line 78 of file tkensdf_reader.h.
|
virtualdefault |
bool first_record | ( | tkensdf_ident_rec * | _dataset, |
tkstring & | record | ||
) |
move in the current file to the first record of the selected data set
Definition at line 165 of file tkensdf_reader.cpp.
|
inline |
get access to the identification records
Definition at line 93 of file tkensdf_reader.h.
bool next_record | ( | tkensdf_ident_rec * | _dataset, |
tkstring & | record | ||
) |
get the next record of the selected data set
Definition at line 177 of file tkensdf_reader.cpp.
bool open_nuc | ( | const tkstring & | _nuc_name, |
const ensdf_data_type & | _ftype = kensdf |
||
) |
open the file for the slected nucleus and data type, and extract the available data sets
Definition at line 54 of file tkensdf_reader.cpp.
void print_datasets | ( | ) |
print the list of loaded data sets for the current nucleus and data type
Definition at line 152 of file tkensdf_reader.cpp.
void print_record_counters | ( | ) |
print record counters
Definition at line 194 of file tkensdf_reader.cpp.
|
inline |
reset the record counters
Definition at line 88 of file tkensdf_reader.h.