Changeset 2348


Ignore:
Timestamp:
Nov 13, 2010, 5:50:31 PM (12 years ago)
Author:
Peter
Message:

allow changing description after construction.

Location:
trunk/yat/utility
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/Option.cc

    r2210 r2348  
    6969  {
    7070    return description_;
     71  }
     72
     73
     74  void Option::description(const std::string& description)
     75  {
     76    description_ = description;
    7177  }
    7278
  • trunk/yat/utility/Option.h

    r2119 r2348  
    5757    */
    5858    std::string description(void) const;
     59
     60    /**
     61       \brief set description
     62
     63       \since New in yat 0.7
     64    */
     65    void description(const std::string& description);
    5966
    6067    /**
Note: See TracChangeset for help on using the changeset viewer.