EoSym< Fitness > Class Template Reference

Inheritance diagram for EoSym< Fitness >:

EO< Fitness > Sym eoObject eoPersistent eoPrintable List of all members.

Public Member Functions

void set (const Sym &sym)
Symget ()
Sym get () const
virtual void printOn (std::ostream &os) const
 Write object.
virtual void readFrom (std::istream &is)
 Read object.

Detailed Description

template<class Fitness>
class EoSym< Fitness >

Definition at line 27 of file eoSym.h.


Member Function Documentation

template<class Fitness>
void EoSym< Fitness >::printOn ( std::ostream &  os  )  const [virtual]

Write object.

Called printOn since it prints the object _on_ a stream.

Parameters:
_os A std::ostream.

Reimplemented from EO< Fitness >.

Definition at line 45 of file eoSym.h.

References EO< F >::printOn().

template<class Fitness>
void EoSym< Fitness >::readFrom ( std::istream &  is  )  [virtual]

Read object.

\ Calls base class, just in case that one had something to do. The read and print methods should be compatible and have the same format. In principle, format is "plain": they just print a number

Parameters:
_is a std::istream.
Exceptions:
runtime_std::exception If a valid object can't be read.

Reimplemented from EO< Fitness >.

Definition at line 52 of file eoSym.h.

References EO< F >::readFrom().


The documentation for this class was generated from the following file:
Generated on Thu Apr 19 11:02:33 2007 for EO by  doxygen 1.4.7