git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
83 lines
2.1 KiB
Groff
83 lines
2.1 KiB
Groff
.TH "eoBitOpFactory" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
|
|
.ad l
|
|
.nh
|
|
.SH NAME
|
|
eoBitOpFactory \- \fBEO\fP Factory.
|
|
|
|
.PP
|
|
.SH SYNOPSIS
|
|
.br
|
|
.PP
|
|
\fC#include <eoBitOpFactory.h>\fP
|
|
.PP
|
|
Inherits \fBeoFactory< EOT >\fP.
|
|
.PP
|
|
.SS "Public Member Functions"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "virtual \fBeoOp\fP< \fBEOT\fP > * \fBmake\fP (std::istream &_is)"
|
|
.br
|
|
.RI "\fIAnother factory method: creates an object from an std::istream, reading from it whatever is needed to create the object. \fP"
|
|
.in -1c
|
|
.PP
|
|
.RI "\fBctors and dtors\fP"
|
|
.br
|
|
|
|
.in +1c
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "\fBeoBitOpFactory\fP ()"
|
|
.br
|
|
.RI "\fIconstructor \fP"
|
|
.ti -1c
|
|
.RI "virtual \fB~eoBitOpFactory\fP ()"
|
|
.br
|
|
.RI "\fIdestructor \fP"
|
|
.in -1c
|
|
.in -1c
|
|
.SH "Detailed Description"
|
|
.PP
|
|
|
|
.SS "template<class EOT> class eoBitOpFactory< EOT >"
|
|
\fBEO\fP Factory.
|
|
|
|
An instance of the factory class to create operators that act on bitstring chromosomes. Only those chromosomes can instantiate the operators that are created here
|
|
.PP
|
|
\fBSee also:\fP
|
|
.RS 4
|
|
\fBeoSelect\fP
|
|
.RE
|
|
.PP
|
|
|
|
.PP
|
|
Definition at line 39 of file eoBitOpFactory.h.
|
|
.SH "Member Function Documentation"
|
|
.PP
|
|
.SS "template<class EOT> virtual \fBeoOp\fP<\fBEOT\fP>* \fBeoBitOpFactory\fP< \fBEOT\fP >::make (std::istream & _is)\fC [inline, virtual]\fP"
|
|
.PP
|
|
Another factory method: creates an object from an std::istream, reading from it whatever is needed to create the object.
|
|
.PP
|
|
Usually, the format for the std::istream will be\\ objectType parameter1 parameter2 ... parametern\\ If there are problems, an std::exception is raised; it should be caught at the upper level, because it might be something for that level\\ At the same time, it catches std::exceptions thrown at a lower level, which will indicate that whatever is in the stream is for this method to process
|
|
.PP
|
|
\fBParameters:\fP
|
|
.RS 4
|
|
\fI_is\fP an stream from where a single line will be read
|
|
.RE
|
|
.PP
|
|
\fBExceptions:\fP
|
|
.RS 4
|
|
\fIruntime_std::exception\fP if the object type is not known
|
|
.RE
|
|
.PP
|
|
|
|
.PP
|
|
Implements \fBeoFactory< EOT >\fP.
|
|
.PP
|
|
Definition at line 63 of file eoBitOpFactory.h.
|
|
.PP
|
|
References eoFactory< EOClass >::make().
|
|
|
|
.SH "Author"
|
|
.PP
|
|
Generated automatically by Doxygen for EO from the source code.
|