clang 20.0.0git
Public Types | Public Member Functions | Friends | List of all members
clang::extractapi::RecordContext::record_iterator Struct Reference

#include "clang/ExtractAPI/API.h"

Public Types

using value_type = APIRecord *
 
using reference = const value_type &
 
using pointer = const value_type *
 
using iterator_category = std::forward_iterator_tag
 
using difference_type = std::ptrdiff_t
 

Public Member Functions

 record_iterator ()=default
 
 record_iterator (value_type R)
 
reference operator* () const
 
value_type operator-> () const
 
record_iteratoroperator++ ()
 
record_iterator operator++ (int)
 

Friends

bool operator== (record_iterator x, record_iterator y)
 
bool operator!= (record_iterator x, record_iterator y)
 

Detailed Description

Definition at line 333 of file API.h.

Member Typedef Documentation

◆ difference_type

Definition at line 342 of file API.h.

◆ iterator_category

Definition at line 341 of file API.h.

◆ pointer

Definition at line 340 of file API.h.

◆ reference

Definition at line 339 of file API.h.

◆ value_type

Definition at line 338 of file API.h.

Constructor & Destructor Documentation

◆ record_iterator() [1/2]

clang::extractapi::RecordContext::record_iterator::record_iterator ( )
default

◆ record_iterator() [2/2]

clang::extractapi::RecordContext::record_iterator::record_iterator ( value_type  R)
inlineexplicit

Definition at line 345 of file API.h.

Member Function Documentation

◆ operator*()

reference clang::extractapi::RecordContext::record_iterator::operator* ( ) const
inline

Definition at line 346 of file API.h.

◆ operator++() [1/2]

record_iterator & clang::extractapi::RecordContext::record_iterator::operator++ ( )
inline

Definition at line 350 of file API.h.

◆ operator++() [2/2]

record_iterator clang::extractapi::RecordContext::record_iterator::operator++ ( int  )
inline

Definition at line 354 of file API.h.

◆ operator->()

value_type clang::extractapi::RecordContext::record_iterator::operator-> ( ) const
inline

Definition at line 349 of file API.h.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( record_iterator  x,
record_iterator  y 
)
friend

Definition at line 363 of file API.h.

◆ operator==

bool operator== ( record_iterator  x,
record_iterator  y 
)
friend

Definition at line 360 of file API.h.


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