|
xapian-core
2.0.0
|
Debug positional data. More...
#include <config.h>#include <xapian.h>#include <xapian/iterator.h>#include <iostream>#include <cerrno>#include <cstdlib>#include <limits>#include "gnu_getopt.h"#include "heap.h"#include "parseint.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 () |
| 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 92 of file xapian-pos.cc.
References gnu_getopt_long(), long_opts, Heap::make(), no_argument, OPT_HELP, OPT_VERSION, optarg, optind, optional_argument, PACKAGE_STRING, parse_unsigned(), Heap::pop(), pos, Xapian::Database::positionlist_begin(), Xapian::Database::positionlist_end(), PROG_DESC, PROG_NAME, Xapian::Database::reconstruct_text(), Heap::replace(), required_argument, show_usage(), Xapian::PositionIterator::skip_to(), term, Xapian::Database::termlist_begin(), and Xapian::Database::termlist_end().
|
static |