api/valuerangeproc.cc File Reference

Standard ValueRangeProcessor subclass implementations. More...

#include <config.h>
#include <xapian/queryparser.h>
#include <stdio.h>
#include <stdlib.h>
#include "safeerrno.h"
#include <string>
#include "stringutils.h"

Include dependency graph for valuerangeproc.cc:

Go to the source code of this file.

Functions

static bool decode_xxy (const string &s, int &x1, int &x2, int &y)
static bool vet_dm (int d, int m)

Variables

static const char max_month_length [12]


Detailed Description

Standard ValueRangeProcessor subclass implementations.

Definition in file valuerangeproc.cc.


Function Documentation

static bool decode_xxy ( const string &  s,
int &  x1,
int &  x2,
int &  y 
) [static]

Definition at line 35 of file valuerangeproc.cc.

References atoi().

static bool vet_dm ( int  d,
int  m 
) [static]

Definition at line 65 of file valuerangeproc.cc.

References max_month_length.


Variable Documentation

const char max_month_length[12] [static]

Initial value:

 {
    31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31
}

Definition at line 60 of file valuerangeproc.cc.

Referenced by vet_dm().


Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.