Code::Blocks  SVN r11506
Public Member Functions | Private Attributes | List of all members
MarkFileAsLocalThreadedTask Class Reference

mark all the tokens belong to the project as "local" E.g. More...

#include <parserthreadedtask.h>

Inheritance diagram for MarkFileAsLocalThreadedTask:
Collaboration diagram for MarkFileAsLocalThreadedTask:

Public Member Functions

 MarkFileAsLocalThreadedTask (Parser *parser, cbProject *project)
 
virtual int Execute ()
 Override this function with the task's job Return value doesn't matter. More...
 
- Public Member Functions inherited from cbThreadedTask
 cbThreadedTask ()
 cbThreadedTask ctor More...
 
virtual ~cbThreadedTask ()=0
 cbThreadedTask dtor More...
 
void Abort ()
 This function is called to tell the task to abort (check cbThreadPool::AbortAllTasks) More...
 

Private Attributes

Parserm_Parser
 
cbProjectm_Project
 a Parser object which contain TokenTree More...
 

Additional Inherited Members

- Protected Member Functions inherited from cbThreadedTask
bool TestDestroy () const
 Be sure to call this function often. If it returns true, quit your task quickly. More...
 
bool Aborted () const
 Same as TestDestroy() More...
 

Detailed Description

mark all the tokens belong to the project as "local" E.g.

If you have a.cpp in cbp, then all the tokens belong to a.cpp are marked as local but not system headers like Windows.h, those tokens do not belong to the project files, so it is not "local".

Definition at line 41 of file parserthreadedtask.h.

Constructor & Destructor Documentation

◆ MarkFileAsLocalThreadedTask()

MarkFileAsLocalThreadedTask::MarkFileAsLocalThreadedTask ( Parser parser,
cbProject project 
)

Definition at line 113 of file parserthreadedtask.cpp.

Member Function Documentation

◆ Execute()

int MarkFileAsLocalThreadedTask::Execute ( )
virtual

Member Data Documentation

◆ m_Parser

Parser* MarkFileAsLocalThreadedTask::m_Parser
private

Definition at line 49 of file parserthreadedtask.h.

Referenced by Execute().

◆ m_Project

cbProject* MarkFileAsLocalThreadedTask::m_Project
private

a Parser object which contain TokenTree

Definition at line 50 of file parserthreadedtask.h.

Referenced by Execute().


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