Move wildcard_string_to_regex() from IfcParse to IfcGeom as it's not really related to parsing IFC at all.

This commit is contained in:
Stinkfist0
2016-05-31 14:04:44 +03:00
parent aa03da20a8
commit c644ffbe5e
3 changed files with 17 additions and 26 deletions
-8
View File
@@ -36,9 +36,6 @@
#include <boost/shared_ptr.hpp>
#include <boost/dynamic_bitset.hpp>
#ifndef IFCPARSE_NO_REGEX //allow builds without boost.regex
#include <boost/regex.hpp>
#endif
#include <boost/foreach.hpp>
#define foreach BOOST_FOREACH
@@ -119,11 +116,6 @@ namespace IfcUtil {
};
IfcParse_EXPORT bool valid_binary_string(const std::string& s);
#ifndef IFCPARSE_NO_REGEX
IfcParse_EXPORT boost::regex wildcard_string_to_regex(std::string str);
#endif
/// Replaces spaces and potentially other problem causing characters with underscores.
IfcParse_EXPORT void sanitate_material_name(std::string &str);
IfcParse_EXPORT void escape_xml(std::string &str);