SObjectizer
5.5
|
A class for the name which cannot be empty. More...
#include <nonempty_name.hpp>
Public Member Functions | |
nonempty_name_t (const char *name) | |
Constructor with check for the empty value. More... | |
nonempty_name_t (std::string name) | |
Constructor with check for the empty value. More... | |
nonempty_name_t (nonempty_name_t &&o) | |
nonempty_name_t & | operator= (nonempty_name_t &&o) |
const std::string & | query_name () const |
Get the value. More... | |
std::string | giveout_value () |
Get the value away from the object. More... | |
Private Member Functions | |
nonempty_name_t (const nonempty_name_t &)=delete | |
nonempty_name_t & | operator= (const nonempty_name_t &)=delete |
Private Attributes | |
std::string | m_nonempty_name |
Value. More... | |
Friends | |
void | swap (nonempty_name_t &a, nonempty_name_t &b) |
A class for the name which cannot be empty.
Checks value in the constructor. Throws an exception if the name is empty.
|
privatedelete |
|
inline |
Constructor with check for the empty value.
|
inline |
Constructor with check for the empty value.
|
inline |
|
inline |
Get the value away from the object.
|
privatedelete |
|
inline |
|
inline |
Get the value.
|
friend |
|
private |
Value.