|
ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
|
Contains a CaseInsensitive string implementation that only allows printable ASCII characters. More...
#include <cistring.hpp>
Public Member Functions | |
| CiString (const std::string &data, StringTooLarge to_large=StringTooLarge::Throw) | |
Creates a string from the given data. | |
| CiString (const char *data, StringTooLarge to_large=StringTooLarge::Throw) | |
| CiString (const CiString< L > &data) | |
| CiString () | |
| Creates a string. | |
| CiString (CiString &&)=default | |
| CiString & | operator= (const CiString &)=default |
| CiString & | operator= (CiString &&)=default |
| bool | is_valid (std::string_view data) |
| CaseInsensitive string implementation only allows printable ASCII characters. | |
| operator std::string () const | |
| Conversion operator to turn a String into std::string. | |
Public Member Functions inherited from ocpp::String< L > | |
| String (const std::string &data, StringTooLarge to_large=StringTooLarge::Throw) | |
Creates a string from the given data. | |
| String (const char *data, StringTooLarge to_large=StringTooLarge::Throw) | |
| String ()=default | |
| Creates a string. | |
| std::string | get () const |
| Provides a std::string representation of the string. More... | |
| void | set (const std::string &data, StringTooLarge to_large=StringTooLarge::Throw) |
Sets the content of the string to the given data. | |
| bool | is_valid (std::string_view data) |
| Override this to check for a specific format. | |
| operator std::string () | |
| Conversion operator to turn a String into std::string. | |
Contains a CaseInsensitive string implementation that only allows printable ASCII characters.