Changeset 803 for cpp/frams/genetics/fL/fL_general.cpp
- Timestamp:
- 06/07/18 17:42:49 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/fL/fL_general.cpp
r797 r803 73 73 } 74 74 75 bool fL_Builder::getNextObject(int &pos, SStringsrc, SString &token)75 bool fL_Builder::getNextObject(int &pos, const SString &src, SString &token) 76 76 { 77 77 // if position exceeds length then return false … … 130 130 } 131 131 132 std::string fL_Builder::trimSpaces( std::stringdata)132 std::string fL_Builder::trimSpaces(const std::string& data) 133 133 { 134 134 size_t first = data.find_first_not_of(' '); … … 141 141 } 142 142 143 int fL_Builder::createWord( SStringtoken, fL_Word *&word, int numparams, int begin, int end)143 int fL_Builder::createWord(const SString &token, fL_Word *&word, int numparams, int begin, int end) 144 144 { 145 145 SString wordn; … … 229 229 } 230 230 231 int fL_Builder::tokenize( SStringsequence, std::list<fL_Word *> &result, int numparams, int begin, int end)231 int fL_Builder::tokenize(const SString &sequence, std::list<fL_Word *> &result, int numparams, int begin, int end) 232 232 { 233 233 int pos = 0; … … 450 450 } 451 451 452 int fL_Builder::processLine(fLElementType type, SStringline, fL_Element *&obj, int linenumber, int begin, int end)452 int fL_Builder::processLine(fLElementType type, const SString &line, fL_Element *&obj, int linenumber, int begin, int end) 453 453 { 454 454 ParamEntry *tab; … … 557 557 } 558 558 559 int fL_Builder::parseGenotype( SStringgenotype)559 int fL_Builder::parseGenotype(const SString &genotype) 560 560 { 561 561 int pos = 0; … … 1303 1303 m->checkpoint(); 1304 1304 } 1305 if (maxwords != -1 && genotype.size() > (unsigned int)maxwords)1305 if (maxwords != -1 && ((int)genotype.size()) > maxwords) 1306 1306 { 1307 1307 wordsexceeded = true;
Note: See TracChangeset
for help on using the changeset viewer.