ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
Public Member Functions | List of all members
ocpp::CiString< L > Class Template Reference

Contains a CaseInsensitive string implementation that only allows printable ASCII characters. More...

#include <cistring.hpp>

Inheritance diagram for ocpp::CiString< L >:
ocpp::String< L >

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
 
CiStringoperator= (const CiString &)=default
 
CiStringoperator= (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.
 

Detailed Description

template<size_t L>
class ocpp::CiString< L >

Contains a CaseInsensitive string implementation that only allows printable ASCII characters.


The documentation for this class was generated from the following file: