MCPcopy Create free account
hub / github.com/PDAL/PDAL / getRoot

Method getRoot

plugins/e57/libE57Format/src/NodeImpl.cpp:188–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188NodeImplSharedPtr NodeImpl::getRoot()
189{
190 // don't checkImageFileOpen
191 NodeImplSharedPtr p( shared_from_this() );
192 while ( !p->isRoot() )
193 {
194 p = NodeImplSharedPtr( p->parent_ ); //??? check if bad ptr?
195 }
196
197 return p;
198}
199
200//??? use visitor?
201bool NodeImpl::isTypeConstrained()

Callers 1

_verifyAndGetRootMethod · 0.80

Calls 1

isRootMethod · 0.45

Tested by

no test coverage detected