Weak reference wrapper for TemplateStructIntf that provides access to the wrapped struct without holding a reference. More...
Public Member Functions | |
TemplateStructWeakRef (TemplateStructIntf *ref) | |
virtual TemplateVariant | get (const char *name) const |
virtual int | addRef () |
virtual int | release () |
Public Member Functions inherited from TemplateStructIntf | |
virtual | ~TemplateStructIntf () |
Private Attributes | |
TemplateStructIntf * | m_ref |
int | m_refCount |
Weak reference wrapper for TemplateStructIntf that provides access to the wrapped struct without holding a reference.
Definition at line 2285 of file template.cpp.
|
inline |
Definition at line 2288 of file template.cpp.
|
inlinevirtual |
Increase object's reference count
Implements TemplateStructIntf.
Definition at line 2290 of file template.cpp.
|
inlinevirtual |
Gets the value for a field name.
[in] | name | The name of the field. |
Implements TemplateStructIntf.
Definition at line 2289 of file template.cpp.
|
inlinevirtual |
Decreases object's referenc count, destroy object if 0
Implements TemplateStructIntf.
Definition at line 2291 of file template.cpp.
|
private |
Definition at line 2293 of file template.cpp.
|
private |
Definition at line 2294 of file template.cpp.