13 #ifndef __PI_PropertyMap__
14 #define __PI_PropertyMap__
25 const char *propertyfile,
26 const char *propertyname,
27 const char *ch0=0,
const char *ch1=0,
28 const char *ch2=0,
const char *ch3=0)
31 myPropFile = propertyfile;
32 myProperty = propertyname;
39 setRename(parmname, ch0, ch1, ch2, ch3);
44 void setRename(
const char *
r,
const char *ch0=0,
const char *ch1=0,
45 const char *ch2=0,
const char *ch3=0)
54 const char *
getParm()
const {
return myParm; }
58 const char *
getCh(
int i)
const {
return myChannels[i]; }
59 const char *
getChRename(
int i)
const {
return myChRename[i]; }
62 const char *myPropFile;
63 const char *myProperty;
65 const char *myChannels[4];
66 const char *myChRename[4];
81 bool renameParameter(
const char *oldname,
const char *newname,
82 const char *newch0=0,
const char *newch1=0,
83 const char *newch2=0,
const char *newch3=0);
89 void createTokenMap();
const char * getParm() const
void setRename(const char *r, const char *ch0=0, const char *ch1=0, const char *ch2=0, const char *ch3=0)
const char * getRename() const
const char * getPropFile() const
const char * getCh(int i) const
void setMap(int n, const PI_PropertyMapDef map[])
const char * getProperty() const
const char * getChRename(int i) const
PI_PropertyMapDef(const char *parmname, const char *propertyfile, const char *propertyname, const char *ch0=0, const char *ch1=0, const char *ch2=0, const char *ch3=0)