Sprinkle with template and typename keywords

This commit is contained in:
Thomas Krijnen
2017-12-22 16:45:02 +01:00
parent 472fde5599
commit 5e23086947
8 changed files with 20 additions and 12 deletions
+3 -1
View File
@@ -40,7 +40,7 @@ struct %(schema_name)s {
static const IfcParse::schema_definition& get_schema();
static const char* const Identifier = "%(schema_name_upper)s";
static const char* const Identifier;
// Forward definitions
%(forward_definitions)s
@@ -75,6 +75,8 @@ implementation= """
#include <map>
const char* const %(schema_name)s::Identifier = "%(schema_name_upper)s";
using namespace IfcParse;
using namespace IfcWrite;