14 #include "generalmod.h" 28 LineKey(
const char*,
const char* attrnm);
33 {
return *
this ==
LineKey(lk); }
35 BufferString lineName()
const;
36 BufferString attrName()
const;
38 { *
this =
LineKey( lnm, attrName() ); }
40 { *
this =
LineKey( lineName(), anm ); }
43 bool usePar(
const IOPar&,
bool linename_is_iopar_name);
#define mExpClass(module)
Definition: commondefs.h:160
LineKey(const char *lk=0)
Definition: linekey.h:26
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
void setAttrName(const char *anm)
Definition: linekey.h:39
void setLineName(const char *lnm)
Definition: linekey.h:37
Key for a line in a line set.
Definition: linekey.h:22
virtual ~GeomIDProvider()
Definition: linekey.h:57
Class providing a current line key.
Definition: linekey.h:53
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
LineKey(const IOPar &iop, bool liin)
Definition: linekey.h:29
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
Index_Type GeomID
Definition: commontypes.h:52
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
static const char * sKeyDefAttrib()
Definition: linekey.h:45
FixedString LineKey()
Definition: keystrs.h:82