MCPcopy Create free account
hub / github.com/MrKepzie/Natron / getEnvironmentVariables

Method getEnvironmentVariables

Engine/Project.cpp:2242–2252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2240}
2241
2242void
2243Project::getEnvironmentVariables(std::map<std::string, std::string>& env) const
2244{
2245 std::list<std::vector<std::string> > table;
2246
2247 _imp->envVars->getTable(&table);
2248 for (std::list<std::vector<std::string> >::iterator it = table.begin(); it != table.end(); ++it) {
2249 assert(it->size() == 2);
2250 env[(*it)[0]] = (*it)[1];
2251 }
2252}
2253
2254void
2255Project::expandVariable(const std::map<std::string, std::string>& env,

Callers 6

createWriterPathMethod · 0.80
SequenceFileDialogMethod · 0.80
restoreStateMethod · 0.80
setModelAndUrlsMethod · 0.80

Calls 4

getTableMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected