ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
List of all members
ocpp::MessageId Class Reference

Contains a MessageId implementation based on a case insensitive string with a maximum length of 36 printable ASCII characters. More...

#include <call_types.hpp>

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

Additional Inherited Members

- Public Member Functions inherited from ocpp::CiString< 36 >
 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

Contains a MessageId implementation based on a case insensitive string with a maximum length of 36 printable ASCII characters.


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