MCPcopy Create free account
hub / github.com/Norbyte/ositools / toParent

Method toParent

OsiInterface/PropertyMap.h:532–536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530 using BaseType = typename std::conditional<!std::is_same<TBase, void>::value, TBase, T>::type;
531
532 virtual void * toParent(void * obj) const
533 {
534 auto typedObj = reinterpret_cast<T *>(obj);
535 return static_cast<TBase *>(obj);
536 }
537 };
538
539 template <class TValue, class T, class TBase>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected