Overview Tutorial API reference Examples Build Download ZmqMessage 0.1 - 21 Oct 2011

StringFace Class Reference

#include <StringFace.hpp>

List of all members.

Public Member Functions

const char * data () const
size_t length () const
 StringFace ()
 StringFace (const char *p, size_t len)
bool operator== (const std::string &s)
bool operator== (const char *s)


Detailed Description

Example (and also minimal) implementation of string concept required for ZMQMESSAGE_STRING_CLASS . This string-like class just wraps memory, not owns it.
Examples:

zbisort.cpp.


Constructor & Destructor Documentation

StringFace::StringFace (  )  [inline]

StringFace::StringFace ( const char *  p,
size_t  len 
) [inline]


Member Function Documentation

const char* StringFace::data (  )  const [inline]

size_t StringFace::length (  )  const [inline]

bool StringFace::operator== ( const char *  s  )  [inline]

bool StringFace::operator== ( const std::string &  s  )  [inline]


The documentation for this class was generated from the following file:
ZmqMessage 0.1 — open source software, support@zmqmessage.org