Exemplo n.º 1
0
TPKGS::TPKGS()
: _existingPackages()
, _arePackagesLoaded(false)
, _mainPackageDir("/packages")
, _installPathMap()
, _keepDirs()
, _ignoreInSource()
, _ignoreInSystem()
{
	_installPathMap.insert(PathPair("/", ""));
}
Exemplo n.º 2
0
 std::list<PathPair> FileHandler::GenerateNewNames(std::list<std::string> source)
 {
     auto retValue = std::list<PathPair>();
     for (auto s : source)
     {
         std::string filename = s;
         std::transform(filename.begin(), filename.end(),filename.begin(), TransformChar);
         retValue.push_back(PathPair(s, filename));
     }
     return std::move(retValue);
 }
Exemplo n.º 3
0
void DataManager::addGridPath(int x, int y, ObjectPtr object, PathVect* path) {
	GET_GRID_ITEM(grid,x,y).paths.push_back(PathPair(object, path));
}