It seems that the code is from the C++ polymorphism example from the University of Regina, Canada. It can be found under:
ftp://www.cs.uregina.ca/pub/class/cplusplus/Poly.html
The code is shown at 01:18:30 in the film “The Outsider” (2014).
http://www.imdb.com/title/tt2198241/?ref_=fn_al_tt_4
Hope you can use it.
Mario.