-
Notifications
You must be signed in to change notification settings - Fork 7
/
Min.hpp
executable file
·37 lines (27 loc) · 1.14 KB
/
Min.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
36
37
/***************************************************************************
* (c) 2008-2011 Aleksandar Topuzović *
* <[email protected]>, <[email protected]> *
***************************************************************************/
#ifndef Min_hpp
#define Min_hpp
#include "beagle/GP.hpp"
#include "sqlite3.h"
#include "Context.hpp"
#include <string>
#ifdef BEAGLE_HAVE_RTTI
#include <typeinfo>
#endif // BEAGLE_HAVE_RTTI
class Min : public Beagle::GP::Primitive {
public:
typedef Beagle::AllocatorT<Min,Beagle::GP::Primitive::Alloc> Alloc;
typedef Beagle::PointerT<Min,Beagle::GP::Primitive::Handle> Handle;
typedef Beagle::ContainerT<Min,Beagle::GP::Primitive::Bag> Bag;
explicit Min();
virtual ~Min() { }
#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 // Min_hpp