ifcopenshell.file.from_string() (#246)

This commit is contained in:
Luke Brooks
2017-08-22 09:15:02 +01:00
committed by Thomas Krijnen
parent 475b8554a8
commit 08522c9fd7
4 changed files with 49 additions and 7 deletions
+2
View File
@@ -53,6 +53,7 @@ namespace IfcParse {
bool valid;
bool eof;
unsigned int size;
IfcSpfStream();
#ifdef USE_MMAP
IfcSpfStream(const std::string& fn, bool mmap=false);
#else
@@ -61,6 +62,7 @@ namespace IfcParse {
IfcSpfStream(std::istream& f, int len);
IfcSpfStream(void* data, int len);
~IfcSpfStream();
IfcSpfStream(const std::string& data, unsigned int x);
/// Returns the character at the cursor
char Peek();
/// Returns the character at specified offset