tetengo 1.8.1
A multipurpose library set
|
A string input. More...
#include <string_input.hpp>
Public Member Functions | |
string_input (std::string value) | |
Creates a string input key. | |
virtual | ~string_input () |
Destroys the string input. | |
const std::string & | value () const |
Returns the value. | |
std::string & | value () |
Returns the value. | |
Public Member Functions inherited from tetengo::lattice::input | |
virtual | ~input () |
Destroys the input. | |
std::size_t | hash_value () const |
Returns the hash value. | |
std::size_t | length () const |
Returns the length. | |
std::unique_ptr< input > | clone () const |
Clone this input. | |
std::unique_ptr< input > | create_subrange (std::size_t offset, std::size_t length) const |
Creates a subrange. | |
void | append (std::unique_ptr< input > &&p_another) |
Appends another input. | |
template<typename C > | |
bool | is () const |
Returns true when this object can be casted to the specified concrete input. | |
template<typename C > | |
const C & | as () const |
Casts this object to the specified concrete input. | |
template<typename C > | |
C & | as () |
Casts this object to the specified concrete input. | |
A string input.
T | A type. |
|
explicit |
Creates a string input key.
value | A value. |
std::string & tetengo::lattice::string_input::value | ( | ) |
Returns the value.
const std::string & tetengo::lattice::string_input::value | ( | ) | const |
Returns the value.