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

Method getWidth

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

Source from the content-addressed store, hash-verified

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
19 // Functions to set member variable values (not const!)

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected