mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 23:36:20 +00:00
This commit is contained in:
@@ -167,6 +167,9 @@ public:
|
|||||||
/// IfcWall will also return IfcWallStandardCase entities
|
/// IfcWall will also return IfcWallStandardCase entities
|
||||||
IfcEntityList::ptr instances_by_type(const std::string& t);
|
IfcEntityList::ptr instances_by_type(const std::string& t);
|
||||||
|
|
||||||
|
/// Returns all entities in the file that match the positional argument.
|
||||||
|
IfcEntityList::ptr instances_by_type_excl_subtypes(const std::string& t);
|
||||||
|
|
||||||
/// Returns all entities in the file that reference the id
|
/// Returns all entities in the file that reference the id
|
||||||
IfcEntityList::ptr instances_by_reference(int id);
|
IfcEntityList::ptr instances_by_reference(int id);
|
||||||
|
|
||||||
|
|||||||
@@ -1902,6 +1902,10 @@ IfcEntityList::ptr IfcFile::instances_by_type(const std::string& t) {
|
|||||||
return instances_by_type(schema()->declaration_by_name(t));
|
return instances_by_type(schema()->declaration_by_name(t));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
IfcEntityList::ptr IfcFile::instances_by_type_excl_subtypes(const std::string& t) {
|
||||||
|
return instances_by_type_excl_subtypes(schema()->declaration_by_name(t));
|
||||||
|
}
|
||||||
|
|
||||||
IfcEntityList::ptr IfcFile::instances_by_reference(int t) {
|
IfcEntityList::ptr IfcFile::instances_by_reference(int t) {
|
||||||
entities_by_ref_t::const_iterator it = byref.find(t);
|
entities_by_ref_t::const_iterator it = byref.find(t);
|
||||||
IfcEntityList::ptr ret;
|
IfcEntityList::ptr ret;
|
||||||
|
|||||||
Reference in New Issue
Block a user