Ardour  9.0-pre0-582-g084a23a80d
PBD::ConfigVariableWithMutation< std::string > Class Reference

#include <configuration_variable.h>

Inheritance diagram for PBD::ConfigVariableWithMutation< std::string >:
[legend]

Public Member Functions

 ConfigVariableWithMutation (std::string name, std::string val, std::string(*m)(std::string))
 
bool set (std::string val)
 
void set_from_string (std::string const &s)
 
- Public Member Functions inherited from PBD::ConfigVariable< std::string >
 ConfigVariable (std::string str)
 
 ConfigVariable (std::string str, std::string val)
 
std::string get () const
 
std::string get_as_string () const
 
- Public Member Functions inherited from PBD::ConfigVariableBase
 ConfigVariableBase (std::string str)
 
virtual ~ConfigVariableBase ()
 
std::string name () const
 
void add_to_node (XMLNode &) const
 
bool set_from_node (XMLNode const &)
 

Protected Member Functions

virtual std::string get_for_save ()
 
- Protected Member Functions inherited from PBD::ConfigVariableBase
void notify ()
 
void miss ()
 

Protected Attributes

std::string unmutated_value
 
std::string(* mutator )(std::string)
 
- Protected Attributes inherited from PBD::ConfigVariable< std::string >
std::string value
 
- Protected Attributes inherited from PBD::ConfigVariableBase
std::string _name
 

Detailed Description

Definition at line 146 of file configuration_variable.h.

Constructor & Destructor Documentation

◆ ConfigVariableWithMutation()

PBD::ConfigVariableWithMutation< std::string >::ConfigVariableWithMutation ( std::string  name,
std::string  val,
std::string(*)(std::string)  m 
)
inline

Definition at line 149 of file configuration_variable.h.

Member Function Documentation

◆ get_for_save()

virtual std::string PBD::ConfigVariableWithMutation< std::string >::get_for_save ( )
inlineprotectedvirtual

Reimplemented from PBD::ConfigVariable< std::string >.

Definition at line 165 of file configuration_variable.h.

◆ set()

bool PBD::ConfigVariableWithMutation< std::string >::set ( std::string  val)
inlinevirtual

Reimplemented from PBD::ConfigVariable< std::string >.

Definition at line 152 of file configuration_variable.h.

◆ set_from_string()

void PBD::ConfigVariableWithMutation< std::string >::set_from_string ( std::string const &  s)
inlinevirtual

Reimplemented from PBD::ConfigVariable< std::string >.

Definition at line 160 of file configuration_variable.h.

Member Data Documentation

◆ mutator

std::string(* PBD::ConfigVariableWithMutation< std::string >::mutator) (std::string)
protected

Definition at line 167 of file configuration_variable.h.

◆ unmutated_value

std::string PBD::ConfigVariableWithMutation< std::string >::unmutated_value
protected

Definition at line 166 of file configuration_variable.h.


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