CYCLUS
|
Definition at line 11 of file sim_init.cc.
Additional Inherited Members | |
Protected Member Functions inherited from cyclus::Region | |
void | InitFrom (Region *m) |
Protected Member Functions inherited from cyclus::Agent | |
virtual std::string | InformErrorMsg (std::string msg) |
void | InitFrom (Agent *m) |
Protected Attributes inherited from cyclus::Agent | |
std::string | kind_ |
|
inline |
Definition at line 13 of file sim_init.cc.
|
inlinevirtual |
Returns a newly created/allocated prototype that is an exact copy of this.
All initialization and state cloning operations should be done in the agent's InitFrom(Agent*) function. The new agent instance should NOT be created using a default copy-constructor. New agent instances should generally be created using a constructor that takes a single Context argument (the same context of the agent being cloned). Example:
Implements cyclus::Agent.
Definition at line 14 of file sim_init.cc.