MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / Init

Method Init

src/core/serializerimpl.cpp:142–150  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////////////////// Init -- the job of init is to clear out the RefCountObj table, fill out the mTypeArray, and and write the header information //////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

140// mTypeArray, and and write the header information
141///////////////////////////////////////////////////////////////////////////////
142void cSerializerImpl::Init()
143{
144 cDebug d("cSerializerImpl::Init");
145 d.TraceDetail("Entering; IsWriting = %s\n", IsWriting() ? "true" : "false");
146
147 mRefCtObjTbl.Clear();
148
149 mbInit = true;
150}
151
152///////////////////////////////////////////////////////////////////////////////
153// Finit

Callers

nothing calls this directly

Calls 2

TraceDetailMethod · 0.60
ClearMethod · 0.45

Tested by

no test coverage detected