MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / push_back

Method push_back

src/ifcparse/IfcParse.cpp:1764–1774  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1762 };
1763
1764 void push_back(int level, IfcUtil::IfcBaseClass* instance) {
1765 if (mode_ == 0) {
1766 list_->push(instance);
1767 } else {
1768 auto& l = instances_by_level_[level];
1769 if (!l) {
1770 l.reset(new aggregate_of_instance);
1771 }
1772 l->push(instance);
1773 }
1774 }
1775
1776 aggregate_of_instance::ptr get_list() const {
1777 if (mode_ == 0) {

Callers 15

operator()Method · 0.80
SvgSerializer.hFile · 0.80
addYCoordinateFunction · 0.80
addSizeComponentFunction · 0.80
addDrawingFunction · 0.80
emit_line_stringsFunction · 0.80
writeMethod · 0.80
addFloatSourceMethod · 0.80
writeMethod · 0.80
BOOST_FOREACHFunction · 0.80
addMethod · 0.80
readMethod · 0.80

Calls 2

pushMethod · 0.45
resetMethod · 0.45

Tested by 1

test_intersectionMethod · 0.64