language/duchain
KDevelop::TopDUContext::DeclarationChecker Struct Reference
#include <topducontextutils.h>
Public Member Functions | |
| DeclarationChecker (const TopDUContext *_top, const SimpleCursor &_position, const AbstractType::Ptr &_dataType, DUContext::SearchFlags _flags, KDevVarLengthArray< IndexedDeclaration > *_createVisibleCache=0) | |
| bool | operator() (const Declaration *dec) const |
Public Attributes | |
|
KDevVarLengthArray < IndexedDeclaration > * | createVisibleCache |
| const AbstractType::Ptr & | dataType |
| DUContext::SearchFlags | flags |
| const SimpleCursor & | position |
| const TopDUContext * | top |
| const TopDUContextData * | topDFunc |
Detailed Description
- Todo:
- move data to private d pointer classes
Definition at line 28 of file topducontextutils.h.
Constructor & Destructor Documentation
| KDevelop::TopDUContext::DeclarationChecker::DeclarationChecker | ( | const TopDUContext * | _top, | |
| const SimpleCursor & | _position, | |||
| const AbstractType::Ptr & | _dataType, | |||
| DUContext::SearchFlags | _flags, | |||
| KDevVarLengthArray< IndexedDeclaration > * | _createVisibleCache = 0 | |||
| ) |
Takes a set of conditions in the constructors, and checks with each call to operator() whether these conditions are fulfilled on the given declaration.
The import-structure needs to be constructed and locked when this is used
Definition at line 582 of file topducontext.cpp.
The documentation for this struct was generated from the following files:
KDE 4.4 API Reference