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

Method getEnvironmentVariables

Engine/Project.cpp:2386–2396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2384}
2385
2386void
2387Project::getEnvironmentVariables(std::map<std::string, std::string>& env) const
2388{
2389 std::list<std::vector<std::string> > table;
2390
2391 _imp->envVars->getTable(&table);
2392 for (std::list<std::vector<std::string> >::iterator it = table.begin(); it != table.end(); ++it) {
2393 assert(it->size() == 2);
2394 env[(*it)[0]] = (*it)[1];
2395 }
2396}
2397
2398void
2399Project::expandVariable(const std::map<std::string, std::string>& env,

Callers 8

createWriterPathMethod · 0.80
saveProjectMethod · 0.80
saveProjectAsMethod · 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