| 
    xapian-core
    1.4.29
    
   | 
 
Debug positional data. More...
#include <config.h>#include <xapian.h>#include <xapian/iterator.h>#include <iostream>#include <algorithm>#include <cerrno>#include <cstdlib>#include <limits>#include "gnu_getopt.h"#include "stringutils.h"
 Include dependency graph for xapian-pos.cc:Go to the source code of this file.
Classes | |
| class | Pos | 
| struct | PosCmp | 
Macros | |
| #define | PROG_NAME "xapian-pos" | 
| #define | PROG_DESC "Debug positional data in a Xapian database" | 
| #define | OPT_HELP 1 | 
| #define | OPT_VERSION 2 | 
Functions | |
| static void | show_usage () | 
| template<typename T > | |
| bool | to_unsigned_int (const char *s, T &result) | 
| int | main (int argc, char **argv) | 
Debug positional data.
Definition in file xapian-pos.cc.
| #define OPT_HELP 1 | 
Definition at line 42 of file xapian-pos.cc.
Referenced by main().
| #define OPT_VERSION 2 | 
Definition at line 43 of file xapian-pos.cc.
Referenced by main().
| #define PROG_DESC "Debug positional data in a Xapian database" | 
Definition at line 40 of file xapian-pos.cc.
Referenced by main().
| #define PROG_NAME "xapian-pos" | 
Definition at line 39 of file xapian-pos.cc.
Referenced by main(), and show_usage().
| int main | ( | int | argc, | 
| char ** | argv | ||
| ) | 
Definition at line 112 of file xapian-pos.cc.
References Xapian::Error::get_description(), gnu_getopt_long(), no_argument, OPT_HELP, OPT_VERSION, optarg, optind, PACKAGE_STRING, Xapian::Database::positionlist_begin(), Xapian::Database::positionlist_end(), PROG_DESC, PROG_NAME, required_argument, show_usage(), Xapian::PositionIterator::skip_to(), Xapian::Database::termlist_begin(), Xapian::Database::termlist_end(), and to_unsigned_int().
      
  | 
  static | 
| bool to_unsigned_int | ( | const char * | s, | 
| T & | result | ||
| ) | 
Definition at line 91 of file xapian-pos.cc.
Referenced by main().