hmbdc
simplify-high-performance-messaging-programming
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
hmbdc::text::TypedString< NAME, SIZE > Struct Template Reference

Public Types

enum  { capacity = SIZE }
 
using rawType = char[SIZE]
 

Public Member Functions

 TypedString (char const *s, size_t len=SIZE)
 
 TypedString (std::string const &s)
 
char const * c_str () const
 
bool operator== (ThisT const &other) const
 
bool operator!= (ThisT const &other) const
 
bool operator< (ThisT const &other) const
 
void clear ()
 
size_t size () const
 
size_t copyTo (char *to) const
 

Static Public Member Functions

static char const * typeName ()
 

Friends

struct std::hash< TypedString< NAME, SIZE > >
 
std::ostream & operator<< (std::ostream &os, ThisT const &s)
 
std::istream & operator>> (std::istream &is, ThisT &s)
 

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