clang  6.0.0svn
Public Types | Public Member Functions | Friends | List of all members
clang::ObjCInterfaceDecl::filtered_category_iterator< Filter > Class Template Reference

Iterator that walks over the list of categories, filtering out those that do not meet specific criteria. More...

#include "clang/AST/DeclObjC.h"

Public Types

typedef ObjCCategoryDeclvalue_type
 
typedef value_type reference
 
typedef value_type pointer
 
typedef std::ptrdiff_t difference_type
 
typedef std::input_iterator_tag iterator_category
 

Public Member Functions

 filtered_category_iterator ()
 
 filtered_category_iterator (ObjCCategoryDecl *Current)
 
reference operator* () const
 
pointer operator-> () const
 
filtered_category_iteratoroperator++ ()
 
filtered_category_iterator operator++ (int)
 

Friends

bool operator== (filtered_category_iterator X, filtered_category_iterator Y)
 
bool operator!= (filtered_category_iterator X, filtered_category_iterator Y)
 

Detailed Description

template<bool(*)(ObjCCategoryDecl *) Filter>
class clang::ObjCInterfaceDecl::filtered_category_iterator< Filter >

Iterator that walks over the list of categories, filtering out those that do not meet specific criteria.

This class template is used for the various permutations of category and extension iterators.

Definition at line 1520 of file DeclObjC.h.

Member Typedef Documentation

◆ difference_type

template<bool(*)(ObjCCategoryDecl *) Filter>
typedef std::ptrdiff_t clang::ObjCInterfaceDecl::filtered_category_iterator< Filter >::difference_type

Definition at line 1529 of file DeclObjC.h.

◆ iterator_category

template<bool(*)(ObjCCategoryDecl *) Filter>
typedef std::input_iterator_tag clang::ObjCInterfaceDecl::filtered_category_iterator< Filter >::iterator_category

Definition at line 1530 of file DeclObjC.h.

◆ pointer

template<bool(*)(ObjCCategoryDecl *) Filter>
typedef value_type clang::ObjCInterfaceDecl::filtered_category_iterator< Filter >::pointer

Definition at line 1528 of file DeclObjC.h.

◆ reference

template<bool(*)(ObjCCategoryDecl *) Filter>
typedef value_type clang::ObjCInterfaceDecl::filtered_category_iterator< Filter >::reference

Definition at line 1527 of file DeclObjC.h.

◆ value_type

template<bool(*)(ObjCCategoryDecl *) Filter>
typedef ObjCCategoryDecl* clang::ObjCInterfaceDecl::filtered_category_iterator< Filter >::value_type

Definition at line 1526 of file DeclObjC.h.

Constructor & Destructor Documentation

◆ filtered_category_iterator() [1/2]

template<bool(*)(ObjCCategoryDecl *) Filter>
clang::ObjCInterfaceDecl::filtered_category_iterator< Filter >::filtered_category_iterator ( )
inline

Definition at line 1532 of file DeclObjC.h.

◆ filtered_category_iterator() [2/2]

template<bool(*)(ObjCCategoryDecl *) Filter>
clang::ObjCInterfaceDecl::filtered_category_iterator< Filter >::filtered_category_iterator ( ObjCCategoryDecl Current)
inlineexplicit

Definition at line 1533 of file DeclObjC.h.

Member Function Documentation

◆ operator*()

template<bool(*)(ObjCCategoryDecl *) Filter>
reference clang::ObjCInterfaceDecl::filtered_category_iterator< Filter >::operator* ( ) const
inline

Definition at line 1539 of file DeclObjC.h.

◆ operator++() [1/2]

template<bool(*)(ObjCCategoryDecl *) Filter>
ObjCInterfaceDecl::filtered_category_iterator< Filter > & clang::ObjCInterfaceDecl::filtered_category_iterator< Filter >::operator++ ( )
inline

Definition at line 2763 of file DeclObjC.h.

◆ operator++() [2/2]

template<bool(*)(ObjCCategoryDecl *) Filter>
filtered_category_iterator clang::ObjCInterfaceDecl::filtered_category_iterator< Filter >::operator++ ( int  )
inline

Definition at line 1544 of file DeclObjC.h.

◆ operator->()

template<bool(*)(ObjCCategoryDecl *) Filter>
pointer clang::ObjCInterfaceDecl::filtered_category_iterator< Filter >::operator-> ( ) const
inline

Definition at line 1540 of file DeclObjC.h.

Friends And Related Function Documentation

◆ operator!=

template<bool(*)(ObjCCategoryDecl *) Filter>
bool operator!= ( filtered_category_iterator< Filter >  X,
filtered_category_iterator< Filter >  Y 
)
friend

Definition at line 1555 of file DeclObjC.h.

◆ operator==

template<bool(*)(ObjCCategoryDecl *) Filter>
bool operator== ( filtered_category_iterator< Filter >  X,
filtered_category_iterator< Filter >  Y 
)
friend

Definition at line 1550 of file DeclObjC.h.


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