supertux
Public Member Functions | List of all members
BoolObjectOption Class Referencefinal
Inheritance diagram for BoolObjectOption:
Inheritance graph
[legend]
Collaboration diagram for BoolObjectOption:
Collaboration graph
[legend]

Public Member Functions

 BoolObjectOption (const std::string &text, bool *pointer, const std::string &key, std::optional< bool > default_value, unsigned int flags)
 
virtual void save (Writer &write) const override
 
virtual std::string to_string () const override
 
virtual void add_to_menu (Menu &menu) const override
 
- Public Member Functions inherited from ObjectOption< bool >
 ObjectOption (const std::string &text, const std::string &key, unsigned int flags, bool *pointer=nullptr)
 
virtual bool * get_value () const
 
- Public Member Functions inherited from BaseObjectOption
 BaseObjectOption (const std::string &text, const std::string &key, unsigned int flags)
 
const std::string & get_key () const
 
const std::string & get_text () const
 
unsigned int get_flags () const
 

Additional Inherited Members

- Protected Attributes inherited from ObjectOption< bool >
bool *const m_value_pointer
 
- Protected Attributes inherited from BaseObjectOption
const std::string m_text
 
const std::string m_key
 
const unsigned int m_flags
 

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