ReactOS  0.4.12-dev-18-gf469aca
ATL::CStringData Struct Reference

#include <atlsimpstr.h>

Inheritance diagram for ATL::CStringData:
Collaboration diagram for ATL::CStringData:

Public Member Functions

voiddata () throw ()
 
void AddRef () throw ()
 
void Release () throw ()
 
bool IsLocked () const throw ()
 
bool IsShared () const throw ()
 

Public Attributes

IAtlStringMgrpStringMgr
 
int nAllocLength
 
int nDataLength
 
long nRefs
 

Detailed Description

Definition at line 42 of file atlsimpstr.h.

Member Function Documentation

◆ AddRef()

void ATL::CStringData::AddRef ( void  )
throw (
)
inline

Definition at line 54 of file atlsimpstr.h.

Referenced by ATL::CSimpleStringT< BaseType, _CSTRING_IMPL_::_MFCDLLTraitsCheck< BaseType, StringTraits >::c_bIsMFCDLLTraits >::CloneData(), and ATL::CAtlStringMgr::GetNilString().

55  {
56  ATLASSERT(nRefs > 0);
58  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:9
long __cdecl _InterlockedIncrement(_Interlocked_operand_ long volatile *_Addend)

◆ data()

◆ IsLocked()

◆ IsShared()

◆ Release()

Member Data Documentation

◆ nAllocLength

◆ nDataLength

◆ nRefs

◆ pStringMgr


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