MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / nodeAs

Function nodeAs

src/dsql/Nodes.h:368–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366
367
368template <typename To, typename From> static To* nodeAs(From* fromNode)
369{
370 return fromNode && fromNode->getType() == To::TYPE ? static_cast<To*>(fromNode) : NULL;
371}
372
373template <typename To, typename From> static To* nodeAs(NestConst<From>& fromNode)
374{

Callers

nothing calls this directly

Calls 2

getTypeMethod · 0.45
getObjectMethod · 0.45

Tested by

no test coverage detected