12 Object-Oriented Programming: Inheritance
12.2 Base Classes and Derived Classes
12.4 Relationship between Base Classes and Derived Classes
12.4.1 Creating and Using a
CommissionEmployee Class
12.4.2 Creating a
BasePlusCommissionEmployee Class Without
Using Inheritance
12.4.3 Creating a
CommissionEmployee-
BasePlusCommissionEmployee Inheritance Hierarchy
12.4.4
CommissionEmployee-
BasePlusCommissionEmployee Inheritance Hierarchy Using
protected Data
12.4.5
CommissionEmployee-
BasePlusCommissionEmployee Inheritance Hierarchy Using
private Data
12.5 Constructors and Destructors in Derived Classes
12.6
public,
protected and
private Inheritance
12.7 Software Engineering with Inheritance
13 Object-Oriented Programming: Polymorphism
13.2 Polymorphism Examples
13.3 Relationships Among Objects in an Inheritance Hierarchy
13.3.1 Invoking Base-Class Functions from Derived-Class Objects
13.3.2 Aiming Derived-Class Pointers at Base-Class Objects
13.3.3 Derived-Class Member-Function Calls via Base-Class Pointers
13.3.5 Summary of the Allowed Assignments Between Base-Class
and Derived-Class Objects and Pointers
13.4 Type Fields and
switch Statements
13.5 Abstract Classes and Pure
virtual Functions
13.6 Case Study: Payroll System Using Polymorphism
13.6.1 Creating Abstract Base Class
Employee
13.6.2 Creating Concrete Derived Class
SalariedEmployee
13.6.3 Creating Concrete Derived Class
HourlyEmployee
13.6.4 Creating Concrete Derived Class
CommissionEmployee
13.6.5 Creating Indirect Concrete Derived Class
BasePlusCommissionEmployee
13.6.6 Demonstrating Polymorphic Processing
13.7 (Optional) Polymorphism, Virtual Functions and Dynamic Binding
"Under the Hood"
13.8 Case Study: Payroll System Using Polymorphism and Run-Time Type Information with Downcasting,
dynamic_cast,
typeid and
type_info
13.10 (Optional) Software Engineering Case Study: Incorporating Inheritance
into the ATM System
14.3 Overloading Function Templates
14.5 Nontype Parameters and Default Types for Class Templates
14.6 Notes on Templates and Inheritance
14.7 Notes on Templates and Friends
14.8 Notes on Templates and
static Members
15.2.1 Classic Streams vs. Standard Streams
15.2.2
iostream Library Header Files
15.2.3 Stream Input/Output Classes and Objects
15.3.1 Output of
char * Variables
15.3.2 Character Output using Member Function
put
15.4.1
get and
getline Member Functions
15.4.2
istream Member Functions
peek,
putback and
ignore
15.5 Unformatted I/O using
read,
write and
gcount
15.6 Introduction to Stream Manipulators
15.6.1 Integral Stream Base:
dec,
oct,
hex and
setbase
15.6.2 Floating-Point Precision (
precision,
setprecision)
15.6.3 Field Width (
width,
setw)
15.6.4 User-Defined Output Stream Manipulators
15.7 Stream Format States and Stream Manipulators
15.7.1 Trailing Zeros and Decimal Points (
showpoint)
15.7.2 Justification (
left,
right and
internal)
15.7.3 Padding (
fill,
setfill)
15.7.4 Integral Stream Base (
dec,
oct,
hex,
showbase)
15.7.5 Floating-Point Numbers; Scientific and Fixed Notation
(
scientific,
fixed)
15.7.6 Uppercase/Lowercase Control (
uppercase)
15.7.7 Specifying Boolean Format (
boolalpha)
15.7.8 Setting and Resetting the Format State via Member
Function
flags
15.9 Tying an Output Stream to an Input Stream