comparison plugin/DSSIPluginFactory.cpp @ 223:bf753a9abf0c

* Add slice layers (so you can display a slice of a colour 3d plot as if it were a spectrum) * Make spectrum layer a subclass of slice layer
author Chris Cannam
date Fri, 26 Jan 2007 16:59:57 +0000
parents e08cb0158e81
children dc46851837d6
comparison
equal deleted inserted replaced
222:c7122e70f8ec 223:bf753a9abf0c
229 #endif 229 #endif
230 } 230 }
231 231
232 std::string::size_type index = 0, newindex = 0; 232 std::string::size_type index = 0, newindex = 0;
233 233
234 while ((newindex = path.find(':', index)) < path.size()) { 234 while ((newindex = path.find(PATH_SEPARATOR, index)) < path.size()) {
235 pathList.push_back(path.substr(index, newindex - index).c_str()); 235 pathList.push_back(path.substr(index, newindex - index).c_str());
236 index = newindex + 1; 236 index = newindex + 1;
237 } 237 }
238 238
239 pathList.push_back(path.substr(index).c_str()); 239 pathList.push_back(path.substr(index).c_str());