#include <DecayResource.h>

Public Types

typedef std::shared_ptr< DecayResourceSP
 
typedef std::shared_ptr< const DecayResourceSCP
 

Public Member Functions

 DecayResource ()
 
 DecayResource (const Library &lib)
 
const std::map< int, DecayParent > & get_const_parent_map () const
 
std::map< int, DecayParent > & get_parent_map ()
 
int num_parents () const
 
int num_decay_modes (const int id) const
 
int num_residuals (const int id, const int decay_mode) const
 
bool is_present (const int id) const
 
bool has_decay_mode (const int id, const int decay_mode) const
 
void list_parent_ids (Vec_Int &parent_ids) const
 
void list_decay_modes (Vec_Int &decay_modes) const
 
const DecayParentget_parent_ptr (const int id) const
 
void calculate_decay_constants ()
 
bool check (Vec_Str &errors) const
 
bool check_consistency (Vec_Str &errors) const
 
bool check_id (const int id, const std::string prefix, Vec_Str &errors) const
 
bool check_ids (Vec_Str &errors) const
 
Scale::Json::Value to_json () const
 
std::string to_string () const
 

Static Public Attributes

static const int ISOMERIC_YIELDS = 1
 
static const int IZZZAAA_YIELDS = 2
 
static const int MISSING_YIELDS = 3
 

Private Attributes

std::map< int, DecayParentparent_map
 

Detailed Description

Member Typedef Documentation

typedef std::shared_ptr<DecayResource> SP
typedef std::shared_ptr<const DecayResource> SCP

Constructor & Destructor Documentation

Member Function Documentation

std::map< int, DecayParent > & get_parent_map ( )
int num_parents ( ) const

References DecayResource::parent_map.

Referenced by Origen::loadMulti().

int num_decay_modes ( const int  id) const
int num_residuals ( const int  id,
const int  decay_mode 
) const
bool is_present ( const int  id) const
Examples:
tstDecayResourceIO.cpp.

References DecayResource::num_decay_modes().

Referenced by TEST().

bool has_decay_mode ( const int  id,
const int  decay_mode 
) const
Examples:
tstDecayResourceIO.cpp.

References DecayResource::num_residuals().

Referenced by TEST().

void list_parent_ids ( Vec_Int parent_ids) const
void list_decay_modes ( Vec_Int decay_modes) const
const DecayParent* get_parent_ptr ( const int  id) const
inline
void calculate_decay_constants ( )
bool check ( Vec_Str errors) const
bool check_id ( const int  id,
const std::string  prefix,
Vec_Str errors 
) const
bool check_ids ( Vec_Str errors) const
std::string to_string ( ) const

Member Data Documentation

const int IZZZAAA_YIELDS = 2
static

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