Gobelijn API documentation  - generated for commit a0cbea7
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
app_poly2.cpp File Reference

Implementation file for demo programs for run-time polymorphism. More...

#include "demos.h"
#include "objtracer/demobj.h"
#include "tracer/tracer.h"
Include dependency graph for app_poly2.cpp:

Go to the source code of this file.

Functions

int app_poly2 ()
 Demonstrates late binding. More...
 

Detailed Description

Implementation file for demo programs for run-time polymorphism.

A C++ code example relating to the material in Stroustrup (3 ed.) chapter 12: Derived classes

Author
P. Klosiewicz, J.Broeckhove, 2011 CoMP/UA

Definition in file app_poly2.cpp.

Function Documentation

int app_poly2 ( )

Demonstrates late binding.

Returns
status
Exceptions
None.

Definition at line 37 of file app_poly2.cpp.

References COMP_MISC_FUNCTION_TRACER, COMP_MISC_LOG_TRACER, COMP_MISC_TRACER_OUTPUT_OFF, and COMP_MISC_TRACER_OUTPUT_ON.

Referenced by main().

Here is the caller graph for this function: