GenericIndexableContainerInterface Class Reference

#include <containerbase.h>

Inheritance diagram for GenericIndexableContainerInterface:

Detailed Description

This is the base interface of all indexable containers such as arrays or array containers.

Public Member Functions

MAXON_METHOD Int GetCount () const
 
MAXON_FUNCTION Bool IsEmpty () const
 
MAXON_FUNCTION Bool IsPopulated () const
 

Public Attributes

 MAXON_METHOD_RESERVE
 

Private Member Functions

 MAXON_INTERFACE_SIMPLE_VIRTUAL_DERIVED (GenericIndexableContainerInterface, MAXON_REFERENCE_COPY_ON_WRITE)
 
 MAXON_GENERIC ((ContainerVariance) typename T=NamedTuple<>)
 

Member Function Documentation

◆ MAXON_INTERFACE_SIMPLE_VIRTUAL_DERIVED()

MAXON_INTERFACE_SIMPLE_VIRTUAL_DERIVED ( GenericIndexableContainerInterface  ,
MAXON_REFERENCE_COPY_ON_WRITE   
)
private

◆ MAXON_GENERIC()

MAXON_GENERIC ( (ContainerVariance) typename  T = NamedTuple<>)
private

◆ GetCount()

MAXON_METHOD Int GetCount ( ) const

Gets the number of elements of the container.

Returns
Number of container elements.

◆ IsEmpty()

MAXON_FUNCTION Bool IsEmpty ( ) const

@MAXON_ANNOTATION{default=true}

◆ IsPopulated()

MAXON_FUNCTION Bool IsPopulated ( void  ) const

Member Data Documentation

◆ MAXON_METHOD_RESERVE

MAXON_METHOD_RESERVE