Parse the spf header and check schema_identifiers against compiled schema

This commit is contained in:
Thomas Krijnen
2015-01-05 17:46:23 +00:00
parent 4d5d749255
commit f3c26c372d
14 changed files with 334 additions and 32 deletions
+6 -1
View File
@@ -23,6 +23,7 @@
#include <map>
#include "../ifcparse/IfcParse.h"
#include "../ifcparse/IfcSpfHeader.h"
namespace IfcParse {
@@ -48,6 +49,8 @@ private:
unsigned int lastId;
unsigned int MaxId;
IfcSpfHeader _header;
std::string _filename;
std::string _timestamp;
std::string _author;
@@ -56,7 +59,7 @@ private:
void initTimestamp();
public:
IfcParse::Tokens* tokens;
IfcParse::IfcSpfLexer* tokens;
IfcParse::IfcSpfStream* stream;
IfcFile(bool create_latebound_entities = false);
@@ -116,6 +119,8 @@ public:
std::string authorEmail() const;
std::string authorOrganisation() const;
const IfcSpfHeader& header() const { return _header; }
bool create_latebound_entities() const { return _create_latebound_entities; }
};