MCPcopy Create free account
hub / github.com/apache/trafficserver / object

Method object

include/tscore/Ptr.h:166–170  ·  view source on GitHub ↗

Return the raw pointer as a RefCount object. Typically this is for keeping a collection of ogenous objects.

Source from the content-addressed store, hash-verified

164 // Return the raw pointer as a RefCount object. Typically
165 // this is for keeping a collection of ogenous objects.
166 RefCountObj *
167 object() const
168 {
169 return static_cast<RefCountObj *>(m_ptr);
170 }
171
172 // Return the stored pointer, storing NULL instead. Do not increment
173 // the refcount; the caller is now responsible for owning the RefCountObj.

Callers 4

openWriteStartDoneMethod · 0.80
attach_blockMethod · 0.80
demote_rw_str_heapMethod · 0.80
attach_str_heapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected