31 { impl_ = s;
return *
this;}
32 inline CompoundKey& operator+=(
const char* );
34 {
return impl_ == s; }
36 {
return impl_ == oth.
impl_; }
38 {
return impl_ != s; }
40 {
return impl_ != u.
impl_; }
42 inline bool isEmpty()
const {
return impl_.isEmpty();}
43 inline char*
getCStr() {
return impl_.getCStr(); }
44 inline const char*
buf()
const {
return impl_.buf(); }
45 inline operator const char*()
const 50 void setKey(
int,
const char*);
51 CompoundKey upLevel()
const;
52 bool isUpLevelOf(
const CompoundKey&)
const;
57 char* fromKey(
int)
const;
58 const char* getKeyPart(
int)
const;
62 char* fetchKeyPart(
int,
bool)
const;
#define mExpClass(module)
Definition: commondefs.h:160
bool operator==(const CompoundKey &oth) const
Definition: compoundkey.h:35
CompoundKey & operator=(const char *s)
Definition: compoundkey.h:30
char * getCStr()
Definition: compoundkey.h:43
CompoundKey(const CompoundKey &ck)
Definition: compoundkey.h:28
bool isEmpty() const
Definition: compoundkey.h:42
const char * buf() const
Definition: compoundkey.h:44
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
bool isEmpty() const
Definition: odstring.h:51
Concatenated short keys separated by dots. Used for Object identifiers in the Object Manager...
Definition: compoundkey.h:23
bool operator==(const char *s) const
Definition: compoundkey.h:33
CompoundKey(const char *s=0)
Definition: compoundkey.h:27
CompoundKey & operator+=(const char *)
Definition: compoundkey.h:67
void setEmpty()
Definition: compoundkey.h:41
BufferString impl_
Definition: compoundkey.h:56
bool operator!=(const char *s) const
Definition: compoundkey.h:37
bool operator!=(const CompoundKey &u) const
Definition: compoundkey.h:39