BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Public Types | Public Member Functions | Friends | List of all members
graphene::db::simple_index< T >::const_iterator Class Reference

#include <simple_index.hpp>

Public Types

typedef std::forward_iterator_tag iterator_category
 
typedef vector< unique_ptr< object > >::value_type value_type
 
typedef vector< unique_ptr< object > >::difference_type difference_type
 
typedef vector< unique_ptr< object > >::pointer pointer
 
typedef vector< unique_ptr< object > >::reference reference
 

Public Member Functions

 const_iterator (const vector< unique_ptr< object >> &objects)
 
 const_iterator (const vector< unique_ptr< object >> &objects, const vector< unique_ptr< object >>::const_iterator &a)
 
const T & operator* () const
 
const_iterator operator++ (int)
 
const_iteratoroperator++ ()
 

Friends

bool operator== (const const_iterator &a, const const_iterator &b)
 
bool operator!= (const const_iterator &a, const const_iterator &b)
 

Detailed Description

template<typename T>
class graphene::db::simple_index< T >::const_iterator

Definition at line 102 of file simple_index.hpp.

Member Typedef Documentation

template<typename T >
typedef vector<unique_ptr<object> >::difference_type graphene::db::simple_index< T >::const_iterator::difference_type

Definition at line 127 of file simple_index.hpp.

template<typename T >
typedef std::forward_iterator_tag graphene::db::simple_index< T >::const_iterator::iterator_category

Definition at line 125 of file simple_index.hpp.

template<typename T >
typedef vector<unique_ptr<object> >::pointer graphene::db::simple_index< T >::const_iterator::pointer

Definition at line 128 of file simple_index.hpp.

template<typename T >
typedef vector<unique_ptr<object> >::reference graphene::db::simple_index< T >::const_iterator::reference

Definition at line 129 of file simple_index.hpp.

template<typename T >
typedef vector<unique_ptr<object> >::value_type graphene::db::simple_index< T >::const_iterator::value_type

Definition at line 126 of file simple_index.hpp.

Constructor & Destructor Documentation

template<typename T >
graphene::db::simple_index< T >::const_iterator::const_iterator ( const vector< unique_ptr< object >> &  objects)
inline

Definition at line 105 of file simple_index.hpp.

template<typename T >
graphene::db::simple_index< T >::const_iterator::const_iterator ( const vector< unique_ptr< object >> &  objects,
const vector< unique_ptr< object >>::const_iterator a 
)
inline

Definition at line 106 of file simple_index.hpp.

Member Function Documentation

template<typename T >
const T& graphene::db::simple_index< T >::const_iterator::operator* ( ) const
inline

Definition at line 111 of file simple_index.hpp.

template<typename T >
const_iterator graphene::db::simple_index< T >::const_iterator::operator++ ( int  )
inline

Definition at line 112 of file simple_index.hpp.

template<typename T >
const_iterator& graphene::db::simple_index< T >::const_iterator::operator++ ( )
inline

Definition at line 118 of file simple_index.hpp.

Friends And Related Function Documentation

template<typename T >
bool operator!= ( const const_iterator a,
const const_iterator b 
)
friend

Definition at line 110 of file simple_index.hpp.

template<typename T >
bool operator== ( const const_iterator a,
const const_iterator b 
)
friend

Definition at line 109 of file simple_index.hpp.


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