Use boost::variant for writable arguments in the IFC serializer

This commit is contained in:
Thomas Krijnen
2013-08-04 04:49:08 +00:00
parent 14a3f80c59
commit 27962701b9
4 changed files with 252 additions and 368 deletions
+2
View File
@@ -44,8 +44,10 @@ namespace IfcWrite {
int* _id;
bool arg_writable(int i);
void arg_writable(int i, bool b);
template <typename T> void _setArgument(int i, const T&);
public:
IfcWritableEntity(Ifc2x3::Type::Enum t);
~IfcWritableEntity();
int setId(int i=-1);
IfcWritableEntity(IfcAbstractEntity* e);
IfcEntities getInverse(Ifc2x3::Type::Enum c = Ifc2x3::Type::ALL);