#include <CbDataList.h>

Inheritance diagram for CbDataList< C >:
Collaboration diagram for CbDataList< C >:

Public Member Functions

 CbDataList (C const &)
 
 ~CbDataList ()
 
bool push_back_unique (C const &element)
 
bool find (C const &) const
 
bool findAndTune (C const &)
 
CbDataListtail ()
 Iterates the entire list to return the last element holder. More...
 
bool empty () const
 

Public Attributes

CbDataListnext
 
C element
 

Private Member Functions

 CBDATA_CLASS (CbDataList)
 

Detailed Description

template<class C>
class CbDataList< C >

Definition at line 15 of file CbDataList.h.

Constructor & Destructor Documentation

template<class C>
CbDataList< C >::CbDataList ( C const &  value)

Definition at line 75 of file CbDataList.h.

template<class C >
CbDataList< C >::~CbDataList ( )

Definition at line 79 of file CbDataList.h.

Member Function Documentation

template<class C>
CbDataList< C >::CBDATA_CLASS ( CbDataList< C )
private
template<class C>
bool CbDataList< C >::empty ( ) const
inline

Definition at line 33 of file CbDataList.h.

template<class C>
bool CbDataList< C >::find ( C const &  toFind) const

Definition at line 110 of file CbDataList.h.

References CbDataList< C >::element, CbDataList< C >::next, and NULL.

Referenced by asnAddNet().

template<class C>
bool CbDataList< C >::findAndTune ( C const &  toFind)

Definition at line 123 of file CbDataList.h.

References CbDataList< C >::next, node::next, and NULL.

template<class C>
bool CbDataList< C >::push_back_unique ( C const &  element)

If element is already in the list, returns false. Otherwise, adds the element to the end of the list and returns true. Exists to avoid double iteration of find() and push() combo.

Definition at line 87 of file CbDataList.h.

References CbDataList< C >::element, last, and CbDataList< C >::next.

Referenced by ssl_verify_cb(), and Security::PeerConnector::sslCrtvdCheckForErrors().

template<class C >
CbDataList< C > * CbDataList< C >::tail ( )

Definition at line 101 of file CbDataList.h.

References last, and CbDataList< C >::next.

Member Data Documentation


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors