OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PatriciaMap< D, P, K > Class Template Reference

#include <patricia_map.h>

Inheritance diagram for PatriciaMap< D, P, K >:
Collaboration diagram for PatriciaMap< D, P, K >:

Public Member Functions

 PatriciaMap (uint16_t klen, uint8_t koffset)
 
- Public Member Functions inherited from Patricia::Tree< D, P, K >
 Tree ()
 
Iterator begin ()
 
Iterator end ()
 
Iterator LowerBound (D *data)
 
std::size_t Size ()
 
bool Insert (D *data)
 
bool Remove (D *data)
 
D * Find (const D *data)
 
D * FindNext (const D *data)
 
D * LPMFind (const D *data)
 
D * GetNext (D *data)
 
D * GetPrev (const D *data)
 
D * GetLast ()
 

Public Attributes

uint16_t klen_
 
uint8_t koffset_
 

Detailed Description

template<class D, Patricia::Node D::* P, class K>
class PatriciaMap< D, P, K >

Definition at line 38 of file patricia_map.h.

Constructor & Destructor Documentation

template<class D , Patricia::Node D::* P, class K >
PatriciaMap< D, P, K >::PatriciaMap ( uint16_t  klen,
uint8_t  koffset 
)
inline

Definition at line 40 of file patricia_map.h.

Member Data Documentation

template<class D , Patricia::Node D::* P, class K >
uint16_t PatriciaMap< D, P, K >::klen_

Definition at line 44 of file patricia_map.h.

template<class D , Patricia::Node D::* P, class K >
uint8_t PatriciaMap< D, P, K >::koffset_

Definition at line 45 of file patricia_map.h.


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