#include "CLucene/StdHeader.h" #include "TermInfo.h" namespace lucene{ namespace index { TermInfo::TermInfo(): docFreq(0), freqPointer(0), proxPointer(0) { } TermInfo::~TermInfo(){ } TermInfo::TermInfo(const int_t df, const long_t fp, const long_t pp): freqPointer(fp), proxPointer(pp), docFreq(df) { } TermInfo::TermInfo(const TermInfo& ti) { docFreq = ti.docFreq; freqPointer = ti.freqPointer; proxPointer = ti.proxPointer; } void TermInfo::set(const int_t df, const long_t fp, const long_t pp) { docFreq = df; freqPointer = fp; proxPointer = pp; } void TermInfo::set(const TermInfo& ti) { docFreq = ti.docFreq; freqPointer = ti.freqPointer; proxPointer = ti.proxPointer; } }}