List of all members | Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes
OverCounted Class Reference

Public Member Functions

OverCountedoperator= (const OverCounted &oc)
 
 OverCounted (const int data=0)
 
 OverCounted (const OverCounted &oc)
 
void Swap (OverCounted &oc)
 
 ~OverCounted ()
 

Static Public Member Functions

static void Clear ()
 
static void Print ()
 

Private Attributes

int fData
 

Static Private Attributes

static int fgAssign = 0
 
static int fgConstructor = 0
 
static int fgCopyConstructor = 0
 
static int fgDestructor = 0
 
static int fgSwap = 0
 

Detailed Description

Definition at line 161 of file testShadowPtr.cc.

Constructor & Destructor Documentation

OverCounted::OverCounted ( const int  data = 0)
inlineexplicit

Definition at line 163 of file testShadowPtr.cc.

References data.

OverCounted::~OverCounted ( )
inline

Definition at line 166 of file testShadowPtr.cc.

OverCounted::OverCounted ( const OverCounted oc)
inline

Definition at line 169 of file testShadowPtr.cc.

References fData.

Member Function Documentation

static void OverCounted::Clear ( )
inlinestatic

Definition at line 175 of file testShadowPtr.cc.

Referenced by testShadowPtr::testContainerOps().

OverCounted& OverCounted::operator= ( const OverCounted oc)
inline

Definition at line 172 of file testShadowPtr.cc.

References fData.

static void OverCounted::Print ( )
inlinestatic

Definition at line 183 of file testShadowPtr.cc.

Referenced by testShadowPtr::testContainerOps().

void OverCounted::Swap ( OverCounted oc)
inline

Definition at line 178 of file testShadowPtr.cc.

References fData, and std::swap().

Referenced by swap().

Member Data Documentation

int OverCounted::fData
private

Definition at line 191 of file testShadowPtr.cc.

Referenced by operator=(), OverCounted(), and Swap().

int OverCounted::fgAssign = 0
staticprivate

Definition at line 195 of file testShadowPtr.cc.

int OverCounted::fgConstructor = 0
staticprivate

Definition at line 192 of file testShadowPtr.cc.

int OverCounted::fgCopyConstructor = 0
staticprivate

Definition at line 194 of file testShadowPtr.cc.

int OverCounted::fgDestructor = 0
staticprivate

Definition at line 193 of file testShadowPtr.cc.

int OverCounted::fgSwap = 0
staticprivate

Definition at line 196 of file testShadowPtr.cc.


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

, generated on Tue Sep 26 2023.