libe3 0.6.1
C++ library for E3AP RAN vendor integration
Loading...
Searching...
No Matches
libe3::e2sm_dapp::printable_string< LB, UB, Ext, Aligned > Class Template Reference

PrintableString (SIZE(LB..UB)). More...

#include <e2sm_dapp.hpp>

Public Member Functions

printable_string & from_string (const std::string &s)
const std::string & to_string () const
size_t size () const
size_t length () const
bool operator== (const printable_string &o) const
bool operator!= (const printable_string &o) const

Detailed Description

template<uint32_t LB, uint32_t UB, bool Ext = false, bool Aligned = true>
class libe3::e2sm_dapp::printable_string< LB, UB, Ext, Aligned >

PrintableString (SIZE(LB..UB)).

Definition at line 77 of file e2sm_dapp.hpp.

Member Function Documentation

◆ from_string()

template<uint32_t LB, uint32_t UB, bool Ext = false, bool Aligned = true>
printable_string & libe3::e2sm_dapp::printable_string< LB, UB, Ext, Aligned >::from_string ( const std::string & s)
inline
Parameters
svalue to hold
Returns
this string

Definition at line 82 of file e2sm_dapp.hpp.

◆ length()

template<uint32_t LB, uint32_t UB, bool Ext = false, bool Aligned = true>
size_t libe3::e2sm_dapp::printable_string< LB, UB, Ext, Aligned >::length ( ) const
inline
Returns
length in characters

Definition at line 92 of file e2sm_dapp.hpp.

◆ operator!=()

template<uint32_t LB, uint32_t UB, bool Ext = false, bool Aligned = true>
bool libe3::e2sm_dapp::printable_string< LB, UB, Ext, Aligned >::operator!= ( const printable_string< LB, UB, Ext, Aligned > & o) const
inline
Parameters
ostring to compare with
Returns
true when the strings differ

Definition at line 98 of file e2sm_dapp.hpp.

◆ operator==()

template<uint32_t LB, uint32_t UB, bool Ext = false, bool Aligned = true>
bool libe3::e2sm_dapp::printable_string< LB, UB, Ext, Aligned >::operator== ( const printable_string< LB, UB, Ext, Aligned > & o) const
inline
Parameters
ostring to compare with
Returns
true when both hold the same characters

Definition at line 95 of file e2sm_dapp.hpp.

◆ size()

template<uint32_t LB, uint32_t UB, bool Ext = false, bool Aligned = true>
size_t libe3::e2sm_dapp::printable_string< LB, UB, Ext, Aligned >::size ( ) const
inline
Returns
length in characters

Definition at line 90 of file e2sm_dapp.hpp.

◆ to_string()

template<uint32_t LB, uint32_t UB, bool Ext = false, bool Aligned = true>
const std::string & libe3::e2sm_dapp::printable_string< LB, UB, Ext, Aligned >::to_string ( ) const
inline
Returns
the held value

Definition at line 88 of file e2sm_dapp.hpp.


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