Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
#include <berryObjectGeneric.h>
Public Types | |
typedef T | ValueType |
Public Types inherited from berry::Object | |
typedef Object | Self |
typedef berry::SmartPointer< Self > | Pointer |
typedef berry::SmartPointer< const Self > | ConstPointer |
typedef berry::WeakPointer< Self > | WeakPtr |
typedef berry::WeakPointer< const Self > | ConstWeakPtr |
Public Member Functions | |
ObjectGeneric () | |
ObjectGeneric (T x) | |
~ObjectGeneric () override | |
void | SetValue (T val) |
T | GetValue () const |
bool | operator== (const Object *o) const override |
virtual std::string | GetValueAsString () const |
virtual bool | Assignable (Object::ConstPointer other) const |
virtual void | Assign (Object::ConstPointer other) |
Public Member Functions inherited from berry::Object | |
virtual QString | GetClassName () const |
virtual Reflection::TypeInfo | GetTypeInfo () const |
virtual QList< Reflection::TypeInfo > | GetSuperclasses () const |
virtual void | Delete () |
QDebug | Print (QDebug os, Indent Indent=0) const |
virtual QString | ToString () const |
virtual uint | HashCode () const |
virtual bool | operator< (const Object *) const |
void | Register () const |
void | UnRegister (bool del=true) const |
int | GetReferenceCount () const |
void | SetReferenceCount (int) |
void | AddDestroyListener (const MessageAbstractDelegate<> &delegate) const |
void | RemoveDestroyListener (const MessageAbstractDelegate<> &delegate) const |
Public Attributes | |
berryObjectMacro1 | |
ObjectGeneric | |
Protected Attributes | |
T | m_Value |
Protected Attributes inherited from berry::Object | |
QAtomicInt | m_ReferenceCount |
QMutex | m_ReferenceCountLock |
Additional Inherited Members | |
Static Public Member Functions inherited from berry::Object | |
static const char * | GetStaticClassName () |
static Reflection::TypeInfo | GetStaticTypeInfo () |
static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
Protected Member Functions inherited from berry::Object | |
Object () | |
virtual | ~Object () |
virtual QDebug | PrintSelf (QDebug os, Indent indent) const |
virtual QDebug | PrintHeader (QDebug os, Indent indent) const |
virtual QDebug | PrintTrailer (QDebug os, Indent indent) const |
Definition at line 25 of file berryObjectGeneric.h.
typedef T berry::ObjectGeneric< T >::ValueType |
Definition at line 31 of file berryObjectGeneric.h.
|
inline |
Definition at line 33 of file berryObjectGeneric.h.
|
inline |
Definition at line 34 of file berryObjectGeneric.h.
|
inlineoverride |
Definition at line 37 of file berryObjectGeneric.h.
|
inlinevirtual |
Definition at line 73 of file berryObjectGeneric.h.
|
inlinevirtual |
Definition at line 68 of file berryObjectGeneric.h.
|
inline |
Definition at line 45 of file berryObjectGeneric.h.
|
inlinevirtual |
Definition at line 57 of file berryObjectGeneric.h.
|
inlineoverridevirtual |
A generic comparison method. Override this method in subclasses and cast to your derived class to provide a more detailed comparison.
Reimplemented from berry::Object.
Definition at line 49 of file berryObjectGeneric.h.
|
inline |
Definition at line 41 of file berryObjectGeneric.h.
berry::ObjectGeneric< T >::berryObjectMacro1 |
Definition at line 29 of file berryObjectGeneric.h.
|
protected |
Definition at line 85 of file berryObjectGeneric.h.
berry::ObjectGeneric< T >::ObjectGeneric |
Definition at line 29 of file berryObjectGeneric.h.