API Reference > Other Classes > OdSlots Template
OdSlots Template
OdSlotsOdSlotsOdSlots
Syntax
C++
template <class TVal, class TAlloc = OdObjectsAllocator<TVal> > class OdSlots : public OdArray<TVal, TAlloc>;

SlotManager.h

This template class implements a collection of Slots.

Unlike Array elements, Slots may be empty, filled, or freed. New Slots are either allocated from the list of freed Slots, or added to the end of the underlying Array. 

 

 
Name 
Description 
 
This is the overview for the OdSlots constructor overload. 
 
Name 
Description 
 
Returns the value of an empty Slot in this Slots object. 
 
Returns the value at the specified Slot in this Slots object.
 
 
Sets the value at the specified Slot ID in this Slots object.
 
Name 
Description 
This is nested type OdSlots::size_type. 
 
Name 
Description 
 
[] 
This is the overview for the [] operator overload. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.