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

Method getHeight

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

Source from the content-addressed store, hash-verified

14 double getLength() { return m_length; }
15 double getWidth() { return m_width; }
16 double getHeight() { return m_height; }
17
18 // Functions to set member variable values
19 void setLength(double length) { if (length > 0) m_length = length; }

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected