Functions | |
void | import (Interpreter &interpretor, const std::string &cmdLine, std::istringstream &cmdArg, std::ostream &os) |
Implement sot interpretor import command. | |
void | pushImportPaths (Interpreter &interpretor, const std::string &cmdLine, std::istringstream &cmdArg, std::ostream &os) |
Implement sot interpretor pushImportPaths command. | |
void | popImportPaths (Interpreter &interpretor, const std::string &cmdLine, std::istringstream &cmdArg, std::ostream &os) |
Implement sot interpretor popImportPaths command. |
void dynamicgraph::command::import | ( | Interpreter & | interpretor, | |
const std::string & | cmdLine, | |||
std::istringstream & | cmdArg, | |||
std::ostream & | os | |||
) |
Implement sot interpretor import command.
The import command sources a file and searches automatically for it in the importPaths.
void dynamicgraph::command::popImportPaths | ( | Interpreter & | interpretor, | |
const std::string & | cmdLine, | |||
std::istringstream & | cmdArg, | |||
std::ostream & | os | |||
) |
Implement sot interpretor popImportPaths command.
Drop the last path of importPaths.
void dynamicgraph::command::pushImportPaths | ( | Interpreter & | interpretor, | |
const std::string & | cmdLine, | |||
std::istringstream & | cmdArg, | |||
std::ostream & | os | |||
) |
Implement sot interpretor pushImportPaths command.
Append a path to importPaths.