RavEngine
Loading...
Searching...
No Matches
ozz::options::Option Class Referenceabstract
Inheritance diagram for ozz::options::Option:
[legend]

Public Member Functions

const char * name () const
 
const char * help () const
 
bool statisfied () const
 
bool required () const
 
bool Validate (int _argc)
 
bool Parse (const char *_argv)
 
void RestoreDefault ()
 
virtual ozz::string FormatDefault () const =0
 
virtual const char * FormatType () const =0
 
bool operator< (const Option &_option) const
 

Protected Types

typedef bool(* ValidateFn) (const Option &_option, int _argc)
 

Protected Member Functions

 Option (const char *_name, const char *_help, bool _required, ValidateFn _validate=nullptr)
 
virtual bool ParseImpl (const char *_argv)=0
 
virtual void RestoreDefaultImpl ()=0
 

The documentation for this class was generated from the following files: