0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Public Types | Public Member Functions | Private Types | Private Attributes | Friends | List of all members
Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType > Class Template Reference

#include <directory.h>

Collaboration diagram for Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >:
Collaboration graph
[legend]

Classes

class  __subdirectory_iterator
 

Public Types

typedef
std::bidirectional_iterator_tag 
iterator_category
 
typedef _Tp value_type
 
typedef _DiffType difference_type
 
typedef value_typereference
 
typedef std::pointer_traits
< __node_pointer >::template
rebind< value_type
pointer
 

Public Member Functions

 __directory_iterator () noexcept
 
 __directory_iterator (__node_pointer root) noexcept
 
 __directory_iterator (__node_pointer root, __node_pointer np)
 
reference operator* () const
 
pointer operator-> () const
 
__directory_iteratoroperator++ ()
 
__directory_iterator operator++ (int)
 
__directory_iteratoroperator-- ()
 
__directory_iteratoroperator-- (int)
 
void push (__node_pointer np, typename __node::children_set::iterator iter)
 
__node_pointer node ()
 
 operator bool () const
 

Private Types

typedef _NodePtr __node_pointer
 
typedef std::pointer_traits
< _NodePtr >::element_type 
__node
 

Private Attributes

__node_pointer __root_ {}
 
std::vector
< __subdirectory_iterator
__iters_
 

Friends

bool operator== (const __directory_iterator &__x, const __directory_iterator &__y)
 
bool operator!= (const __directory_iterator &__x, const __directory_iterator &__y)
 
std::ostream & operator<< (std::ostream &os, const __directory_iterator &di)
 

Detailed Description

template<class _Tp, class _NodePtr, class _DiffType>
class Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >

Definition at line 208 of file directory.h.

Member Typedef Documentation

template<class _Tp , class _NodePtr , class _DiffType >
typedef std::pointer_traits<_NodePtr>::element_type Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::__node
private

Definition at line 211 of file directory.h.

template<class _Tp , class _NodePtr , class _DiffType >
typedef _NodePtr Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::__node_pointer
private

Definition at line 210 of file directory.h.

template<class _Tp , class _NodePtr , class _DiffType >
typedef _DiffType Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::difference_type

Definition at line 216 of file directory.h.

template<class _Tp , class _NodePtr , class _DiffType >
typedef std::bidirectional_iterator_tag Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::iterator_category

Definition at line 214 of file directory.h.

template<class _Tp , class _NodePtr , class _DiffType >
typedef std::pointer_traits<__node_pointer>::template rebind<value_type> Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::pointer

Definition at line 218 of file directory.h.

template<class _Tp , class _NodePtr , class _DiffType >
typedef value_type& Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::reference

Definition at line 217 of file directory.h.

template<class _Tp , class _NodePtr , class _DiffType >
typedef _Tp Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::value_type

Definition at line 215 of file directory.h.

Constructor & Destructor Documentation

template<class _Tp , class _NodePtr , class _DiffType >
Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::__directory_iterator ( )
inlinenoexcept

Definition at line 220 of file directory.h.

template<class _Tp , class _NodePtr , class _DiffType >
Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::__directory_iterator ( __node_pointer  root)
inlinenoexcept

Definition at line 222 of file directory.h.

template<class _Tp , class _NodePtr , class _DiffType >
Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::__directory_iterator ( __node_pointer  root,
__node_pointer  np 
)
inline

Definition at line 224 of file directory.h.

Member Function Documentation

template<class _Tp , class _NodePtr , class _DiffType >
__node_pointer Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::node ( )
inline

Definition at line 295 of file directory.h.

template<class _Tp , class _NodePtr , class _DiffType >
Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::operator bool ( ) const
inline

Definition at line 299 of file directory.h.

template<class _Tp , class _NodePtr , class _DiffType >
reference Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::operator* ( ) const
inline

Definition at line 229 of file directory.h.

template<class _Tp , class _NodePtr , class _DiffType >
__directory_iterator& Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::operator++ ( )
inline

Definition at line 235 of file directory.h.

template<class _Tp , class _NodePtr , class _DiffType >
__directory_iterator Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::operator++ ( int  )
inline

Definition at line 257 of file directory.h.

template<class _Tp , class _NodePtr , class _DiffType >
__directory_iterator& Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::operator-- ( )
inline

Definition at line 261 of file directory.h.

template<class _Tp , class _NodePtr , class _DiffType >
__directory_iterator& Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::operator-- ( int  )
inline

Definition at line 278 of file directory.h.

template<class _Tp , class _NodePtr , class _DiffType >
pointer Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::operator-> ( ) const
inline

Definition at line 231 of file directory.h.

template<class _Tp , class _NodePtr , class _DiffType >
void Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::push ( __node_pointer  np,
typename __node::children_set::iterator  iter 
)
inline

Definition at line 290 of file directory.h.

Friends And Related Function Documentation

template<class _Tp , class _NodePtr , class _DiffType >
bool operator!= ( const __directory_iterator< _Tp, _NodePtr, _DiffType > &  __x,
const __directory_iterator< _Tp, _NodePtr, _DiffType > &  __y 
)
friend

Definition at line 286 of file directory.h.

template<class _Tp , class _NodePtr , class _DiffType >
std::ostream& operator<< ( std::ostream &  os,
const __directory_iterator< _Tp, _NodePtr, _DiffType > &  di 
)
friend

Definition at line 303 of file directory.h.

template<class _Tp , class _NodePtr , class _DiffType >
bool operator== ( const __directory_iterator< _Tp, _NodePtr, _DiffType > &  __x,
const __directory_iterator< _Tp, _NodePtr, _DiffType > &  __y 
)
friend

Definition at line 282 of file directory.h.

Member Data Documentation

template<class _Tp , class _NodePtr , class _DiffType >
std::vector<__subdirectory_iterator> Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::__iters_
private

Definition at line 331 of file directory.h.

template<class _Tp , class _NodePtr , class _DiffType >
__node_pointer Hypertable::__directory_iterator< _Tp, _NodePtr, _DiffType >::__root_ {}
private

Definition at line 330 of file directory.h.


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