00001 // 00002 // WordRecord.h 00003 // 00004 // NAME 00005 // information on the record structure of the inverted index. 00006 // 00007 // SYNOPSIS 00008 // 00009 // Only called thru WordContext::Initialize() 00010 // 00011 // DESCRIPTION 00012 // 00013 // The structure of a record is very limited. It can contain 00014 // a single integer value or a string. 00015 // 00016 // CONFIGURATION 00017 // 00018 // wordlist_wordrecord_description {NONE|DATA|STR} (no default) 00019 // NONE: the record is empty 00020 // <br> 00021 // DATA: the record contains an integer (unsigned int) 00022 // <br> 00023 // STR: the record contains a string (String) 00024 // 00025 // 00026 // END 00027 // 00028 // 00029 // Part of the ht://Dig package <http://www.htdig.org/> 00030 // Copyright (c) 1999, 2000, 2001 The ht://Dig Group 00031 // For copyright details, see the file COPYING in your distribution 00032 // or the GNU General Public License version 2 or later 00033 // <http://www.gnu.org/copyleft/gpl.html> 00034 // 00035 // $Id: WordRecordInfo_8h-source.html,v 1.1 2008/06/08 10:13:21 sebdiaz Exp $ 00036 // 00037 00038 #ifndef _WordRecordInfo_h_ 00039 #define _WordRecordInfo_h_ 00040 00041 // 00042 // Possible values of the type data field 00043 // 00044 #define WORD_RECORD_INVALID 0 00045 #define WORD_RECORD_DATA 1 00046 #define WORD_RECORD_STR 2 00047 #define WORD_RECORD_NONE 3 00048 00049 #ifndef SWIG 00050 // 00051 // Meta information about WordRecord 00052 // 00053 class WordRecordInfo 00054 { 00055 public: 00056 WordRecordInfo(const Configuration& config); 00057 00058 int default_type; 00059 }; 00060 #endif /* SWIG */ 00061 00062 #endif /* _WordRecordInfo_h_ */