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
+4 -2
View File
@@ -138,7 +138,7 @@ public:
/// attributes as a flat list. NB: includes the root instance specified
/// in the first function argument.
IfcEntityList::ptr traverse(IfcUtil::IfcBaseClass* instance, int max_level=-1);
#ifdef USE_MMAP
bool Init(const std::string& fn, bool mmap=false);
#else
@@ -147,6 +147,8 @@ public:
bool Init(std::istream& fn, int len);
bool Init(void* data, int len);
bool Init(IfcParse::IfcSpfStream* f);
bool Init(const std::string& data, unsigned int unused);
IfcEntityList::ptr getInverse(int instance_id, IfcSchema::Type::Enum type, int attribute_index);
@@ -174,4 +176,4 @@ public:
}
#endif
#endif