Changeset 1417 for code/branches/console/src/core/CommandEvaluation.h
- Timestamp:
- May 25, 2008, 2:56:09 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/console/src/core/CommandEvaluation.h
r1402 r1417 55 55 class _CoreExport CommandEvaluation 56 56 { 57 friend class CommandExecutor; 58 57 59 public: 58 60 CommandEvaluation(); … … 66 68 67 69 bool isValid() const; 68 69 inline Identifier* getIdentifier() const70 { return this->functionclass_; }71 inline void setIdentifier(Identifier* identifier)72 { this->functionclass_ = identifier; }73 inline ConsoleCommand* getFunction() const74 { return this->function_; }75 inline void setFunction(ConsoleCommand* command)76 { this->function_ = command; }77 78 inline const std::string& getOriginalCommand() const79 { return this->originalCommand_; }80 inline const std::string& getCommand() const81 { return this->command_; }82 inline void setCommand(const std::string& command)83 { this->command_ = command; }84 inline const CommandState& getState() const85 { return this->state_; }86 inline void setState(CommandState state)87 { this->state_ = state; }88 inline SubString& getTokens()89 { return this->commandTokens_; }90 inline void setTokens(const std::string& command)91 { this->commandTokens_.split(command, " ", SubString::WhiteSpaces, false, '\\', false, '"', false, '(', ')', false, '\0'); }92 inline const std::string& getError() const93 { return this->errorMessage_; }94 inline void setError(const std::string& error)95 { this->errorMessage_ = error; }96 inline bool isNewCommand() const97 { return this->bNewCommand_; }98 inline void setNewCommand(bool bNewCommand)99 { this->bNewCommand_ = bNewCommand; }100 101 inline std::list<std::pair<const std::string*, const std::string*> >& getListOfPossibleIdentifiers()102 { return this->listOfPossibleIdentifiers_; }103 inline std::list<std::pair<const std::string*, const std::string*> >& getListOfPossibleFunctions()104 { return this->listOfPossibleFunctions_; }105 inline std::list<std::pair<const std::string*, const std::string*> >& getListOfPossibleArguments()106 { return this->listOfPossibleArguments_; }107 70 108 71 inline void setAdditionalParameter(const std::string& param)
Note: See TracChangeset
for help on using the changeset viewer.