|
SObjectizer
5.5
|
A type for storing prefix of data_source name. More...
#include <prefix.hpp>
Public Member Functions | |
| prefix_t () | |
| Default constructor creates empty prefix. More... | |
| prefix_t (const char *value) | |
| Initializing constructor. More... | |
| prefix_t (const std::string &value) | |
| Initializing constructor. More... | |
| const char * | c_str () const |
| Access to prefix value. More... | |
| bool | empty () const |
| Is prefix empty? More... | |
| bool | operator== (const prefix_t &o) const |
| Is equal? More... | |
| bool | operator!= (const prefix_t &o) const |
| Is not equal? More... | |
| bool | operator< (const prefix_t &o) const |
| Is less than? More... | |
Static Public Attributes | |
| static constexpr const std::size_t | max_length = 47 |
| Max length of prefix (not including 0-symbol at the end). More... | |
| static constexpr const std::size_t | max_buffer_size = max_length + 1 |
| Max size of buffer for prefix value (including 0-symbol at the end). More... | |
Private Attributes | |
| char | m_value [max_buffer_size] |
| Actual value. More... | |
A type for storing prefix of data_source name.
|
inline |
Default constructor creates empty prefix.
|
inline |
Initializing constructor.
Gets no more than max_length symbols.
|
inline |
Initializing constructor.
Gets no more than max_length symbols.
|
inline |
Access to prefix value.
|
inline |
Is prefix empty?
|
inline |
Is not equal?
|
inline |
Is less than?
|
inline |
Is equal?
|
private |
Actual value.
|
static |
Max size of buffer for prefix value (including 0-symbol at the end).
|
static |
Max length of prefix (not including 0-symbol at the end).
1.8.14