#include <GLBaseOrganism.h>
Public Member Functions | |
Cloner (bool soft_clone=true) | |
GLBaseOrganism * | operator() (const GLBaseOrganism *organism) |
Definition at line 266 of file GLBaseOrganism.h.
GLBaseOrganism::Cloner::Cloner | ( | bool | soft_clone = true |
) | [inline] |
Constructor. By default set cloning to soft mode.
soft_clone | if true this class will perform 'soft' cloning (only genetic information), what false -- all the class data will be copied. |
Definition at line 275 of file GLBaseOrganism.h.
GLBaseOrganism* GLBaseOrganism::Cloner::operator() | ( | const GLBaseOrganism * | organism | ) | [inline] |
Does the cloning.
organism | organism to be cloned. |
Definition at line 282 of file GLBaseOrganism.h.