GLBaseOrganism::Cloner Class Reference

#include <GLBaseOrganism.h>

List of all members.

Public Member Functions

 Cloner (bool soft_clone=true)
GLBaseOrganismoperator() (const GLBaseOrganism *organism)


Detailed Description

Class to be used with STL containers -- clones organism.

Definition at line 266 of file GLBaseOrganism.h.


Constructor & Destructor Documentation

GLBaseOrganism::Cloner::Cloner ( bool  soft_clone = true  )  [inline]

Constructor. By default set cloning to soft mode.

Parameters:
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.


Member Function Documentation

GLBaseOrganism* GLBaseOrganism::Cloner::operator() ( const GLBaseOrganism organism  )  [inline]

Does the cloning.

Parameters:
organism organism to be cloned.
Returns:
clone of the organism.

Definition at line 282 of file GLBaseOrganism.h.


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

Generated on Sat Jun 13 13:58:06 2009 for GenLib by  doxygen 1.5.9