#include <CbDataList.h>
Public Member Functions | |
CbDataList (C const &) | |
~CbDataList () | |
bool | push_back_unique (C const &element) |
bool | find (C const &) const |
bool | findAndTune (C const &) |
CbDataList * | tail () |
Iterates the entire list to return the last element holder. More... | |
bool | empty () const |
Public Attributes | |
CbDataList * | next |
C | element |
Private Member Functions | |
CBDATA_CLASS (CbDataList) | |
Detailed Description
Definition at line 15 of file CbDataList.h.
Constructor & Destructor Documentation
◆ CbDataList()
CbDataList< C >::CbDataList | ( | C const & | value | ) |
Definition at line 75 of file CbDataList.h.
◆ ~CbDataList()
CbDataList< C >::~CbDataList |
Definition at line 79 of file CbDataList.h.
Member Function Documentation
◆ CBDATA_CLASS()
|
private |
◆ empty()
|
inline |
Definition at line 33 of file CbDataList.h.
References NULL.
◆ find()
bool CbDataList< C >::find | ( | C const & | toFind | ) | const |
◆ findAndTune()
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()
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()
CbDataList< C > * CbDataList< C >::tail |
Definition at line 101 of file CbDataList.h.
References last.
Member Data Documentation
◆ element
C CbDataList< C >::element |
Definition at line 32 of file CbDataList.h.
Referenced by asnMatchIp(), ACLASN::dump(), CbDataListIterator< C >::next(), and printRadixNode().
◆ next
CbDataList* CbDataList< C >::next |
Definition at line 31 of file CbDataList.h.
Referenced by asnAddNet(), asnMatchIp(), Format::Format::assemble(), Ssl::CertValidationMsg::composeRequest(), destroyRadixNodeInfo(), ACLASN::dump(), CbDataList< C >::findAndTune(), ACLSslErrorData::match(), CbDataListIterator< C >::next(), ACLASN::parse(), printRadixNode(), and CbDataListContainer< C >::push_back().
The documentation for this class was generated from the following file:
- src/base/CbDataList.h