OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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

Definition at line 17 of file index_vector_resource.h.

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

Definition at line 19 of file index_vector_resource.h.

Member Function Documentation

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

Definition at line 23 of file index_vector_resource.h.

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

Definition at line 38 of file index_vector_resource.h.

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

Definition at line 34 of file index_vector_resource.h.

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

Definition at line 27 of file index_vector_resource.h.

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

Definition at line 31 of file index_vector_resource.h.

Member Data Documentation

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: