pcrecpparg.h File Reference

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

Go to the source code of this file.

Namespaces

namespace  pcrecpp

Classes

class  pcrecpp::_RE_MatchObject< T >
class  pcrecpp::Arg

Defines

#define PCRE_MAKE_PARSER(type, name)
#define PCRE_DECLARE_INTEGER_PARSER(name)
#define MAKE_INTEGER_PARSER(type, name)

Functions

 pcrecpp::MAKE_INTEGER_PARSER (short, short) MAKE_INTEGER_PARSER(unsigned short
ushort pcrecpp::MAKE_INTEGER_PARSER (int, int) MAKE_INTEGER_PARSER(unsigned int
ushort uint pcrecpp::MAKE_INTEGER_PARSER (long, long) MAKE_INTEGER_PARSER(unsigned long
ushort uint ulong pcrecpp::MAKE_INTEGER_PARSER (long long, longlong) MAKE_INTEGER_PARSER(unsigned long long


Define Documentation

#define MAKE_INTEGER_PARSER ( type,
name   ) 

Value:

inline Arg Hex(type* ptr) { \
    return Arg(ptr, Arg::parse_ ## name ## _hex); } \
  inline Arg Octal(type* ptr) { \
    return Arg(ptr, Arg::parse_ ## name ## _octal); } \
  inline Arg CRadix(type* ptr) { \
    return Arg(ptr, Arg::parse_ ## name ## _cradix); }

Definition at line 145 of file pcrecpparg.h.

#define PCRE_DECLARE_INTEGER_PARSER ( name   ) 

Value:

private:                                                                   \
  static bool parse_ ## name(const char* str, int n, void* dest);           \
  static bool parse_ ## name ## _radix(                                     \
    const char* str, int n, void* dest, int radix);                         \
 public:                                                                    \
  static bool parse_ ## name ## _hex(const char* str, int n, void* dest);   \
  static bool parse_ ## name ## _octal(const char* str, int n, void* dest); \
  static bool parse_ ## name ## _cradix(const char* str, int n, void* dest)

Definition at line 115 of file pcrecpparg.h.

#define PCRE_MAKE_PARSER ( type,
name   ) 

Value:

Arg(type* p) : arg_(p), parser_(name) { }                     \
  Arg(type* p, Parser parser) : arg_(p), parser_(parser) { }

Definition at line 67 of file pcrecpparg.h.


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