Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

FieldExtent.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  * Copyright (c) 2004 University of Massachusetts.  All Rights Reserved.
00003  *
00004  * Use of the Lemur Toolkit for Language Modeling and Information Retrieval
00005  * is subject to the terms of the software license set forth in the LICENSE
00006  * file included with this software, and also available at
00007  * http://www.lemurproject.org/license.html
00008  *
00009  *==========================================================================
00010 */
00011 
00012 
00013 //
00014 // FieldExtent
00015 //
00016 // 14 July 2004 -- tds
00017 //
00018 
00019 #ifndef INDRI_FIELDEXTENT_HPP
00020 #define INDRI_FIELDEXTENT_HPP
00021 
00022 #include "lemur-platform.h"
00023 
00024 
00025 namespace indri {
00026   namespace index {
00027     struct FieldExtent {
00028       FieldExtent() {};
00029 
00030       FieldExtent( int _id, int _begin, int _end, INT64 _number, int _ordinal = 0, int _parentOrdinal = 0) : 
00031         id(_id), begin(_begin), end(_end), 
00032         number(_number), ordinal(_ordinal), 
00033         parentOrdinal(_parentOrdinal) 
00034       {
00035       }
00036 
00037       FieldExtent(const FieldExtent &f) :
00038         id(f.id), begin(f.begin), end(f.end),
00039         number(f.number), ordinal(f.ordinal),
00040         parentOrdinal(f.parentOrdinal)
00041       {
00042       }
00043 
00044       unsigned int id;
00045       unsigned int begin;
00046       unsigned int end;
00047       unsigned int parentOrdinal;
00048       unsigned int ordinal;
00049       INT64 number;            
00050     }; 
00051   }
00052 }
00053 
00054 
00055 #endif // INDRI_KEYFILEFIELDEXTENT_HPP
00056 

Generated on Tue Jun 15 11:02:54 2010 for Lemur by doxygen 1.3.4