MLIR-AIE
Public Types | Public Member Functions | List of all members
cxxopts::ParseResult::Iterator Class Reference

#include "/home/runner/work/mlir-aie/mlir-aie/runtime_lib/test_lib/cxxopts.hpp"

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = KeyValue
 
using difference_type = void
 
using pointer = const KeyValue *
 
using reference = const KeyValue &
 

Public Member Functions

 Iterator ()=default
 
 Iterator (const Iterator &)=default
 
CXXOPTS_DIAGNOSTIC_PUSH Iterator (const ParseResult *pr, bool end=false)
 
CXXOPTS_DIAGNOSTIC_POP Iteratoroperator++ ()
 
Iterator operator++ (int)
 
bool operator== (const Iterator &other) const
 
bool operator!= (const Iterator &other) const
 
const KeyValueoperator* ()
 
const KeyValueoperator-> ()
 

Detailed Description

Definition at line 1220 of file cxxopts.hpp.

Member Typedef Documentation

◆ difference_type

Definition at line 1224 of file cxxopts.hpp.

◆ iterator_category

using cxxopts::ParseResult::Iterator::iterator_category = std::forward_iterator_tag

Definition at line 1222 of file cxxopts.hpp.

◆ pointer

Definition at line 1225 of file cxxopts.hpp.

◆ reference

Definition at line 1226 of file cxxopts.hpp.

◆ value_type

Definition at line 1223 of file cxxopts.hpp.

Constructor & Destructor Documentation

◆ Iterator() [1/3]

cxxopts::ParseResult::Iterator::Iterator ( )
default

◆ Iterator() [2/3]

cxxopts::ParseResult::Iterator::Iterator ( const Iterator )
default

◆ Iterator() [3/3]

CXXOPTS_DIAGNOSTIC_PUSH cxxopts::ParseResult::Iterator::Iterator ( const ParseResult pr,
bool  end = false 
)
inline

Definition at line 1235 of file cxxopts.hpp.

References cxxopts::ParseResult::end().

Member Function Documentation

◆ operator!=()

bool cxxopts::ParseResult::Iterator::operator!= ( const Iterator other) const
inline

Definition at line 1271 of file cxxopts.hpp.

◆ operator*()

const KeyValue & cxxopts::ParseResult::Iterator::operator* ( )
inline

Definition at line 1273 of file cxxopts.hpp.

◆ operator++() [1/2]

CXXOPTS_DIAGNOSTIC_POP Iterator & cxxopts::ParseResult::Iterator::operator++ ( )
inline

Definition at line 1251 of file cxxopts.hpp.

◆ operator++() [2/2]

Iterator cxxopts::ParseResult::Iterator::operator++ ( int  )
inline

Definition at line 1261 of file cxxopts.hpp.

◆ operator->()

const KeyValue * cxxopts::ParseResult::Iterator::operator-> ( )
inline

Definition at line 1275 of file cxxopts.hpp.

◆ operator==()

bool cxxopts::ParseResult::Iterator::operator== ( const Iterator other) const
inline

Definition at line 1267 of file cxxopts.hpp.


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