sst-waveshapers
Waveshapers submodule for the Surge Synthesizer
Public Member Functions | List of all members
Option< T > Class Template Reference

Public Member Functions

 Option ()
 
 Option (T const &_value)
 
 Option (Option const &_other)
 
 ~Option ()
 
Optionoperator= (Option const &_other)
 
Optionoperator= (T const &_value)
 
void reset ()
 
T & operator* ()
 
T const & operator* () const
 
T * operator-> ()
 
const T * operator-> () const
 
valueOr (T const &defaultValue) const
 
bool some () const
 
bool none () const
 
bool operator! () const
 
 operator bool () const
 

Constructor & Destructor Documentation

◆ Option() [1/3]

Option ( )

◆ Option() [2/3]

Option ( T const &  _value)

◆ Option() [3/3]

Option ( Option< T > const &  _other)

◆ ~Option()

~Option ( )

Member Function Documentation

◆ operator=() [1/2]

Option& operator= ( Option< T > const &  _other)

◆ operator=() [2/2]

Option& operator= ( T const &  _value)

◆ reset()

void reset ( )

◆ operator*() [1/2]

T& operator* ( )

◆ operator*() [2/2]

T const& operator* ( ) const

◆ operator->() [1/2]

T* operator-> ( )

◆ operator->() [2/2]

const T* operator-> ( ) const

◆ valueOr()

T valueOr ( T const &  defaultValue) const

◆ some()

bool some ( ) const

◆ none()

bool none ( ) const

◆ operator!()

bool operator! ( ) const

◆ operator bool()

operator bool ( ) const
explicit

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