Whiteboard
An interface and tools for visualizing large and complex datasets
Public Member Functions | Protected Attributes | List of all members
TMBinaryIndexSearcher< Item, Index > Class Template Reference

#include <mutil.h>

Public Member Functions

 TMBinaryIndexSearcher ()
 
 ~TMBinaryIndexSearcher ()
 
void Add (const Item &, Index)
 
void SetDataPtr (const TMValueVector< Item > *pSearchList)
 
bool Search (Index &index, const Item &toFind)
 
TMValueVector< Index > & GetIndexTable ()
 
long & GetLength ()
 
long & GetVirtualLength ()
 
const Index IndexToIndex (const long index) const
 
bool Peek (const long &index, Item &toFind)
 
bool InternalSearch (long &i, const Item &toFind)
 
bool Write (IMWriteStream &)
 
bool Read (IMReadStream &)
 
TMBinaryIndexSearcheroperator= (const TMBinaryIndexSearcher &idx)
 

Protected Attributes

const TMValueVector< Item > * m_pSearchPtr
 
TMSTValueVector< Index > m_index
 
long m_length
 
long m_virtLength
 

Constructor & Destructor Documentation

template<class Item, class Index>
TMBinaryIndexSearcher< Item, Index >::TMBinaryIndexSearcher ( )
inline
template<class Item, class Index>
TMBinaryIndexSearcher< Item, Index >::~TMBinaryIndexSearcher ( )
inline

Member Function Documentation

template<class Item, class Index>
void TMBinaryIndexSearcher< Item, Index >::Add ( const Item &  item,
Index  wordIndex 
)
inline
template<class Item, class Index>
TMValueVector<Index>& TMBinaryIndexSearcher< Item, Index >::GetIndexTable ( )
inline
template<class Item, class Index>
long& TMBinaryIndexSearcher< Item, Index >::GetLength ( )
inline
template<class Item, class Index>
long& TMBinaryIndexSearcher< Item, Index >::GetVirtualLength ( )
inline
template<class Item, class Index>
const Index TMBinaryIndexSearcher< Item, Index >::IndexToIndex ( const long  index) const
inline
template<class Item, class Index >
bool TMBinaryIndexSearcher< Item, Index >::InternalSearch ( long &  i,
const Item &  toFind 
)
inline
template<class Item, class Index>
TMBinaryIndexSearcher& TMBinaryIndexSearcher< Item, Index >::operator= ( const TMBinaryIndexSearcher< Item, Index > &  idx)
inline
template<class Item, class Index >
bool TMBinaryIndexSearcher< Item, Index >::Peek ( const long &  index,
Item &  toFind 
)
inline
template<class Item , class Index >
bool TMBinaryIndexSearcher< Item, Index >::Read ( IMReadStream stream)
template<class Item, class Index>
bool TMBinaryIndexSearcher< Item, Index >::Search ( Index &  index,
const Item &  toFind 
)
inline
template<class Item, class Index >
void TMBinaryIndexSearcher< Item, Index >::SetDataPtr ( const TMValueVector< Item > *  pSearchList)
inline
template<class Item , class Index >
bool TMBinaryIndexSearcher< Item, Index >::Write ( IMWriteStream stream)

Member Data Documentation

template<class Item, class Index>
TMSTValueVector<Index> TMBinaryIndexSearcher< Item, Index >::m_index
protected
template<class Item, class Index>
long TMBinaryIndexSearcher< Item, Index >::m_length
protected
template<class Item, class Index>
const TMValueVector<Item>* TMBinaryIndexSearcher< Item, Index >::m_pSearchPtr
protected
template<class Item, class Index>
long TMBinaryIndexSearcher< Item, Index >::m_virtLength
protected

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