-
Notifications
You must be signed in to change notification settings - Fork 7
/
GreaterThan.hpp
executable file
·35 lines (25 loc) · 1.17 KB
/
GreaterThan.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/***************************************************************************
* (c) 2008-2011 Aleksandar Topuzović *
* <aleksandar.topuzovic@fer.hr>, <aleksandar.topuzovic@gmail.com> *
***************************************************************************/
#ifndef GreaterThan_hpp
#define GreaterThan_hpp
#include "beagle/GP.hpp"
#include <string>
#ifdef BEAGLE_HAVE_RTTI
#include <typeinfo>
#endif // BEAGLE_HAVE_RTTI
class GreaterThan : public Beagle::GP::Primitive {
public:
typedef Beagle::AllocatorT<GreaterThan,Beagle::GP::Primitive::Alloc> Alloc;
typedef Beagle::PointerT<GreaterThan,Beagle::GP::Primitive::Handle> Handle;
typedef Beagle::ContainerT<GreaterThan,Beagle::GP::Primitive::Bag> Bag;
explicit GreaterThan();
virtual ~GreaterThan() { }
#ifdef BEAGLE_HAVE_RTTI
virtual const std::type_info* getArgType(unsigned int inN, Beagle::GP::Context& ioContext) const;
virtual const std::type_info* getReturnType(Beagle::GP::Context& ioContext) const;
#endif // BEAGLE_HAVE_RTTI
virtual void execute(Beagle::GP::Datum& outDatum, Beagle::GP::Context& ioContext);
};
#endif // GreaterThan_hpp