rpa::rpa_list_head< Struct, Member > Class Template Reference

#include <list_head.h>

List of all members.

Public Types

typedef Struct value_type

Public Member Functions

 operator::list_head & ()
::list_headoperator-> (void)
 rpa_list_head ()
 rpa_list_head (const Struct &aStrct)

Private Member Functions

void init (void)

Classes

struct  iterator


Detailed Description

template<class Struct, list_head Struct::* Member>
class rpa::rpa_list_head< Struct, Member >

Linux data types may contain one or several list_head structures. This class represents this data type, plus the member of type list_head, that this list focuses one. This class transforms it into a pseudo STL container. A big difficulty is that these lists maybe circular, so we should use circulator instead of iterator.


Member Typedef Documentation

template<class Struct, list_head Struct::* Member>
typedef Struct rpa::rpa_list_head< Struct, Member >::value_type


Constructor & Destructor Documentation

template<class Struct, list_head Struct::* Member>
rpa::rpa_list_head< Struct, Member >::rpa_list_head (  )  [inline]

template<class Struct, list_head Struct::* Member>
rpa::rpa_list_head< Struct, Member >::rpa_list_head ( const Struct &  aStrct  )  [inline]


Member Function Documentation

template<class Struct, list_head Struct::* Member>
void rpa::rpa_list_head< Struct, Member >::init ( void   )  [inline, private]

template<class Struct, list_head Struct::* Member>
::list_head* rpa::rpa_list_head< Struct, Member >::operator-> ( void   )  [inline]

template<class Struct, list_head Struct::* Member>
rpa::rpa_list_head< Struct, Member >::operator::list_head & (  ) 


The documentation for this class was generated from the following file:
Generated on Tue Sep 25 10:20:37 2007 for rpa by  doxygen 1.4.7