From ea17d3262924f95a4fa721b3de6d7fe499bdcf14 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 5 Apr 2012 22:52:54 +0000 Subject: Added unique function and a workaround for non-matching inputs to rules passing the rule input filter. --- src/functionunique.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/functionunique.h (limited to 'src/functionunique.h') diff --git a/src/functionunique.h b/src/functionunique.h new file mode 100644 index 0000000..6bc4225 --- /dev/null +++ b/src/functionunique.h @@ -0,0 +1,16 @@ +#ifndef FUNCTION_UNIQUE_H +#define FUNCTION_UNIQUE_H + +#include "function.h" + +class FunctionUnique : public Function +{ +public: + FunctionUnique(); + virtual ~FunctionUnique(); + + virtual Bu::String getName() const; + virtual Variable call( Variable &input, VarList lParams ); +}; + +#endif -- cgit v1.2.3