OpenSDN source code
IndexVectorResource< Object > Class Template Reference

#include <index_vector_resource.h>

Collaboration diagram for IndexVectorResource< Object >:

Public Member Functions

 IndexVectorResource ()
 
virtual ~IndexVectorResource ()
 
uint32_t AllocIndex (Object entry)
 
uint32_t InsertAtIndex (uint32_t index, Object entry)
 
void UpdateIndex (uint32_t index, Object entry)
 
void FreeIndex (uint32_t index)
 
Object FindIndex (size_t index)
 

Private Attributes

IndexVector< Object > index_table_
 

Detailed Description

template<typename Object>
class IndexVectorResource< Object >

Definition at line 15 of file index_vector_resource.h.

Constructor & Destructor Documentation

◆ IndexVectorResource()

template<typename Object >
IndexVectorResource< Object >::IndexVectorResource ( )
inline

Definition at line 17 of file index_vector_resource.h.

◆ ~IndexVectorResource()

template<typename Object >
virtual IndexVectorResource< Object >::~IndexVectorResource ( )
inlinevirtual

Definition at line 19 of file index_vector_resource.h.

Member Function Documentation

◆ AllocIndex()

template<typename Object >
uint32_t IndexVectorResource< Object >::AllocIndex ( Object  entry)
inline

Definition at line 23 of file index_vector_resource.h.

Here is the call graph for this function:

◆ FindIndex()

template<typename Object >
Object IndexVectorResource< Object >::FindIndex ( size_t  index)
inline

Definition at line 38 of file index_vector_resource.h.

Here is the call graph for this function:

◆ FreeIndex()

template<typename Object >
void IndexVectorResource< Object >::FreeIndex ( uint32_t  index)
inline

Definition at line 34 of file index_vector_resource.h.

Here is the call graph for this function:

◆ InsertAtIndex()

template<typename Object >
uint32_t IndexVectorResource< Object >::InsertAtIndex ( uint32_t  index,
Object  entry 
)
inline

Definition at line 27 of file index_vector_resource.h.

Here is the call graph for this function:

◆ UpdateIndex()

template<typename Object >
void IndexVectorResource< Object >::UpdateIndex ( uint32_t  index,
Object  entry 
)
inline

Definition at line 31 of file index_vector_resource.h.

Here is the call graph for this function:

Member Data Documentation

◆ index_table_

template<typename Object >
IndexVector<Object> IndexVectorResource< Object >::index_table_
private

Definition at line 43 of file index_vector_resource.h.


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