Ignore:
Timestamp:
Oct 22, 2007, 2:55:19 AM (14 years ago)
Author:
Peter
Message:

adding possibility to make option required

File:
1 edited

Legend:

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

    r965 r980  
    9999    void validate(void);
    100100
     101  protected:
     102    /**
     103       \return const reference to CommandLine Option belongs to.
     104     */
     105    const CommandLine& cmd(void) const;
     106
    101107  private:
    102108    virtual void do_parse(std::vector<std::string>::iterator,
     
    124130
    125131
     132    const CommandLine& cmd_;
    126133    std::string description_;
    127134    std::string long_name_;
Note: See TracChangeset for help on using the changeset viewer.