- Handle explicit attributes re-declared as derived in a subtype

- Update IfcOpenHouse to import correctly in Autodesk Autocad Architecture 2013
This commit is contained in:
Thomas Krijnen
2012-11-10 09:36:34 +00:00
parent e56281a72e
commit 2353c25fb8
8 changed files with 84 additions and 34 deletions
+19
View File
@@ -58,6 +58,25 @@ namespace IfcWrite {
std::string toString(bool upper=false) const;
unsigned int Size() const;
};
/// A derived argument. It will always serialize to *
class IfcWriteDerivedArgument : public IfcWriteArgument {
public:
IfcWriteDerivedArgument(IfcAbstractEntity* e) : IfcWriteArgument(e) {};
operator int() const;
operator bool() const;
operator double() const;
operator std::string() const;
operator std::vector<double>() const;
operator std::vector<int>() const;
operator std::vector<std::string>() const;
operator IfcUtil::IfcSchemaEntity() const;
operator IfcEntities() const;
bool isNull() const;
ArgumentPtr operator [] (unsigned int i) const;
std::string toString(bool upper=false) const;
unsigned int Size() const;
};
/// An entity list argument. It will serialize to (#1,#2,#3)
/// with possibly a datatype identifier for SELECT types, e.g: