MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / reset

Method reset

rtpose_wrapper/src/gtest/gtest.h:1853–1860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1851 }
1852
1853 void reset(T* p = NULL) {
1854 if (p != ptr_) {
1855 if (IsTrue(sizeof(T) > 0)) { // Makes sure T is a complete type.
1856 delete ptr_;
1857 }
1858 ptr_ = p;
1859 }
1860 }
1861 private:
1862 T* ptr_;
1863

Callers 15

MapGenerationNodeMethod · 0.45
FaceRecognitionNodeMethod · 0.45
load_registered_facesMethod · 0.45
FaceRecognizerBayesMethod · 0.45
updateMethod · 0.45
setPredefinedFacesMethod · 0.45
setPredefinedFacesMethod · 0.45
updateMethod · 0.45
HaarDispAdaNodeMethod · 0.45
onInitMethod · 0.45
HaarDispAdaNodeMethod · 0.45
mainFunction · 0.45

Calls 1

IsTrueFunction · 0.85

Tested by

no test coverage detected