digiKam
option_MEMode Class Reference
+ Inheritance diagram for option_MEMode:

Public Member Functions

void add_choice (const std::string &s, enum MEMode id, bool default_value=false)
 
void add_namespace_prefix (std::string prefix)
 
std::vector< std::string > get_choice_names () const
 
const char ** get_choices_string_table () const
 
std::string get_default_string () const
 
std::string get_description () const
 
std::string get_name () const
 
const enum MEMode getID () const
 
std::string getLongOption () const
 
char getShortOption () const
 
virtual std::string getTypeDescr () const
 
const std::string & getValue () const
 
virtual bool has_default () const
 
bool has_description () const
 
bool hasLongOption () const
 
bool hasShortOption () const
 
virtual bool is_defined () const
 
bool is_undefined () const
 
bool isValidValue () const
 
enum MEMode operator() () const
 
 option_MEMode ()
 
virtual LIBDE265_API bool processCmdLineArguments (char **argv, int *argc, int idx)
 
bool set (std::string v)
 
void set_cmd_line_options (const char *long_option, char short_option=0)
 
void set_default (enum MEMode val)
 
void set_description (std::string descr)
 
void set_ID (const char *name)
 
void set_short_option (char short_option)
 
bool set_value (const std::string &val)
 
void setID (enum MEMode id)
 
void unsetCmdLineOption ()
 

Protected Member Functions

void invalidate_choices_string_table ()
 

Constructor & Destructor Documentation

◆ option_MEMode()

option_MEMode::option_MEMode ( )
inline

Member Function Documentation

◆ add_choice()

void choice_option< enum MEMode >::add_choice ( const std::string &  s,
enum MEMode  id,
bool  default_value = false 
)
inlineinherited

◆ add_namespace_prefix()

void option_base::add_namespace_prefix ( std::string  prefix)
inlineinherited

References prefix.

◆ get_choice_names()

std::vector<std::string> choice_option< enum MEMode >::get_choice_names ( ) const
inlinevirtualinherited

Implements choice_option_base.

◆ get_choices_string_table()

const char** choice_option_base::get_choices_string_table ( ) const
inherited

◆ get_default_string()

std::string choice_option< enum MEMode >::get_default_string ( ) const
inlinevirtualinherited

Reimplemented from option_base.

◆ get_description()

std::string option_base::get_description ( ) const
inlineinherited

◆ get_name()

std::string option_base::get_name ( ) const
inlineinherited

◆ getID()

const enum MEMode choice_option< enum MEMode >::getID ( ) const
inlineinherited

◆ getLongOption()

std::string option_base::getLongOption ( ) const
inlineinherited

◆ getShortOption()

char option_base::getShortOption ( ) const
inlineinherited

◆ getTypeDescr()

virtual std::string choice_option_base::getTypeDescr ( ) const
virtualinherited

Implements option_base.

◆ getValue()

const std::string& choice_option< enum MEMode >::getValue ( ) const
inlineinherited

◆ has_default()

virtual bool choice_option< enum MEMode >::has_default ( ) const
inlinevirtualinherited

Implements option_base.

◆ has_description()

bool option_base::has_description ( ) const
inlineinherited

◆ hasLongOption()

bool option_base::hasLongOption ( ) const
inlineinherited

◆ hasShortOption()

bool option_base::hasShortOption ( ) const
inlineinherited

◆ invalidate_choices_string_table()

void choice_option_base::invalidate_choices_string_table ( )
inlineprotectedinherited

◆ is_defined()

virtual bool choice_option< enum MEMode >::is_defined ( ) const
inlinevirtualinherited

Implements option_base.

◆ is_undefined()

bool option_base::is_undefined ( ) const
inlineinherited

◆ isValidValue()

bool choice_option< enum MEMode >::isValidValue ( ) const
inlineinherited

◆ operator()()

enum MEMode choice_option< enum MEMode >::operator() ( ) const
inlineinherited

◆ processCmdLineArguments()

virtual LIBDE265_API bool choice_option_base::processCmdLineArguments ( char **  argv,
int *  argc,
int  idx 
)
virtualinherited

Reimplemented from option_base.

◆ set()

bool choice_option_base::set ( std::string  v)
inlineinherited

◆ set_cmd_line_options()

void option_base::set_cmd_line_options ( const char *  long_option,
char  short_option = 0 
)
inlineinherited

◆ set_default()

void choice_option< enum MEMode >::set_default ( enum MEMode  val)
inlineinherited

◆ set_description()

void option_base::set_description ( std::string  descr)
inlineinherited

◆ set_ID()

◆ set_short_option()

void option_base::set_short_option ( char  short_option)
inlineinherited

◆ set_value()

bool choice_option< enum MEMode >::set_value ( const std::string &  val)
inlinevirtualinherited

Implements choice_option_base.

◆ setID()

void choice_option< enum MEMode >::setID ( enum MEMode  id)
inlineinherited

◆ unsetCmdLineOption()

void option_base::unsetCmdLineOption ( )
inlineinherited

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