Extend Python's dir() function on entity instances with attribute and inverse attribute names of entities

This commit is contained in:
Thomas Krijnen
2015-02-27 13:41:33 +00:00
parent d41dbc386e
commit 9bbbc6e7d9
9 changed files with 413 additions and 292 deletions
+1
View File
@@ -44,6 +44,7 @@ namespace Type {
bool GetAttributeDerived(Enum t, unsigned char a);
std::pair<const char*, int> GetEnumerationIndex(Enum t, const std::string& a);
std::pair<Enum, unsigned> GetInverseAttribute(Enum t, const std::string& a);
std::set<std::string> GetInverseAttributeNames(Enum t);
void PopulateDerivedFields(IfcWrite::IfcWritableEntity* e);
}}