SophiaFramework UNIVERSE 5.3 |
SFDNew is the class for the recording the positions of source code where memory is allocated by the "new" operator.
Note | |
---|---|
SFDNew is the internal class of SophiaFramework for detecting the memory leak. |
Constructor/Destructor |
---|
SFDNew(
ACharConstPtr file
, SInt32 line
) Constructor of the SFDNew class.
|
Public Functions | |
---|---|
T * |
operator=(
T * address
) |
[ public, explicit ] SFDNew( ACharConstPtr file // file name to record SInt32 line // the line number to record );
It records the file name and the line number.
[ public, const ] T * operator=( T * address // address of object to record the position );
Return the address.
The SFDNew::operator= function is used to record the address of object and the position of source code.
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |