|
Elements
5.10
A C++ base framework for the Euclid Software.
|
proxy class to overload the assignment More...
#include <Environment.h>
Public Member Functions | |
| Variable ()=delete | |
| Variable (Environment &env, const std::string &index) | |
| Variable (const Variable &other) | |
| Variable (Variable &&other) | |
| Variable & | operator= (const Variable &other) |
| Variable & | operator= (Variable &&other) |
| Variable & | operator= (const std::string &) |
| Variable & | set (const std::string &) |
| Variable & | unSet () |
| Variable & | append (const std::string &) |
| Variable & | operator+= (const std::string &) |
| Variable & | prepend (const std::string &) |
| Variable | operator+ (const std::string &) |
| const std::string & | index () const |
| Environment & | env () const |
| std::string | value () const |
| operator std::string () const | |
| to string converter More... | |
| bool | empty () const |
| bool | exists () const |
Private Member Functions | |
| void | checkCompatibility (const Variable &) |
Private Attributes | |
| std::reference_wrapper< Environment > | m_env |
| a copiable and movable reference More... | |
| std::string | m_index |
| The Name of the variable. More... | |
proxy class to overload the assignment
Definition at line 91 of file Environment.h.
|
delete |
| Elements::Environment::Variable::Variable | ( | Environment & | env, |
| const std::string & | index | ||
| ) |
Definition at line 47 of file Environment.cpp.
| Elements::Environment::Variable::Variable | ( | const Variable & | other | ) |
Definition at line 50 of file Environment.cpp.
References m_env.
| Elements::Environment::Variable::Variable | ( | Environment::Variable && | other | ) |
Definition at line 56 of file Environment.cpp.
References std::move().
| Environment::Variable & Elements::Environment::Variable::append | ( | const std::string & | arg_value | ) |
Definition at line 102 of file Environment.cpp.
References append().
Referenced by append(), and operator+().
|
private |
Definition at line 159 of file Environment.cpp.
References m_index, and std::stringstream::str().
| bool Elements::Environment::Variable::empty | ( | ) | const |
Definition at line 151 of file Environment.cpp.
| Environment & Elements::Environment::Variable::env | ( | ) | const |
Definition at line 136 of file Environment.cpp.
Referenced by Elements::operator+().
| bool Elements::Environment::Variable::exists | ( | ) | const |
Definition at line 155 of file Environment.cpp.
| const string & Elements::Environment::Variable::index | ( | ) | const |
Definition at line 132 of file Environment.cpp.
Referenced by Elements::operator+().
| Elements::Environment::Variable::operator std::string | ( | ) | const |
to string converter
Definition at line 147 of file Environment.cpp.
| Environment::Variable Elements::Environment::Variable::operator+ | ( | const std::string & | arg_value | ) |
Definition at line 122 of file Environment.cpp.
References append().
| Environment::Variable & Elements::Environment::Variable::operator+= | ( | const std::string & | arg_value | ) |
Definition at line 109 of file Environment.cpp.
References Elements::Environment::append().
| Environment::Variable & Elements::Environment::Variable::operator= | ( | const Variable & | other | ) |
Definition at line 62 of file Environment.cpp.
References m_env.
| Environment::Variable & Elements::Environment::Variable::operator= | ( | Environment::Variable && | other | ) |
Definition at line 71 of file Environment.cpp.
| Environment::Variable & Elements::Environment::Variable::operator= | ( | const std::string & | arg_value | ) |
Definition at line 81 of file Environment.cpp.
| Environment::Variable & Elements::Environment::Variable::prepend | ( | const std::string & | arg_value | ) |
Definition at line 115 of file Environment.cpp.
References prepend().
Referenced by Elements::operator+(), and prepend().
| Environment::Variable & Elements::Environment::Variable::set | ( | const std::string & | arg_value | ) |
Definition at line 88 of file Environment.cpp.
References set().
Referenced by set().
| Environment::Variable & Elements::Environment::Variable::unSet | ( | ) |
Definition at line 95 of file Environment.cpp.
References unSet().
Referenced by unSet().
| string Elements::Environment::Variable::value | ( | ) | const |
Definition at line 141 of file Environment.cpp.
Referenced by Elements::operator<<().
|
private |
a copiable and movable reference
Definition at line 120 of file Environment.h.
Referenced by operator=(), and Variable().
|
private |
The Name of the variable.
Definition at line 123 of file Environment.h.
Referenced by checkCompatibility().
1.8.14