Changeset 2278 for code/branches/buildsystem/src/core/Functor.h
- Timestamp:
- Nov 26, 2008, 5:35:16 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem/src/core/Functor.h
r1786 r2278 34 34 35 35 #include "util/MultiType.h" 36 #include "util/String.h" 36 37 #include "util/Debug.h" 37 38 … … 103 104 inline bool hasReturnvalue() const { return this->hasReturnValue_; } 104 105 inline FunctionType getType() const { return this->type_; } 105 inline MultiTypegetReturnvalue() const { return this->returnedValue_; }106 107 std::string getTypenameParam(unsigned int param) const { return (param >= 0 && param < 5) ? this->typeParam_[param] : ""; }108 std::stringgetTypenameReturnvalue() const { return this->typeReturnvalue_; }106 inline const MultiType& getReturnvalue() const { return this->returnedValue_; } 107 108 const std::string& getTypenameParam(unsigned int param) const { return (param < 5) ? this->typeParam_[param] : blankString; } 109 const std::string& getTypenameReturnvalue() const { return this->typeReturnvalue_; } 109 110 110 111 virtual void evaluateParam(unsigned int index, MultiType& param) const = 0;
Note: See TracChangeset
for help on using the changeset viewer.