Encode characters outside the valid range for IFC SPF files and escape backslashes when writing IFC files

This commit is contained in:
Thomas Krijnen
2012-09-09 11:55:53 +00:00
parent da616ffd64
commit cb6884b48e
5 changed files with 88 additions and 8 deletions
+17
View File
@@ -73,4 +73,21 @@ namespace IfcParse {
}
namespace IfcWrite {
class IfcCharacterEncoder {
private:
#ifdef HAVE_ICU
static UErrorCode status;
static UConverter* converter;
std::string str;
#endif
public:
IfcCharacterEncoder(const std::string& input);
~IfcCharacterEncoder();
operator std::string();
};
}
#endif