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

Method getHeight

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

Source from the content-addressed store, hash-verified

30 double getLength() const { return m_length; }
31 double getWidth() const { return m_width; }
32 double getHeight() const { return m_height; }
33
34protected: // Protected to facilitate further examples
35 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