MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CArray< T > Class Template Reference

#include <CArray.hpp>

Public Member Functions

bool setSize (Uint32 noOfElements, bool exit_on_error=true)
Uint32 getSize () const
void getPtr (Ptr< T > &) const
T * getPtr (Uint32 i) const
void getPtr (Ptr< T > &, Uint32 i) const

Detailed Description

template<class T>
class CArray< T >

Template class used for implementing an c - array

Definition at line 28 of file CArray.hpp.

Member Function Documentation

template<class T>
void CArray< T >::getPtr ( Ptr< T > &  ptr) const
inline

Update p value for ptr according to i value

Definition at line 116 of file CArray.hpp.

template<class T>
T * CArray< T >::getPtr ( Uint32  i) const
inline

Get pointer for i value

Definition at line 129 of file CArray.hpp.

template<class T>
void CArray< T >::getPtr ( Ptr< T > &  ptr,
Uint32  i 
) const
inline

Update p & i value for ptr according to i value

Definition at line 141 of file CArray.hpp.

template<class T >
Uint32 CArray< T >::getSize ( ) const
inline

Get size

Definition at line 109 of file CArray.hpp.

template<class T >
bool CArray< T >::setSize ( Uint32  noOfElements,
bool  exit_on_error = true 
)
inline

Set the size of the pool

Note, can currently only be called once

Definition at line 89 of file CArray.hpp.


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