#include <LibraryHeader.h>

Inheritance diagram for LibraryHeader:

Public Types

typedef std::shared_ptr< LibraryHeaderSP
 
typedef std::shared_ptr< const LibraryHeaderSCP
 

Public Member Functions

 LibraryHeader ()
 
std::string to_string () const
 
Scale::Json::Value to_json () const
 
bool operator== (const LibraryHeader &a) const
 
std::string print_compare (const LibraryHeader &a) const
 
const NuclideSetnuclide_set () const
 return a const reference to nuclide_set More...
 
SCP_NuclideSet scp_nuclide_set () const
 return a shared (read-only) nuclide_set pointer More...
 
bool has_nuclide_set () const
 return whether the class has a non-null nuclide_set More...
 
void get_nuclide_set (NuclideSet &) const
 populate an existing NuclideSet with a copy of nuclide_set More...
 
void set_nuclide_set (const NuclideSet &)
 set the nuclide_set (copy operation) More...
 
void getptr_nuclide_set (const NuclideSet *&) const
 retrieve pointer (read-only) to nuclide_set More...
 
void manageptr_nuclide_set (NuclideSet *&)
 set the nuclide_set (ownership transfer) More...
 
virtual int serialize (Standard::AbstractStream *stream) const
 
virtual int deserialize (Standard::AbstractStream *stream)
 
virtual unsigned long getSerializedSize () const
 
virtual LibraryHeadergetCopy () const
 
virtual long getUID () const
 
virtual bool childOf (long parentUID) const
 
virtual std::string toString () const
 
void set_month_made (int)
 set the scalar month_made More...
 
int month_made () const
 return the scalar month_made More...
 
void set_day_made (int)
 set the scalar day_made More...
 
int day_made () const
 return the scalar day_made More...
 
void set_year_made (int)
 set the scalar year_made More...
 
int year_made () const
 return the scalar year_made More...
 
void set_title (std::string)
 set the scalar title More...
 
std::string title () const
 return the scalar title More...
 
size_t total_nuclides () const
 

Static Public Attributes

static const long uid = 0x99514754f6b0dc5d
 

Protected Member Functions

void canonicalize_nuclide_set ()
 

Protected Attributes

SP_NuclideSet b_nuclide_set
 
int b_month_made
 
int b_day_made
 
int b_year_made
 
std::string b_title
 

Friends

class ScaleUtils::IO::Accessor< Origen::LibraryHeader >
 

Detailed Description

Member Typedef Documentation

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

Constructor & Destructor Documentation

Member Function Documentation

std::string to_string ( ) const
SCP_NuclideSet scp_nuclide_set ( ) const

return a shared (read-only) nuclide_set pointer

Auto-generated from macro #ORIGEN_ACCESSORS_SP_OBJECT().

bool has_nuclide_set ( ) const

return whether the class has a non-null nuclide_set

Auto-generated from macro #ORIGEN_ACCESSORS_SP_OBJECT().

Referenced by Library::populate_transition_matrix(), LibraryHeader::to_json(), and LibraryHeader::total_nuclides().

void get_nuclide_set ( NuclideSet nuclide_set) const

populate an existing NuclideSet with a copy of nuclide_set

Auto-generated from macro #ORIGEN_ACCESSORS_SP_OBJECT().

void set_nuclide_set ( const NuclideSet nuclide_set)
void getptr_nuclide_set ( const NuclideSet *&  ) const

retrieve pointer (read-only) to nuclide_set

Auto-generated from macro #ORIGEN_ACCESSORS_SP_OBJECT().

void manageptr_nuclide_set ( NuclideSet *&  nuclide_set)

set the nuclide_set (ownership transfer)

Auto-generated from macro #ORIGEN_ACCESSORS_SP_OBJECT().

LibraryHeader * getCopy ( ) const
virtual
long getUID ( ) const
virtual

References LibraryHeader::uid.

bool childOf ( long  parentUID) const
virtual
std::string toString ( ) const
virtual
void set_month_made ( int  scalar)

set the scalar month_made

Auto-generated from macro \ #ORIGEN_ACCESSORS_SCALAR().

Examples:
tstLibrary.cpp.

Referenced by LibraryBuilder::create_library(), FakeFactory::createLibraryHeader_random1(), LibraryIO_s62b::read(), LibraryIO_s61::read(), LibraryIO_bof::read(), and LibraryTest::SetUp().

int month_made ( ) const

return the scalar month_made

Auto-generated from macro \ #ORIGEN_ACCESSORS_SCALAR().

Referenced by LibraryHeader::operator==(), Library::populate_transition_matrix(), LibraryIO_s61::write(), LibraryIO_bof::write(), and LibraryIO_s62b::write().

void set_day_made ( int  scalar)

set the scalar day_made

Auto-generated from macro \ #ORIGEN_ACCESSORS_SCALAR().

Examples:
tstLibrary.cpp.

Referenced by LibraryBuilder::create_library(), FakeFactory::createLibraryHeader_random1(), LibraryIO_s62b::read(), LibraryIO_s61::read(), LibraryIO_bof::read(), and LibraryTest::SetUp().

int day_made ( ) const

return the scalar day_made

Auto-generated from macro \ #ORIGEN_ACCESSORS_SCALAR().

Referenced by LibraryHeader::operator==(), Library::populate_transition_matrix(), LibraryIO_s61::write(), LibraryIO_bof::write(), and LibraryIO_s62b::write().

void set_year_made ( int  scalar)

set the scalar year_made

Auto-generated from macro \ #ORIGEN_ACCESSORS_SCALAR().

Examples:
tstLibrary.cpp.

Referenced by LibraryBuilder::create_library(), FakeFactory::createLibraryHeader_random1(), LibraryIO_s62b::read(), LibraryIO_s61::read(), LibraryIO_bof::read(), and LibraryTest::SetUp().

int year_made ( ) const

return the scalar year_made

Auto-generated from macro \ #ORIGEN_ACCESSORS_SCALAR().

Referenced by LibraryHeader::operator==(), Library::populate_transition_matrix(), LibraryIO_s61::write(), LibraryIO_bof::write(), and LibraryIO_s62b::write().

void set_title ( std::string  scalar)

set the scalar title

Auto-generated from macro \ #ORIGEN_ACCESSORS_SCALAR().

Examples:
tstLibrary.cpp.

Referenced by FakeFactory::createLibraryHeader_random1(), LibraryIO_s62b::read(), LibraryIO_s61::read(), LibraryIO_bof::read(), and LibraryTest::SetUp().

std::string title ( ) const

return the scalar title

Auto-generated from macro \ #ORIGEN_ACCESSORS_SCALAR().

Referenced by LibraryHeader::operator==(), Library::populate_transition_matrix(), LibraryIO_s61::write(), LibraryIO_bof::write(), and LibraryIO_s62b::write().

void canonicalize_nuclide_set ( )
protected

Friends And Related Function Documentation

friend class ScaleUtils::IO::Accessor< Origen::LibraryHeader >
friend

Member Data Documentation

const long uid = 0x99514754f6b0dc5d
static

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