5 #ifndef vnsw_agent_index_vector_resource_hpp
6 #define vnsw_agent_index_vector_resource_hpp
13 template<
typename Object>
uint32_t AllocIndex(Object entry)
uint32_t InsertAtIndex(uint32_t index, Object entry)
IndexVector< Object > index_table_
Object FindIndex(size_t index)
void FreeIndex(uint32_t index)
void UpdateIndex(uint32_t index, Object entry)
virtual ~IndexVectorResource()
size_t InsertAtIndex(uint32_t index, EntryType entry)
size_t Insert(EntryType entry)
void Update(size_t index, EntryType entry)
EntryType At(size_t index) const
void Remove(size_t index)