v0.1.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Pages
CGUL::FixedList< T > Class Template Referenceabstract

A fixed list interface to set a fixed amount of data and fill in the slots of data. More...

#include <FixedList.hpp>

Inheritance diagram for CGUL::FixedList< T >:
CGUL::Container< T > CGUL::Array< T > CGUL::List< T > CGUL::Vector< T, Allocator >

Public Member Functions

virtual void SetSize (Size size)=0
 
virtual void Set (Size index, const T &value)=0
 
virtual Size GetSize () const =0
 
virtual T & Get (Size index)=0
 
virtual const T & Get (Size index) const =0
 

Detailed Description

template<typename T>
class CGUL::FixedList< T >

A fixed list interface to set a fixed amount of data and fill in the slots of data.

This interface creates the assumption that the child data type can be dynamically resized and filled with a type of data. The purpose of this class is to let a user decide the container that data will be put into, so long as that container inherits from this class.


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