|
Safe DDS
|
Static size string that copies a string into a fixed size array. More...
#include <StaticString.hpp>
Public Member Functions | |
| StaticString () noexcept | |
| StaticString constructor. More... | |
| StaticString (char const *const string) noexcept | |
| StaticString constructor. More... | |
| StaticString (const memory::IStringView &string_view) noexcept | |
| StaticString constructor from IStringView. More... | |
| virtual | ~StaticString () noexcept=default |
| Virtual destructor. More... | |
| StaticString (const StaticString &) noexcept=default | |
| Copy allowed. More... | |
| StaticString (StaticString &&) noexcept=default | |
| Movement allowed. More... | |
| StaticString & | operator= (const StaticString &) noexcept=default |
| Copy operator allowed. More... | |
| StaticString & | operator= (StaticString &&) noexcept=default |
| Movement operator allowed. More... | |
| uint32_t | const_string_size () const noexcept override |
| Retrieves the size of the string. More... | |
| char const * | const_string_data () const noexcept override |
| Retrieves a const pointer to the string. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from eprosima::safedds::memory::IStringView | |
| ~IStringView () noexcept=default | |
| Protected destructor ownership defined on creation. More... | |
| IStringView () noexcept=default | |
| Default creation. More... | |
| IStringView (const IStringView &) noexcept=default | |
| Copy allowed. More... | |
| IStringView (IStringView &&) noexcept=default | |
| Movement allowed. More... | |
| IStringView & | operator= (const IStringView &) noexcept=default |
| Copy operator allowed. More... | |
| IStringView & | operator= (IStringView &&) noexcept=default |
| Movement operator allowed. More... | |
Static size string that copies a string into a fixed size array.
|
inlinenoexcept |
StaticString constructor.
|
inlineexplicitnoexcept |
StaticString constructor.
| string | const char* to copy. |
|
inlineexplicitnoexcept |
StaticString constructor from IStringView.
| string_view | const IStringView to copy. |
|
virtualdefaultnoexcept |
Virtual destructor.
|
defaultnoexcept |
Copy allowed.
|
defaultnoexcept |
Movement allowed.
|
inlineoverridevirtualnoexcept |
Retrieves a const pointer to the string.
Implements eprosima::safedds::memory::IStringView.
|
inlineoverridevirtualnoexcept |
Retrieves the size of the string.
Implements eprosima::safedds::memory::IStringView.
|
defaultnoexcept |
Copy operator allowed.
|
defaultnoexcept |
Movement operator allowed.