pcre_stringpiece.h File Reference

#include <string.h>
#include <string>
#include <iosfwd>
#include <pcre.h>

Go to the source code of this file.

Namespaces

namespace  pcrecpp

Classes

class  pcrecpp::StringPiece

Defines

#define STRINGPIECE_BINARY_PREDICATE(cmp, auxcmp)

Functions

std::ostream & operator<< (std::ostream &o, const pcrecpp::StringPiece &piece)


Define Documentation

#define STRINGPIECE_BINARY_PREDICATE ( cmp,
auxcmp   ) 

Value:

bool operator cmp (const StringPiece& x) const {                           \
    int r = memcmp(ptr_, x.ptr_, length_ < x.length_ ? length_ : x.length_); \
    return ((r auxcmp 0) || ((r == 0) && (length_ cmp x.length_)));          \
  }

Definition at line 120 of file pcre_stringpiece.h.


Function Documentation

std::ostream& operator<< ( std::ostream &  o,
const pcrecpp::StringPiece piece 
)

Definition at line 41 of file pcre_stringpiece.cc.

References pcrecpp::StringPiece::as_string().


Generated on Tue Jul 5 15:57:29 2011 for ROOT_528-00b_version by  doxygen 1.5.1