2
@author Shin'ichiro Nakaoka
10
using namespace boost;
11
using namespace cnoid;
14
ItemPath::ItemPath(const std::string& path) :
17
Tokenizer pathElements(path, Separator("\\", "/", ""));
19
pathBegin = pathElements.begin();
20
pathEnd = pathElements.end();
22
if(pathBegin != pathEnd && (*pathBegin).empty()){
31
for(iterator it = pathBegin; it != pathEnd; ++it){
37
std::string ItemPath::folder()
40
iterator it = pathBegin;