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

Method getHeight

Examples/NoModules/Chapter 14/Ex14_04/Box.h:25–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 double getLength() const { return m_length; }
24 double getWidth() const { return m_width; }
25 double getHeight() const { return m_height; }
26
27protected: // Protected to facilitate further examples
28 double m_length {1.0}; // later this chapter (should normally be private)

Callers 1

Box.hFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected