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

#include <berryObjectString.h>

Inheritance diagram for berry::ObjectString:
Collaboration diagram for berry::ObjectString:

Public Member Functions

 ObjectString ()
 
 ObjectString (const QString &s)
 
 ~ObjectString () override
 
bool operator== (const Object *other) const override
 
bool operator== (const QString &other) const
 
ObjectStringoperator= (const QString &other)
 
QString ToString () const override
 
- 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
 

Additional Inherited Members

- 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::Object
QAtomicInt m_ReferenceCount
 
QMutex m_ReferenceCountLock
 

Detailed Description

Definition at line 25 of file berryObjectString.h.

Constructor & Destructor Documentation

◆ ObjectString() [1/2]

berry::ObjectString::ObjectString ( )

◆ ObjectString() [2/2]

berry::ObjectString::ObjectString ( const QString &  s)

◆ ~ObjectString()

berry::ObjectString::~ObjectString ( )
override

Member Function Documentation

◆ operator=()

ObjectString& berry::ObjectString::operator= ( const QString &  other)

◆ operator==() [1/2]

bool berry::ObjectString::operator== ( const Object ) const
overridevirtual

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.

◆ operator==() [2/2]

bool berry::ObjectString::operator== ( const QString &  other) const

◆ ToString()

QString berry::ObjectString::ToString ( ) const
overridevirtual

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

Reimplemented from berry::Object.

Member Data Documentation

◆ berryObjectMacro1

berry::ObjectString::berryObjectMacro1

Definition at line 30 of file berryObjectString.h.


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