ReactOS  0.4.12-dev-720-g6accaef
ATL::CElementTraitsBase< T > Class Template Reference

#include <atlcoll.h>

Inheritance diagram for ATL::CElementTraitsBase< T >:

Public Types

typedef const TINARGTYPE
 
typedef TOUTARGTYPE
 

Static Public Member Functions

static void CopyElements (_Out_writes_all_(NumElements) T *Dest, _In_reads_(NumElements) const T *Source, _In_ size_t NumElements)
 
static void RelocateElements (_Out_writes_all_(NumElements) T *Dest, _In_reads_(NumElements) T *Source, _In_ size_t NumElements)
 

Detailed Description

template<typename T>
class ATL::CElementTraitsBase< T >

Definition at line 71 of file atlcoll.h.

Member Typedef Documentation

◆ INARGTYPE

template<typename T >
typedef const T& ATL::CElementTraitsBase< T >::INARGTYPE

Definition at line 74 of file atlcoll.h.

◆ OUTARGTYPE

template<typename T >
typedef T& ATL::CElementTraitsBase< T >::OUTARGTYPE

Definition at line 75 of file atlcoll.h.

Member Function Documentation

◆ CopyElements()

template<typename T >
static void ATL::CElementTraitsBase< T >::CopyElements ( _Out_writes_all_(NumElements) T Dest,
_In_reads_(NumElements) const T Source,
_In_ size_t  NumElements 
)
inlinestatic

Definition at line 77 of file atlcoll.h.

81  {
82  for (size_t i = 0; i < NumElements; i++)
83  {
84  Dest[i] = Source[i];
85  }
86  }
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
_In_ UINT _In_ UINT _In_ PNDIS_PACKET Source
Definition: ndis.h:3149

◆ RelocateElements()

template<typename T >
static void ATL::CElementTraitsBase< T >::RelocateElements ( _Out_writes_all_(NumElements) T Dest,
_In_reads_(NumElements) T Source,
_In_ size_t  NumElements 
)
inlinestatic

Definition at line 88 of file atlcoll.h.

92  {
93  memmove_s(Dest, NumElements * sizeof(T), Source, NumElements * sizeof(T));
94  }
#define T
Definition: mbstring.h:31
int CDECL memmove_s(void *dest, size_t numberOfElements, const void *src, size_t count)
Definition: heap.c:548
_In_ UINT _In_ UINT _In_ PNDIS_PACKET Source
Definition: ndis.h:3149

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