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

Method getLength

Examples/NoModules/Chapter 12/Ex12_11/Box.h:15–15  ·  view source on GitHub ↗

Functions to provide access to the values of member variables (all const!)

Source from the content-addressed store, hash-verified

13
14 // Functions to provide access to the values of member variables (all const!)
15 double getLength() const { return m_length; }
16 double getWidth() const { return m_width; }
17 double getHeight() const { return m_height; }
18

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected