Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <berryObjectGeneric.h>
Public Types | |
typedef ObjectGeneric | Self |
typedef berry::SmartPointer< Self > | Pointer |
typedef berry::SmartPointer< const Self > | ConstPointer |
typedef berry::WeakPointer< Self > | WeakPtr |
typedef berry::WeakPointer< const Self > | ConstWeakPtr |
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) | |
virtual | ~ObjectGeneric () |
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 |
Static Public Member Functions | |
static const char * | GetStaticClassName () |
Static Public Member Functions inherited from berry::Object | |
static const char * | GetStaticClassName () |
static Reflection::TypeInfo | GetStaticTypeInfo () |
static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
Protected Attributes | |
T | m_Value |
Protected Attributes inherited from berry::Object | |
QAtomicInt | m_ReferenceCount |
QMutex | m_ReferenceCountLock |
Additional Inherited Members | |
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 29 of file berryObjectGeneric.h.
typedef berry::SmartPointer<const Self> berry::ObjectGeneric< T >::ConstPointer |
Definition at line 33 of file berryObjectGeneric.h.
typedef berry::WeakPointer<const Self> berry::ObjectGeneric< T >::ConstWeakPtr |
Definition at line 33 of file berryObjectGeneric.h.
typedef berry::SmartPointer<Self> berry::ObjectGeneric< T >::Pointer |
Definition at line 33 of file berryObjectGeneric.h.
typedef ObjectGeneric berry::ObjectGeneric< T >::Self |
Definition at line 33 of file berryObjectGeneric.h.
typedef T berry::ObjectGeneric< T >::ValueType |
Definition at line 33 of file berryObjectGeneric.h.
typedef berry::WeakPointer<Self> berry::ObjectGeneric< T >::WeakPtr |
Definition at line 33 of file berryObjectGeneric.h.
|
inline |
Definition at line 37 of file berryObjectGeneric.h.
|
inline |
Definition at line 38 of file berryObjectGeneric.h.
|
inlinevirtual |
Definition at line 41 of file berryObjectGeneric.h.
|
inlinevirtual |
Definition at line 77 of file berryObjectGeneric.h.
|
inlinevirtual |
Definition at line 72 of file berryObjectGeneric.h.
|
inlinestatic |
Definition at line 33 of file berryObjectGeneric.h.
|
inline |
Definition at line 49 of file berryObjectGeneric.h.
|
inlinevirtual |
Definition at line 61 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 53 of file berryObjectGeneric.h.
|
inline |
Definition at line 45 of file berryObjectGeneric.h.
|
protected |
Definition at line 89 of file berryObjectGeneric.h.