Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berry::ObjectInt Class Reference

#include <berryObjects.h>

Inheritance diagram for berry::ObjectInt:
Collaboration diagram for berry::ObjectInt:

Public Member Functions

 ObjectInt ()
 
 ObjectInt (int x)
 
QString ToString () const
 
- Public Member Functions inherited from berry::ObjectGeneric< int >
 ObjectGeneric ()
 
 ObjectGeneric (int x)
 
 ~ObjectGeneric () override
 
void SetValue (int val)
 
int 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::TypeInfoGetSuperclasses () const
 
virtual void Delete ()
 
QDebug Print (QDebug os, Indent Indent=0) 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
 
 ObjectInt
 
- Public Attributes inherited from berry::ObjectGeneric< int >
 berryObjectMacro1
 
 ObjectGeneric
 

Additional Inherited Members

- Public Types inherited from berry::ObjectGeneric< int >
typedef int ValueType
 
- Public Types inherited from berry::Object
typedef Object Self
 
typedef berry::SmartPointer< SelfPointer
 
typedef berry::SmartPointer< const SelfConstPointer
 
typedef berry::WeakPointer< SelfWeakPtr
 
typedef berry::WeakPointer< const SelfConstWeakPtr
 
- Static Public Member Functions inherited from berry::Object
static const char * GetStaticClassName ()
 
static Reflection::TypeInfo GetStaticTypeInfo ()
 
static QList< Reflection::TypeInfoGetStaticSuperclasses ()
 
- 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
 
- Protected Attributes inherited from berry::ObjectGeneric< int >
int m_Value
 
- Protected Attributes inherited from berry::Object
QAtomicInt m_ReferenceCount
 
QMutex m_ReferenceCountLock
 

Detailed Description

Definition at line 22 of file berryObjects.h.

Constructor & Destructor Documentation

◆ ObjectInt() [1/2]

berry::ObjectInt::ObjectInt ( )
inline

Definition at line 22 of file berryObjects.h.

◆ ObjectInt() [2/2]

berry::ObjectInt::ObjectInt ( int  x)
inline

Definition at line 22 of file berryObjects.h.

Member Function Documentation

◆ ToString()

QString berry::ObjectInt::ToString ( ) const
inlinevirtual

Returns a string representation of this object. The default implementation returns an empty string.

Reimplemented from berry::Object.

Definition at line 22 of file berryObjects.h.

Member Data Documentation

◆ berryObjectMacro1

berry::ObjectInt::berryObjectMacro1

Definition at line 22 of file berryObjects.h.

◆ ObjectInt

berry::ObjectInt::ObjectInt

Definition at line 22 of file berryObjects.h.


The documentation for this class was generated from the following file: