Blame kccompare.cc

Packit 807167
/*************************************************************************************************
Packit 807167
 * Comparator functions
Packit 807167
 *                                                               Copyright (C) 2009-2012 FAL Labs
Packit 807167
 * This file is part of Kyoto Cabinet.
Packit 807167
 * This program is free software: you can redistribute it and/or modify it under the terms of
Packit 807167
 * the GNU General Public License as published by the Free Software Foundation, either version
Packit 807167
 * 3 of the License, or any later version.
Packit 807167
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
Packit 807167
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Packit 807167
 * See the GNU General Public License for more details.
Packit 807167
 * You should have received a copy of the GNU General Public License along with this program.
Packit 807167
 * If not, see <http://www.gnu.org/licenses/>.
Packit 807167
 *************************************************************************************************/
Packit 807167
Packit 807167
Packit 807167
#include "kccompare.h"
Packit 807167
#include "myconf.h"
Packit 807167
Packit 807167
namespace kyotocabinet {                 // common namespace
Packit 807167
Packit 807167
Packit 807167
/**
Packit 807167
 * Prepared pointer of the comparator in the lexical order.
Packit 807167
 */
Packit 807167
LexicalComparator lexicalfunc;
Packit 807167
LexicalComparator* const LEXICALCOMP = &lexicalfunc;
Packit 807167
Packit 807167
Packit 807167
/**
Packit 807167
 * Prepared pointer of the comparator in the lexical descending order.
Packit 807167
 */
Packit 807167
LexicalDescendingComparator lexicaldescfunc;
Packit 807167
LexicalDescendingComparator* const LEXICALDESCCOMP = &lexicaldescfunc;
Packit 807167
Packit 807167
Packit 807167
/**
Packit 807167
 * Prepared pointer of the comparator in the decimal order.
Packit 807167
 */
Packit 807167
DecimalComparator decimalfunc;
Packit 807167
DecimalComparator* const DECIMALCOMP = &decimalfunc;
Packit 807167
Packit 807167
Packit 807167
/**
Packit 807167
 * Prepared pointer of the comparator in the decimal descending order.
Packit 807167
 */
Packit 807167
DecimalDescendingComparator decimaldescfunc;
Packit 807167
DecimalDescendingComparator* const DECIMALDESCCOMP = &decimaldescfunc;
Packit 807167
Packit 807167
Packit 807167
}                                        // common namespace
Packit 807167
Packit 807167
// END OF FILE