Class Design (Designing Standard Class Services)

8/7/98


Click here to start


Table of Contents

Class Design (Designing Standard Class Services)

Standard Class Services

Copy Constructor

Shallow Copy Example

Deep Copy Example

Assignment Operator

Shallow Assignment Example

Deep Assignment Example

Destructor

Default Destructor Example

Custom Destructor Example

Object Equality Example

Type Conversion Example

Logging Example

Testing Using Assertions

Custom Assertions

Class Framework

Author: Jim Stafford

Email: jim.stafford@apl.jhu.edu

Home Page: http://www.apl.jhu.edu/~jcstaff