Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 25, 2010, 1:04:55 PM (14 years ago)
Author:
landauf
Message:

progress on the new console command interface.
enhanced possibilities to compare Functors and to manipulate Executors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/consolecommands3/src/libraries/core/command/Executor.h

    r7212 r7214  
    6363            bool evaluate(const std::string& params, MultiType param[5], const std::string& delimiter = " ") const;
    6464
     65            inline void setFunctor(const FunctorPtr& functor)
     66                { this->functor_ = functor; }
    6567            inline const FunctorPtr& getFunctor() const
    6668                { return this->functor_; }
     69
     70            inline void setName(const std::string& name)
     71                { this->name_ = name; }
     72            inline const std::string& getName() const
     73                { return this->name_; }
     74
    6775            inline unsigned int getParamCount() const
    6876                { return this->functor_->getParamCount(); }
     
    7583            inline std::string getTypenameReturnvalue() const
    7684                { return this->functor_->getTypenameReturnvalue(); }
    77 
    78             inline void setName(const std::string& name)
    79                 { this->name_ = name; }
    80             inline const std::string& getName() const
    81                 { return this->name_; }
    8285
    8386            void setDefaultValues(const MultiType& param1);
Note: See TracChangeset for help on using the changeset viewer.