proxygen
folly::dynamic::const_item_iterator Struct Reference

#include <dynamic-inl.h>

Inheritance diagram for folly::dynamic::const_item_iterator:
folly::detail::IteratorAdaptor< dynamic::const_item_iterator, dynamic::ObjectImpl::const_iterator, std::pair< dynamic const, dynamic > const, std::forward_iterator_tag > folly::detail::IteratorFacade< dynamic::const_item_iterator, std::pair< dynamic const, dynamic > const , std::forward_iterator_tag >

Public Types

using Super = detail::IteratorAdaptor< dynamic::const_item_iterator, dynamic::ObjectImpl::const_iterator, std::pair< dynamic const, dynamic > const, std::forward_iterator_tag >
 
using object_type = dynamic::ObjectImpl const
 
- Public Types inherited from folly::detail::IteratorAdaptor< dynamic::const_item_iterator, dynamic::ObjectImpl::const_iterator, std::pair< dynamic const, dynamic > const, std::forward_iterator_tag >
using Super = IteratorFacade< dynamic::const_item_iterator, std::pair< dynamic const, dynamic > const , std::forward_iterator_tag >
 
using value_type = typename Super::value_type
 
using iterator_category = typename Super::iterator_category
 
using reference = typename Super::reference
 
using pointer = typename Super::pointer
 
using difference_type = typename Super::difference_type
 
- Public Types inherited from folly::detail::IteratorFacade< dynamic::const_item_iterator, std::pair< dynamic const, dynamic > const , std::forward_iterator_tag >
using value_type = std::pair< dynamic const, dynamic > const
 
using reference = value_type &
 
using pointer = value_type *
 
using difference_type = ssize_t
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

 const_item_iterator (dynamic::ObjectImpl::const_iterator b)
 
 const_item_iterator (const_item_iterator const &i)
 
 const_item_iterator (item_iterator i)
 
- Public Member Functions inherited from folly::detail::IteratorAdaptor< dynamic::const_item_iterator, dynamic::ObjectImpl::const_iterator, std::pair< dynamic const, dynamic > const, std::forward_iterator_tag >
 IteratorAdaptor (dynamic::ObjectImpl::const_iteratorbase)
 
void increment ()
 
void decrement ()
 
std::pair< dynamic const, dynamic > const & dereference () const
 
bool equal (dynamic::const_item_iteratorconst &rhs) const
 
dynamic::ObjectImpl::const_iteratorconst & base () const
 
dynamic::ObjectImpl::const_iterator & base ()
 
- Public Member Functions inherited from folly::detail::IteratorFacade< dynamic::const_item_iterator, std::pair< dynamic const, dynamic > const , std::forward_iterator_tag >
bool operator== (dynamic::const_item_iteratorconst &rhs) const
 
std::enable_if< std::is_convertible< dynamic::const_item_iterator, D2 >::value, bool >::type operator== (D2 const &rhs) const
 
bool operator!= (dynamic::const_item_iteratorconst &rhs) const
 
bool operator!= (D2 const &rhs) const
 
std::pair< dynamic const, dynamic > const & operator* () const
 
std::pair< dynamic const, dynamic > const * operator-> () const
 
dynamic::const_item_iteratoroperator++ ()
 
dynamic::const_item_iterator operator++ (int)
 
dynamic::const_item_iteratoroperator-- ()
 
dynamic::const_item_iterator operator-- (int)
 

Detailed Description

Definition at line 283 of file dynamic-inl.h.

Member Typedef Documentation

using folly::dynamic::const_item_iterator::Super = detail::IteratorAdaptor< dynamic::const_item_iterator, dynamic::ObjectImpl::const_iterator, std::pair<dynamic const, dynamic> const, std::forward_iterator_tag>

Definition at line 293 of file dynamic-inl.h.

Constructor & Destructor Documentation

folly::dynamic::const_item_iterator::const_item_iterator ( dynamic::ObjectImpl::const_iterator  b)
inline

Definition at line 294 of file dynamic-inl.h.

295  : Super(b) {}
detail::IteratorAdaptor< dynamic::const_item_iterator, dynamic::ObjectImpl::const_iterator, std::pair< dynamic const, dynamic > const, std::forward_iterator_tag > Super
Definition: dynamic-inl.h:293
char b
folly::dynamic::const_item_iterator::const_item_iterator ( const_item_iterator const &  i)
inline

Definition at line 296 of file dynamic-inl.h.

297  : Super(i.base()) {}
detail::IteratorAdaptor< dynamic::const_item_iterator, dynamic::ObjectImpl::const_iterator, std::pair< dynamic const, dynamic > const, std::forward_iterator_tag > Super
Definition: dynamic-inl.h:293
folly::dynamic::const_item_iterator::const_item_iterator ( item_iterator  i)
inline

Definition at line 298 of file dynamic-inl.h.

298 : Super(i.base()) {}
detail::IteratorAdaptor< dynamic::const_item_iterator, dynamic::ObjectImpl::const_iterator, std::pair< dynamic const, dynamic > const, std::forward_iterator_tag > Super
Definition: dynamic-inl.h:293

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