#include <at_pointers.h>
Collaboration diagram for at::PointerWrapper< w_TD, w_debug_code >:

Public Types | |
| typedef w_TD | value_type |
Public Methods | |
| PointerWrapper (w_TD *i_value=0) | |
| void | Assign (w_TD *i_in) |
| void | AssignNull () |
| void | AssignInvalid () |
| bool | IsNull () const |
| bool | IsValid () const |
| const w_TD * | Get () const |
| w_TD ** | GetInnerAddr () |
| w_TD | is the type being pointed to - synonymous with the value_type. |
| w_debug_code | is set to true if "invalid" pointer checks are being made. |
|
|||||
|
value_type is the value of the return from w_T::operator *() |
|
||||||||||
|
construct a pointer_value given a w_T value. It is assumed that the pointer value is a valid pointer. (This is where this concept breaks down a little. There is no way of knowing what kind of pointer is being passed.)
|
|
||||||||||
|
The Assign method is the function used to assign pointers.
|
|
|||||||||
|
AssignInvalid will set the pointer to an invalid entry. Meaning attempts to use the pointer will assert after AssignInvalid. |
|
|||||||||
|
Assign the pointer value to null
|
|
|||||||||
|
Get will retrieve from a pointer_value the value contained.
|
|
|||||||||
|
Return the address of the inner pointer. This is used for legacy API's which require a pointer to the internal address.
|
|
|||||||||
|
Returns true if the value is null - if debug mode is on, this check for test of an "invalid" pointer.
|
|
|||||||||
|
Determines in the pointer is a valid pointer. In this case, the check for assert is not done because this is used when to determine if the pointer needs releasing.
|
Generated for Austria by
and
MakeXS at Sun Oct 24 17:35:34 PDT 2004