Cogs.Core
Protected Member Functions | Protected Attributes | List of all members
Cogs::Collections::SmallVectorBase Class Reference
Inheritance diagram for Cogs::Collections::SmallVectorBase:
Cogs::Collections::SmallVectorTemplateBase< PotreeAttributes > Cogs::Collections::SmallVectorTemplateBase< glm::vec4 > Cogs::Collections::SmallVectorTemplateBase< const void * > Cogs::Collections::SmallVectorTemplateBase< T > Cogs::Collections::SmallVectorImplBase< T, std::is_trivially_copyable< T >::value > Cogs::Collections::SmallVectorImplBase< PotreeAttributes, std::is_trivially_copyable< PotreeAttributes >::value > Cogs::Collections::SmallVectorImplBase< glm::vec4, std::is_trivially_copyable< glm::vec4 >::value > Cogs::Collections::SmallVectorImplBase< const void *, std::is_trivially_copyable< const void * >::value > Cogs::Collections::SmallVectorImplBase< T, isPod > Cogs::Collections::SmallVectorImplBase< T, true > Cogs::Collections::SmallVectorImpl< T > Cogs::Collections::SmallVectorImpl< PotreeAttributes > Cogs::Collections::SmallVectorImpl< glm::vec4 > Cogs::Collections::SmallVectorImpl< const void * > Cogs::Collections::SmallVector< PotreeAttributes, 4 > Cogs::Collections::SmallVector< glm::vec4, 1 > Cogs::Collections::SmallVector< glm::vec4, 8 > Cogs::Collections::SmallVector< const void *, 16 > Cogs::Collections::SmallVector< T, Size >

Protected Member Functions

 SmallVectorBase (void *data, size_t capacity, Memory::Allocator *allocator)
 
void growPod (const void *firstElement, const size_t minSizeBytes)
 
size_t sizeInBytes () const
 
size_t capacityInBytes () const
 

Protected Attributes

void * firstPtr
 
void * lastPtr
 
void * capacityPtr
 
Memory::Allocatorallocator
 

Detailed Description

Definition at line 13 of file SmallVector.h.

Constructor & Destructor Documentation

◆ SmallVectorBase()

Cogs::Collections::SmallVectorBase::SmallVectorBase ( void *  data,
size_t  capacity,
Memory::Allocator allocator 
)
inlineprotected

Definition at line 16 of file SmallVector.h.

Member Function Documentation

◆ capacityInBytes()

size_t Cogs::Collections::SmallVectorBase::capacityInBytes ( ) const
inlineprotected

Definition at line 30 of file SmallVector.h.

◆ growPod()

void Cogs::Collections::SmallVectorBase::growPod ( const void *  firstElement,
const size_t  minSizeBytes 
)
protected

Definition at line 3 of file SmallVector.cpp.

◆ sizeInBytes()

size_t Cogs::Collections::SmallVectorBase::sizeInBytes ( ) const
inlineprotected

Definition at line 25 of file SmallVector.h.

Member Data Documentation

◆ allocator

Memory::Allocator* Cogs::Collections::SmallVectorBase::allocator
protected

Definition at line 38 of file SmallVector.h.

◆ capacityPtr

void* Cogs::Collections::SmallVectorBase::capacityPtr
protected

Definition at line 37 of file SmallVector.h.

◆ firstPtr

void* Cogs::Collections::SmallVectorBase::firstPtr
protected

Definition at line 35 of file SmallVector.h.

◆ lastPtr

void* Cogs::Collections::SmallVectorBase::lastPtr
protected

Definition at line 36 of file SmallVector.h.


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