ProjectionAlgo & DrawingExport renames

This commit is contained in:
WandererFan
2016-01-15 13:36:28 -05:00
committed by wmayer
parent 9a7f6b33b6
commit 2fbc4025cd
55 changed files with 294 additions and 633 deletions

View File

@@ -47,7 +47,7 @@ namespace DrawUtil {
// convenient utility functions for Drawing Module
//==============================================================================
extern "C" {
int DrawingExport getIndexFromName(std::string geomName)
int TechDrawExport getIndexFromName(std::string geomName)
{
boost::regex re("\\d+$"); //one of more digits at end of string
boost::match_results<std::string::const_iterator> what;
@@ -69,7 +69,7 @@ int DrawingExport getIndexFromName(std::string geomName)
}
}
std::string DrawingExport getGeomTypeFromName(std::string geomName)
std::string TechDrawExport getGeomTypeFromName(std::string geomName)
{
boost::regex re("^[a-zA-Z]*"); //one or more letters at start of string
boost::match_results<std::string::const_iterator> what;
@@ -90,7 +90,7 @@ std::string DrawingExport getGeomTypeFromName(std::string geomName)
}
}
std::string DrawingExport makeGeomName(std::string geomType, int index)
std::string TechDrawExport makeGeomName(std::string geomType, int index)
{
std::stringstream newName;
newName << geomType << index;