Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cArray.h File Reference
#include "cHeap.h"
#include "cObject.h"
#include "cValT.h"
#include <new>

Go to the source code of this file.

Classes

class  Gray::CArray< TYPE, ARG_TYPE >
 
class  Gray::cArrayTyped< TYPE, ARG_TYPE >
 
class  Gray::cArrayFacade< TYPE, TYPE_ARG >
 
class  Gray::cArrayPtr< TYPE >
 
class  Gray::cArrayVal< TYPE >
 
class  Gray::cArrayStruct< TYPE >
 

Namespaces

 Gray
 < The main namespace for all Core functions.
 

Macros

#define GRAY_FOREACH(_ITYPE, i, a)
 

Functions

template<class TYPE >
void __cdecl Gray::ConstructElements (TYPE *pElements, ITERATE_t nCount)
 
template<class TYPE >
void __cdecl Gray::DestructElements (TYPE *pElements, ITERATE_t nCount)
 
template<class TYPE >
void __cdecl Gray::CopyElements (TYPE *pDest, const TYPE *pSrc, ITERATE_t nCount)
 
template<>
void __cdecl Gray::CopyElements< BYTE > (BYTE *pDest, const BYTE *pSrc, ITERATE_t nCount)
 

Detailed Description

c++ Collections. MFC compatible.

Macro Definition Documentation

◆ GRAY_FOREACH

#define GRAY_FOREACH (   _ITYPE,
  i,
 
)
Value:
for ( ITERATE_t index_##i=0, _foreach_int=true; index_##i < a.GetSize(); index_##i++, _foreach_int=true ) \
for ( _ITYPE i=a[index_##i]; _foreach_int; _foreach_int=false )
int ITERATE_t
like size_t but signed
Definition: Index.h:28