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

Method getWidth

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

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected