fixing makefiles
This commit is contained in:
parent
1fe3a72e10
commit
5fe7510807
15 changed files with 153 additions and 307 deletions
13
eo/src/other/Makefile.am
Normal file
13
eo/src/other/Makefile.am
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
###############################################################################
|
||||
##
|
||||
## Makefile.am for eo/src/other
|
||||
##
|
||||
###############################################################################
|
||||
|
||||
INCLUDES = -I$(top_builddir)/src
|
||||
|
||||
lib_LIBRARIES = libeoother.a
|
||||
libeoother_a_SOURCES = eoExternalOpFunctions.cpp
|
||||
|
||||
libeootherincdir = $(includedir)/eo/other
|
||||
libeootherinc_HEADERS = eoExternalEO.h eoString.h eoStringMutation.h
|
||||
|
|
@ -35,33 +35,33 @@
|
|||
template <class Fit, class External>
|
||||
class eoExternalEO : public EO, virtual public External
|
||||
{
|
||||
public :
|
||||
public :
|
||||
|
||||
typedef External Type;
|
||||
typedef External Type;
|
||||
|
||||
eoExternalEO(void) : EO(), Base() {}
|
||||
eoExternalEO(istream& is) : EO(), Base() { readFrom(is); }
|
||||
eoExternalEO(void) : EO(), Base() {}
|
||||
eoExternalEO(istream& is) : EO(), Base() { readFrom(is); }
|
||||
|
||||
/**
|
||||
* Read object.\\
|
||||
* @param _is a istream.
|
||||
* @throw runtime_exception If a valid object can't be read.
|
||||
*/
|
||||
virtual void readFrom(istream& _is)
|
||||
{
|
||||
EO::readFrom(is);
|
||||
throw runtime_excpetion("Reading not defined yet");
|
||||
}
|
||||
/**
|
||||
* Read object.\\
|
||||
* @param _is a istream.
|
||||
* @throw runtime_exception If a valid object can't be read.
|
||||
*/
|
||||
virtual void readFrom(istream& _is)
|
||||
{
|
||||
EO::readFrom(is);
|
||||
throw runtime_exception("Reading not defined yet");
|
||||
}
|
||||
|
||||
/**
|
||||
* Write object. Called printOn since it prints the object _on_ a stream.
|
||||
* @param _os A ostream.
|
||||
*/
|
||||
virtual void printOn(ostream& _os) const
|
||||
{
|
||||
EO::printOn(is);
|
||||
throw runtime_excpetion("Writing not defined yet");
|
||||
}
|
||||
/**
|
||||
* Write object. Called printOn since it prints the object _on_ a stream.
|
||||
* @param _os A ostream.
|
||||
*/
|
||||
virtual void printOn(ostream& _os) const
|
||||
{
|
||||
EO::printOn(is);
|
||||
throw runtime_excpetion("Writing not defined yet");
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -28,9 +28,9 @@
|
|||
#ifndef eoExternalOpFunc_h
|
||||
#define eoExternalOpFunc_h
|
||||
|
||||
#include "eoExternalEO.h"
|
||||
#include "eoOps.h"
|
||||
#include "eoRnd.h"
|
||||
#include <eoExternalEO.h>
|
||||
#include <eoOp.h>
|
||||
#include <utils/eoRNG.h>
|
||||
|
||||
template <class F, class External>
|
||||
class eoExternalInitFunc
|
||||
|
|
@ -38,4 +38,6 @@ class eoExternalInitFunc
|
|||
|
||||
public :
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Reference in a new issue