|
xapian-core
1.4.30
|
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.
| #define OPT_VERSION 2 |
Definition at line 43 of file xapian-pos.cc.
| #define PROG_DESC "Debug positional data in a Xapian database" |
Definition at line 40 of file xapian-pos.cc.
| #define PROG_NAME "xapian-pos" |
Definition at line 39 of file xapian-pos.cc.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 112 of file xapian-pos.cc.
References gnu_getopt_long(), long_opts, 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().