| 165 | } |
| 166 | |
| 167 | void SceneInterface::stringToPath( const std::string &path, SceneInterface::Path &p ) |
| 168 | { |
| 169 | typedef boost::tokenizer<boost::char_separator<char> > Tokenizer; |
| 170 | Tokenizer tokens(path, boost::char_separator<char>("/")); |
| 171 | Tokenizer::iterator t = tokens.begin(); |
| 172 | p.clear(); |
| 173 | for ( ; t != tokens.end(); t++ ) |
| 174 | { |
| 175 | p.push_back( *t ); |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | std::ostream &operator <<( std::ostream &o, const IECoreScene::SceneInterface::Path &path ) |
| 180 | { |