clang 20.0.0git
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 1597 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 1606 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 1607 of file DeclObjC.h.

◆ pointer

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

Definition at line 1605 of file DeclObjC.h.

◆ reference

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

Definition at line 1604 of file DeclObjC.h.

◆ value_type

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

Definition at line 1603 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 1610 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 1615 of file DeclObjC.h.

◆ operator++() [1/2]

Definition at line 2936 of file DeclObjC.h.

◆ operator++() [2/2]

Definition at line 1620 of file DeclObjC.h.

◆ operator->()

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

Definition at line 1616 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 1631 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 1626 of file DeclObjC.h.


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