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

using value_type = ObjCCategoryDecl *
 
using reference = value_type
 
using pointer = value_type
 
using difference_type = std::ptrdiff_t
 
using iterator_category = std::input_iterator_tag
 

Public Member Functions

 filtered_category_iterator ()=default
 
 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 1617 of file DeclObjC.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 1626 of file DeclObjC.h.

◆ iterator_category

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

Definition at line 1627 of file DeclObjC.h.

◆ pointer

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

Definition at line 1625 of file DeclObjC.h.

◆ reference

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

Definition at line 1624 of file DeclObjC.h.

◆ value_type

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

Definition at line 1623 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 ( )
default

◆ filtered_category_iterator() [2/2]

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

Definition at line 1630 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 1635 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 2898 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 1640 of file DeclObjC.h.

◆ operator->()

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

Definition at line 1636 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 1651 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 1646 of file DeclObjC.h.


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