Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
pointer.h
Go to the documentation of this file.
1
#ifndef POINTER_H
2
#define POINTER_H
3
4
namespace
JGadget
{
5
6
template
<
class
T>
7
class
TPointer
{
8
public
:
9
TPointer
(
T
* ptr) :
mPtr
(ptr) {}
10
void
set
(
T
* ptr) {
mPtr
= ptr; }
11
T
*
mPtr
;
12
};
13
14
template
<
class
T>
15
class
TPointer_delete
:
public
TPointer
<T> {
16
public
:
17
TPointer_delete
(
T
* ptr) :
TPointer
(ptr) {}
18
~TPointer_delete
() {
19
delete
mPtr
;
20
}
21
};
22
23
}
24
25
#endif
JGadget::TPointer_delete
Definition
pointer.h:15
JGadget::TPointer_delete::~TPointer_delete
~TPointer_delete()
Definition
pointer.h:18
JGadget::TPointer_delete::TPointer_delete
TPointer_delete(T *ptr)
Definition
pointer.h:17
JGadget::TPointer
Definition
pointer.h:7
JGadget::TPointer::TPointer
TPointer(T *ptr)
Definition
pointer.h:9
JGadget::TPointer::mPtr
T * mPtr
Definition
pointer.h:11
JGadget::TPointer::set
void set(T *ptr)
Definition
pointer.h:10
T
static const double T[]
Definition
k_tan.c:106
JGadget
Definition
std-vector.cpp:14
include
JSystem
JGadget
pointer.h
Generated by
1.9.8