73 |
*/ |
*/ |
74 |
class VMEmptyResultFunction : public VMFunction { |
class VMEmptyResultFunction : public VMFunction { |
75 |
protected: |
protected: |
76 |
|
virtual ~VMEmptyResultFunction() {} |
77 |
ExprType_t returnType() { return EMPTY_EXPR; } |
ExprType_t returnType() { return EMPTY_EXPR; } |
78 |
VMFnResult* errorResult(); |
VMFnResult* errorResult(); |
79 |
VMFnResult* successResult(); |
VMFnResult* successResult(); |
88 |
*/ |
*/ |
89 |
class VMIntResultFunction : public VMFunction { |
class VMIntResultFunction : public VMFunction { |
90 |
protected: |
protected: |
91 |
|
virtual ~VMIntResultFunction() {} |
92 |
ExprType_t returnType() { return INT_EXPR; } |
ExprType_t returnType() { return INT_EXPR; } |
93 |
VMFnResult* errorResult(int i = 0); |
VMFnResult* errorResult(int i = 0); |
94 |
VMFnResult* successResult(int i = 0); |
VMFnResult* successResult(int i = 0); |
103 |
*/ |
*/ |
104 |
class VMStringResultFunction : public VMFunction { |
class VMStringResultFunction : public VMFunction { |
105 |
protected: |
protected: |
106 |
|
virtual ~VMStringResultFunction() {} |
107 |
ExprType_t returnType() { return STRING_EXPR; } |
ExprType_t returnType() { return STRING_EXPR; } |
108 |
VMFnResult* errorResult(const String& s = ""); |
VMFnResult* errorResult(const String& s = ""); |
109 |
VMFnResult* successResult(const String& s = ""); |
VMFnResult* successResult(const String& s = ""); |