|
/********************************************************************
created: 2001/11/04
created: 4:11:2001 10:07
filename: E:\My Projects\Add-on\ToDoCached\stl_list.h
file path: E:\My Projects\Add-on\ToDoCached
file base: stl_list
file ext: h
author: Alex Kucherenko
purpose:
*********************************************************************/
#ifndef _STL_TYPE_CLASSES_LIST_DECLARATION_
#define _STL_TYPE_CLASSES_LIST_DECLARATION_
#pragma once
//////////////////////////////////////////////////////////////////////////
// class which know how to extract values from std::list<>
class CStdList : public CStdTypes
{
public:
CStdList( IDebugger *pDebugg, string &name )
: CStdTypes( pDebugg, name )
{
};
virtual BOOL isIT( void );
virtual HANDLE GetValues( int Start, int End );
virtual void ClearResults( void )
{
m_arrResults.clear();
_RecoverFirst();
SetProgress( m_iMin );
};
virtual string &GetByIndexFirst( int index ){ return m_arrResults[ index ]; };
virtual string &GetByIndexSecond( int /*index*/ ){ return m_strValue; };
virtual TState GetSpecificState( void ) const { return stateList; };
protected:
string _Simplify( string &tmpPath );
void _RecoverFirst( void );
inline string &_FindFirst( void );
private:
static DWORD ListCalcThread( CStdList *pThis );
TStrArray m_arrResults;
string m_strFirst;
};
#endif // _STL_TYPE_CLASSES_LIST_DECLARATION_
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.