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

Method push

src/ifcparse/aggregate_of_instance.h:70–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 typedef boost::shared_ptr<aggregate_of<T>> ptr;
69 typedef typename std::vector<T*>::const_iterator it;
70 void push(T* type) {
71 if (type) {
72 list_.push_back(type);
73 }
74 }
75 void push(ptr instance) {
76 if (instance) {
77 for (typename T::list::it it = instance->begin(); it != instance->end(); ++it) {

Callers 3

generalizeMethod · 0.45
asMethod · 0.45
generalizeMethod · 0.45

Calls 4

push_backMethod · 0.80
pushFunction · 0.70
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected