gpucalc::Object::Any Class Reference
List of all members.
Detailed Description
Definition at line 147 of file object.h.
Constructor & Destructor Documentation
gpucalc::Object::Any::Any |
( |
|
) |
[inline] |
gpucalc::Object::Any::Any |
( |
size_t |
size |
) |
[inline] |
gpucalc::Object::Any::Any |
( |
void * |
from, |
|
|
size_t |
size | |
|
) |
| | [inline] |
gpucalc::Object::Any::Any |
( |
const Any & |
any |
) |
[inline] |
gpucalc::Object::Any::~Any |
( |
|
) |
[inline] |
Member Function Documentation
void gpucalc::Object::Any::copyValue |
( |
void * |
To |
) |
[inline] |
void gpucalc::Object::Any::destroy |
( |
|
) |
[inline, private] |
Any& gpucalc::Object::Any::operator= |
( |
const Any & |
any |
) |
[inline] |
Definition at line 179 of file object.h.
00180 {
00181 if (mPointer == any.mPointer)
00182 {
00183 return *this;
00184 }
00185 else
00186 {
00187 Any tmp(any);
00188 swap(tmp);
00189 return *this;
00190 }
00191 }
void gpucalc::Object::Any::release |
( |
|
) |
[inline, private] |
void gpucalc::Object::Any::swap |
( |
Any & |
other |
) |
[inline, private] |
Definition at line 233 of file object.h.
00234 {
00235 std::swap(mPointer, other.mPointer);
00236 std::swap(mSize, other.mSize);
00237 std::swap(mUseCount, other.mUseCount);
00238 }
Member Data Documentation
The documentation for this class was generated from the following file: