CBlockedBuffer::CBlockedBuffer::CBlockedData Class Reference#include <BlockedBuffer.h>
Collaboration diagram for CBlockedBuffer::CBlockedBuffer::CBlockedData:
![]()
Detailed DescriptionDefinition at line 56 of file BlockedBuffer.h. Constructor & Destructor Documentation
Definition at line 78 of file BlockedBuffer.h. 00079 : m_pData(NULL), 00080 m_iDataSize(iDataSize), 00081 m_iCalls(1) 00082 { 00083 //Do we have data 00084 if (pData && 00085 m_iDataSize) 00086 { 00087 //Allocate and copy 00088 m_pData=new char[m_iDataSize]; 00089 memcpy(m_pData, 00090 pData, 00091 m_iDataSize); 00092 } 00093 }
Definition at line 95 of file BlockedBuffer.h. 00095 : m_pData(NULL), 00096 m_iDataSize(rData.m_iDataSize), 00097 m_iCalls(rData.m_iCalls) 00098 { 00099 //Do we have data 00100 if (m_iDataSize && rData.m_pData) 00101 { 00102 //Allocate and copy 00103 m_pData=new char[m_iDataSize]; 00104 memcpy(m_pData, 00105 rData.m_pData, 00106 m_iDataSize); 00107 } 00108 }
Member Function Documentation
The documentation for this class was generated from the following file: |