make some getter methods of liggghtsCommandModel const

This commit is contained in:
danielque
2018-10-01 16:03:06 +02:00
parent 304b7328c4
commit f7716a67a6
5 changed files with 9 additions and 9 deletions

View File

@ -94,7 +94,7 @@ public:
// Member Functions
word name(){return propsDict_.dictName();};
word name() const {return propsDict_.dictName();}
const char* command(int);

View File

@ -165,15 +165,15 @@ public:
// Access
int nextRun(){return nextRun_;}
int nextRun() const {return nextRun_;}
int lastRun(){return lastRun_;}
int lastRun() const {return lastRun_;}
virtual word name()=0;
virtual word name() const=0;
bool exactTiming(){return exactTiming_;}
bool exactTiming() const {return exactTiming_;}
label commandLines(){return commandLines_;}
label commandLines() const {return commandLines_;}
void parseCommandList(wordList&, labelList&, scalarList&, word&, dictionary&, bool&);
};

View File

@ -89,7 +89,7 @@ public:
// Member Functions
word name(){return propsDict_.dictName();};
word name() const {return propsDict_.dictName();}
const char* command(int);

View File

@ -92,7 +92,7 @@ public:
bool runCommand(int);
word name(){return "runLiggghts";};
word name() const {return "runLiggghts";}
void set(int);
};

View File

@ -97,7 +97,7 @@ public:
bool runCommand(int);
word name(){return "writeLiggghts";};
word name() const {return "writeLiggghts";}
};