STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Member Functions | Private Attributes | List of all members
msclr::interop::details::char_buffer< T > Class Template Reference

#include <msclr/marshal.h>

Public Member Functions

 char_buffer (size_t _size)
 
 ~char_buffer ()
 
T * get () const
 
T * release ()
 

Private Member Functions

 char_buffer (const char_buffer &)
 
char_bufferoperator= (const char_buffer &)
 

Private Attributes

T * _ptr
 

Constructor & Destructor Documentation

template<class T>
msclr::interop::details::char_buffer< T >::char_buffer ( size_t  _size)
inlineexplicit
49  {
50  _ptr = new T[_size];
51  }
T * _ptr
Definition: marshal.h:75
template<class T>
msclr::interop::details::char_buffer< T >::~char_buffer ( )
inline
54  {
55  delete [] _ptr;
56  }
T * _ptr
Definition: marshal.h:75
template<class T>
msclr::interop::details::char_buffer< T >::char_buffer ( const char_buffer< T > &  )
private

Member Function Documentation

template<class T>
T* msclr::interop::details::char_buffer< T >::get ( ) const
inline
59  {
60  return _ptr;
61  }
T * _ptr
Definition: marshal.h:75
template<class T>
char_buffer& msclr::interop::details::char_buffer< T >::operator= ( const char_buffer< T > &  )
private
template<class T>
T* msclr::interop::details::char_buffer< T >::release ( )
inline
64  {
65  T *_ret_value = _ptr;
66  _ptr = NULL;
67  return _ret_value;
68  }
#define NULL
Definition: crtdbg.h:30
T * _ptr
Definition: marshal.h:75

Member Data Documentation

template<class T>
T* msclr::interop::details::char_buffer< T >::_ptr
private

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