39 { add(i1); add(i2); add(i3); }
42 { impl_ = mi.
impl_;
return *
this; }
43 inline MultiID& operator =(
const CompoundKey& ck )
44 { impl_ = ck.
buf();
return *
this; }
46 { impl_ = fs.
str();
return *
this; }
47 inline MultiID& operator =(
const char* s )
48 { impl_ = s;
return *
this; }
51 {
return impl_ == m.
impl_; }
53 {
return impl_ == s; }
55 inline int ID(
int idx )
const 56 {
return key(idx).toInt(); }
57 inline void setID(
int idx,
int i )
63 { *
this +=
toString(i);
return *
this; }
66 inline void setUdf() { *
this = udf(); }
67 inline bool isUdf()
const {
return *
this == udf(); }
#define mExpClass(module)
Definition: commondefs.h:160
const char * str() const
Definition: odstring.h:48
MultiID(int i1, int i2, int i3)
Definition: multiid.h:38
void setUdf()
Definition: multiid.h:66
MultiID(const char *s=0)
Definition: multiid.h:30
OD::String that holds an existing text string.
Definition: fixedstring.h:29
MultiID & add(int i)
Definition: multiid.h:62
MultiID(int i)
Definition: multiid.h:34
MultiID(int i1, int i2)
Definition: multiid.h:36
MultiID(const FixedString &s)
Definition: multiid.h:28
bool operator==(const MultiID &m) const
Definition: multiid.h:50
void setID(int idx, int i)
Definition: multiid.h:57
const char * buf() const
Definition: compoundkey.h:44
MultiID(const MultiID &mid)
Definition: multiid.h:32
Concatenated short keys separated by dots. Used for Object identifiers in the Object Manager...
Definition: compoundkey.h:23
int ID(int idx) const
Definition: multiid.h:55
bool operator==(const char *s) const
Definition: multiid.h:52
bool isUdf() const
Definition: multiid.h:67
BufferString impl_
Definition: compoundkey.h:56
Export_Basic const char * toString(ViewStyle)
Compound key consisting of ints.
Definition: multiid.h:25