MCPcopy Create free account
hub / github.com/Apress/beginning-cpp20 / setNext

Method setNext

Examples/Modules/Chapter 12/Ex12_17/Package.cpp:16–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 // Retrieve or update the pointer to the next Package
15 Package* getNext() { return m_next; }
16 void setNext(Package* package) { m_next = package; }
17
18private:
19 SharedBox m_box; // Pointer to the Box object contained in this Package

Callers 2

addBoxMethod · 0.45
removeBoxMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected