Whiteboard
An interface and tools for visualizing large and complex datasets
Public Member Functions | Private Attributes | List of all members
CMStringDictionary Class Reference

#include <mutil.h>

Public Member Functions

MDLLEXPORT CMStringDictionary ()
 
MDLLEXPORT ~CMStringDictionary ()
 
MDLLEXPORT long GetDictID (const CMString &word)
 
MDLLEXPORT long GetDictIDList (CMInt32List &result, const CMString &word)
 
MDLLEXPORT const CMStringGetWord (long id)
 
MDLLEXPORT long GetWordCount ()
 
MDLLEXPORT long GetDictIDByIndex (long index)
 
MDLLEXPORT const CMStringGetWordByIndex (long index)
 
MDLLEXPORT long AddWord (const CMString &word)
 
MDLLEXPORT long AddWordDontCheck (const CMString &word)
 
MDLLEXPORT bool Read (IMReadStream &stream)
 
MDLLEXPORT bool Write (IMWriteStream &stream)
 
MDLLEXPORT long IndexToIndex (long index)
 
MDLLEXPORT CMStringDictionaryoperator= (const CMStringDictionary &dict)
 

Private Attributes

CMStringList m_dict
 
long m_wordCount
 
TMBinaryIndexSearcher< CMString, long > m_searcher
 

Constructor & Destructor Documentation

CMStringDictionary::CMStringDictionary ( )
CMStringDictionary::~CMStringDictionary ( )

Member Function Documentation

long CMStringDictionary::AddWord ( const CMString word)
long CMStringDictionary::AddWordDontCheck ( const CMString word)
long CMStringDictionary::GetDictID ( const CMString word)
long CMStringDictionary::GetDictIDByIndex ( long  index)
long CMStringDictionary::GetDictIDList ( CMInt32List result,
const CMString word 
)
const CMString & CMStringDictionary::GetWord ( long  id)
const CMString & CMStringDictionary::GetWordByIndex ( long  index)
long CMStringDictionary::GetWordCount ( )
MDLLEXPORT long CMStringDictionary::IndexToIndex ( long  index)
inline
CMStringDictionary & CMStringDictionary::operator= ( const CMStringDictionary dict)
bool CMStringDictionary::Read ( IMReadStream stream)
bool CMStringDictionary::Write ( IMWriteStream stream)

Member Data Documentation

CMStringList CMStringDictionary::m_dict
private
TMBinaryIndexSearcher<CMString, long> CMStringDictionary::m_searcher
private
long CMStringDictionary::m_wordCount
private

The documentation for this class was generated from the following files: