ArrayBurstTriePool< NODE, BUCKET > Class Template Reference Data Structures

#include <bursttriemap.h>

Public Types

using  索引 = Int

公共成员函数

  ArrayBurstTriePool ()
  ArrayBurstTriePool ( ArrayBurstTriePool && src )
MAXON_WARN_UNUSED void *  AllocNode ( 索引 &index)
MAXON_WARN_UNUSED void *  AllocBucket ( 索引 &index)
void  FreeNode ( 索引 i)
void  FreeBucket ( 索引 i)
NODE *  GetNode ( 索引 i)
const NODE *  GetNode ( 索引 i) const
BUCKET *  GetBucket ( 索引 i)
const BUCKET *  GetBucket ( 索引 i) const

静态公共成员函数

static Bool   IsNode ( 索引 i)

Private Attributes

ElementPool < NODE, 索引 _nodePool
ElementPool < BUCKET, 索引 _bucketPool

Member Typedef Documentation

◆  索引

using 索引 = Int

构造函数 & 析构函数文档编制

◆  ArrayBurstTriePool() [1/2]

ArrayBurstTriePool ( )

◆  ArrayBurstTriePool() [2/2]

ArrayBurstTriePool ( ArrayBurstTriePool < NODE, BUCKET > &&  src )

成员函数文档编制

◆  AllocNode()

MAXON_WARN_UNUSED void* AllocNode ( 索引 index )

◆  AllocBucket()

MAXON_WARN_UNUSED void* AllocBucket ( 索引 index )

◆  FreeNode()

void FreeNode ( 索引   i )

◆  FreeBucket()

void FreeBucket ( 索引   i )

◆  IsNode()

static Bool IsNode ( 索引   i )
static

◆  GetNode() [1/2]

NODE* GetNode ( 索引   i )

◆  GetNode() [2/2]

const NODE* GetNode ( 索引   i ) const

◆  GetBucket() [1/2]

BUCKET* GetBucket ( 索引   i )

◆  GetBucket() [2/2]

const BUCKET* GetBucket ( 索引   i ) const

Member Data Documentation

◆  _nodePool

ElementPool <NODE, 索引 > _nodePool
private

◆  _bucketPool

ElementPool <BUCKET, 索引 > _bucketPool
private