spot 2.13
|
A laxist environment. More...
#include <spot/tl/defaultenv.hh>
Public Member Functions | |
virtual formula | require (const std::string &prop_str) override |
Obtain the formula associated to prop_str. More... | |
virtual const std::string & | name () const override |
Get the name of the environment. More... | |
Static Public Member Functions | |
static default_environment & | instance () |
Get the sole instance of spot::default_environment. More... | |
A laxist environment.
This environment recognizes all atomic propositions.
This is a singleton. Use default_environment::instance() to obtain the instance.
|
static |
Get the sole instance of spot::default_environment.
|
overridevirtual |
Get the name of the environment.
Implements spot::environment.
|
overridevirtual |
Obtain the formula associated to prop_str.
Usually prop_str, is the name of an atomic proposition, and spot::require simply returns the associated spot::formula.
Note this is not a const
method. Some environments will "create" the atomic proposition when requested.
Implements spot::environment.