|
/********************************************************************\
created: 2001/03/04
created: 4:3:2001 13:57
filename: .\Parser\prsProject.h
file path: Parser
file base: prsProject
file ext: h
author: Alex Kucherenko
purpose:
\********************************************************************/
#ifndef _PARSER_TODO_PROJECT_H_
#define _PARSER_TODO_PROJECT_H_
class CToDoProjectParse : public CToDoSingleParse
{
public:
CToDoProjectParse();
CToDoProjectParse( const string FileName );
CToDoProjectParse( const string FileName, const TStrArray &Extensions );
~CToDoProjectParse();
virtual void ClearAllElements( void )
{
GetMap().clear();
};
void SetFileName( const string FileName )
{
char drive[10], dir[2048], fname[_MAX_FNAME], ext[_MAX_EXT];
CToDoBaseParser::SetFileName( FileName );
_splitpath( GetFileName().c_str(), drive, dir, fname, ext );
m_strCurrentDir = string( drive ) + dir;
}
protected:
virtual long ParseEngine( void ) throw ( CToDoFileWork );
private:
TStrArray m_vecExtesions;
string m_strCurrentDir;
string m_strOldDir;
};
#endif /* _PARSER_TODO_PROJECT_H_ */
|
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.