Functions
Constructor from a TQ3Object.
public:
explicit CQ3ObjectRef (
TQ3SharedObject inObject
) (
: mObject( inObject
);
Discussion
It is assumed that you pass a new reference
to this constructor.
Parameter Descriptions
- inObject
- A new reference to a Quesa object,
or NULL.
Get the value held by the wrapper.
public:
TQ3SharedObject get (void) const;
- function result
- A TQ3Object, or NULL.
Test whether this object holds a Quesa object.
public:
bool isvalid (void) const;
- function result
- True if it holds a non-NULL Quesa object.
Assignment operator.
public:
CQ3ObjectRef& operator= (
const CQ3ObjectRef& inOther
);
Discussion
The previous object held by this wrapper
is disposed, and a new reference replaces
it.
Parameter Descriptions
- inOther
- Another CQ3ObjectRef.
Swap contents with another CQ3ObjectRef.
public:
void swap (
CQ3ObjectRef& ioOther
);
Parameter Descriptions
- ioOther
- Another CQ3ObjectRef.
© 1999-2008 Quesa Developers (Last Updated 5/10/2008)