Whiteboard
An interface and tools for visualizing large and complex datasets
|
#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 CMString & | GetWord (long id) |
MDLLEXPORT long | GetWordCount () |
MDLLEXPORT long | GetDictIDByIndex (long index) |
MDLLEXPORT const CMString & | GetWordByIndex (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 CMStringDictionary & | operator= (const CMStringDictionary &dict) |
Private Attributes | |
CMStringList | m_dict |
long | m_wordCount |
TMBinaryIndexSearcher< CMString, long > | m_searcher |
CMStringDictionary::CMStringDictionary | ( | ) |
CMStringDictionary::~CMStringDictionary | ( | ) |
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 | ( | ) |
|
inline |
CMStringDictionary & CMStringDictionary::operator= | ( | const CMStringDictionary & | dict | ) |
bool CMStringDictionary::Read | ( | IMReadStream & | stream | ) |
bool CMStringDictionary::Write | ( | IMWriteStream & | stream | ) |
|
private |
|
private |
|
private |