27 : name_(oth.getName()) {}
29 NamedObject& operator =(
const NamedObject&);
31 {
return name_ == oth.
getName(); }
35 virtual void setName(
const char* nm ) { name_ = nm; }
37 bool getNameFromPar(
const IOPar&);
38 void putNameInPar(
IOPar&)
const;
59 {
return name_ == oth.
getName(); }
61 {
return name_ == oth.
getName(); }
70 void sendDelNotif()
const;
78 return obj1.getName() > obj2.getName();
#define mExpClass(module)
Definition: commondefs.h:157
virtual Notifier< NamedCallBacker > & objectToBeDeleted() const
Definition: namedobj.h:63
virtual void setName(const char *nm)
Definition: namedobj.h:35
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
virtual ~NamedObject()
Definition: namedobj.h:28
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:51
#define mGlobal(module)
Definition: commondefs.h:160
NamedObject(const NamedObject &oth)
Definition: namedobj.h:26
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
encapsulates the read-access-only part of strings in OD.
Definition: odstring.h:29
Threads::Atomic< bool > delalreadytriggered_
Definition: namedobj.h:69
virtual BufferString getName() const
Definition: namedobj.h:34
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
object with a name.
Definition: namedobj.h:20
Notifier< NamedCallBacker > delnotif_
Definition: namedobj.h:68
NamedObject(const char *nm=0)
Definition: namedobj.h:24
virtual const OD::String & name() const
Definition: namedobj.h:33
BufferString name_
Definition: namedobj.h:42
CallBacker object with a name. Use if you want your object to be able to send and receive CallBack's...
Definition: namedobj.h:50