43 #include <lifev/core/util/StringUtility.hpp> 64 bool set ( std::string
const& a );
66 bool set (
const char* a );
70 bool unset ( std::string
const& a );
72 bool unset (
const char* a );
76 bool toggle ( std::string
const& a );
78 bool toggle (
const char* a );
82 void create ( std::string
const& a,
bool status =
false );
83 void create (
const char* a,
bool status =
false );
85 std::ostream&
showMe (
bool verbose =
false, std::ostream& out = std::cout )
const;
91 bool test ( std::string
const& a )
const;
93 bool test (
const char* a )
const;
98 std::pair<
bool,
bool>
status ( std::string
const& a )
const;
100 std::pair<
bool,
bool>
status (
const char* a )
const;
I use standard constructor/destructors.
bool toggle(std::string const &a)
It toggles the switch Returns true if the switch s existed.
std::ostream & showMe(bool verbose=false, std::ostream &out=std::cout) const
std::pair< bool, bool > status(std::string const &a) const
void updateInverseJacobian(const UInt &iQuadPt)
void create(const char *a, bool status=false)
void create(std::string const &a, bool status=false)
Creates a switch (default is OFF) It sets the switch if it is there.
bool unset(std::string const &a)
It unsets the switch.
std::pair< bool, bool > status(const char *a) const
bool set(std::string const &a)
It sets the switch It does NOT create a new switch (use create); Returns true if the switch s existed...
bool test(std::string const &a) const
bool unset(const char *a)
std::map< std::string, bool >::const_iterator iteratorConst_Type
bool toggle(const char *a)
std::map< std::string, bool >::iterator iterator_Type
bool test(const char *a) const