AFEPack
公有类型 | 公有成员
MPI::Shared_ptr_list< T, CNT >模板结构参考

#include <MPI.h>

所有成员的列表。

公有类型

typedef CNT< Shared_object< T > * > base_t
typedef _Deref_iterator
< typename base_t::iterator,
Shared_object< T > > 
iterator
typedef _Deref_iterator
< typename
base_t::const_iterator, const
Shared_object< T > > 
const_iterator

公有成员

iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
base_t::iterator begin_ptr ()
base_t::iterator end_ptr ()
base_t::const_iterator begin_ptr () const
base_t::const_iterator end_ptr () const

详细描述

template<class T, template< class C, typename ALLOC=std::allocator< C > > class CNT = std::list>
struct MPI::Shared_ptr_list< T, CNT >

也可以使用指针作为列表的元素,通过 _Deref_iterator 使得遍历器的值 仍然返回 Shared_object<T> 类型。


成员类型定义文档

template<class T, template< class C, typename ALLOC=std::allocator< C > > class CNT = std::list>
typedef CNT<Shared_object<T> *> MPI::Shared_ptr_list< T, CNT >::base_t
template<class T, template< class C, typename ALLOC=std::allocator< C > > class CNT = std::list>
typedef _Deref_iterator<typename base_t::const_iterator, const Shared_object<T> > MPI::Shared_ptr_list< T, CNT >::const_iterator
template<class T, template< class C, typename ALLOC=std::allocator< C > > class CNT = std::list>
typedef _Deref_iterator<typename base_t::iterator, Shared_object<T> > MPI::Shared_ptr_list< T, CNT >::iterator

成员函数文档

template<class T, template< class C, typename ALLOC=std::allocator< C > > class CNT = std::list>
iterator MPI::Shared_ptr_list< T, CNT >::begin ( ) [inline]
template<class T, template< class C, typename ALLOC=std::allocator< C > > class CNT = std::list>
const_iterator MPI::Shared_ptr_list< T, CNT >::begin ( ) const [inline]
template<class T, template< class C, typename ALLOC=std::allocator< C > > class CNT = std::list>
base_t::iterator MPI::Shared_ptr_list< T, CNT >::begin_ptr ( ) [inline]
template<class T, template< class C, typename ALLOC=std::allocator< C > > class CNT = std::list>
base_t::const_iterator MPI::Shared_ptr_list< T, CNT >::begin_ptr ( ) const [inline]
template<class T, template< class C, typename ALLOC=std::allocator< C > > class CNT = std::list>
iterator MPI::Shared_ptr_list< T, CNT >::end ( ) [inline]
template<class T, template< class C, typename ALLOC=std::allocator< C > > class CNT = std::list>
const_iterator MPI::Shared_ptr_list< T, CNT >::end ( ) const [inline]
template<class T, template< class C, typename ALLOC=std::allocator< C > > class CNT = std::list>
base_t::iterator MPI::Shared_ptr_list< T, CNT >::end_ptr ( ) [inline]
template<class T, template< class C, typename ALLOC=std::allocator< C > > class CNT = std::list>
base_t::const_iterator MPI::Shared_ptr_list< T, CNT >::end_ptr ( ) const [inline]

该结构的文档由以下文件生成: