TermKey.h

Go to the documentation of this file.
00001 #ifndef TERM_KEY_H
00002 #define TERM_KEY_H
00003 
00004 #include <iostream.h>
00005 #include <qdatastream.h>
00006 
00007 class TermKey {
00008 
00009 public:
00010 
00011     TermKey( int termId = -1, int vocabId = -1 );
00012     TermKey( const TermKey& key );
00013     ~TermKey();
00014 
00015     int getTermId() const;
00016     int getVocabId() const;
00017     bool isNull() const;
00018 
00019     int operator==( const TermKey& key ) const;
00020 
00021     friend QDataStream& operator<<( QDataStream& out, const TermKey& key );
00022     friend QDataStream& operator>>( QDataStream& in, TermKey& key );
00023 
00024 private:
00025 
00026     int termId;
00027     int vocabId;
00028 
00029 };
00030 
00031 #endif
00032 

Generated on Sun Mar 1 17:30:47 2009 for toMOTko by  doxygen 1.5.6