mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-16 18:44:47 +00:00
Rewrite IfcFile::AddEntity() not to rely on exceptions, as suggested by ch0kee.
This commit is contained in:
@@ -132,6 +132,7 @@ namespace IfcWrite {
|
||||
std::string toString(bool upper=false) const;
|
||||
unsigned int Size() const;
|
||||
argument_type argumentType() const;
|
||||
IfcUtil::ArgumentType IfcWriteArgument::type() const;
|
||||
};
|
||||
|
||||
/// An entity to help with passing of SELECT arguments that
|
||||
@@ -154,7 +155,7 @@ namespace IfcWrite {
|
||||
bool is(IfcSchema::Type::Enum t) const;
|
||||
std::string toString(bool upper = false) const;
|
||||
unsigned int id();
|
||||
bool isWritable();
|
||||
IfcWritableEntity* isWritable();
|
||||
};
|
||||
|
||||
/// A helper class for passing of SELECT arguments that
|
||||
|
||||
Reference in New Issue
Block a user