Public Member Functions | Protected Attributes

KBaseStaticArray< Type > Class Template Reference

Search for all occurrences

Detailed Description

template<class Type>
class KBaseStaticArray< Type >

Definition at line 52 of file karrayul.h.

#include <karrayul.h>

Inheritance diagram for KBaseStaticArray< Type >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int  GetCount ()
Type &  operator[] (int pIndex)
  Access pointer at given index.

Protected Attributes

int  mCount
Type *  mArrayBuf

Member Function Documentation

int GetCount ( ) [inline]

Definition at line 59 of file karrayul.h.

{ return mCount; }
Type& operator[] ( int  pIndex ) [inline]

Access pointer at given index.

Definition at line 62 of file karrayul.h.

        {
        #ifdef KFBX_PRIVATE
            K_ASSERT_MSG( pIndex >= 0   , "Buffer underflow");
            K_ASSERT_MSG( pIndex < mCount,"Buffer overflow.");
        #endif
            return mArrayBuf[pIndex];
        }

Member Data Documentation

int mCount [protected]

Definition at line 55 of file karrayul.h.

Type* mArrayBuf [protected]

Definition at line 56 of file karrayul.h.


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