#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

◆ CbDataList()

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

Definition at line 75 of file CbDataList.h.

◆ ~CbDataList()

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

Definition at line 79 of file CbDataList.h.

Member Function Documentation

◆ CBDATA_CLASS()

template<class C >
CbDataList< C >::CBDATA_CLASS ( CbDataList< C )
private

◆ empty()

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

Definition at line 33 of file CbDataList.h.

References NULL.

◆ find()

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

Definition at line 110 of file CbDataList.h.

References node::next.

Referenced by asnAddNet().

◆ findAndTune()

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

Definition at line 123 of file CbDataList.h.

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

◆ push_back_unique()

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 last.

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

◆ tail()

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

Definition at line 101 of file CbDataList.h.

References last.

Member Data Documentation

◆ element

template<class C >
C CbDataList< C >::element

◆ next


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors