File: polymorphism.yo

package info (click to toggle)
c%2B%2B-annotations 10.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 10,536 kB
  • ctags: 3,247
  • sloc: cpp: 19,157; makefile: 1,521; ansic: 165; sh: 128; perl: 90
file content (78 lines) | stat: -rw-r--r-- 2,344 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
includefile(polymorphism/intro)

lsect(virfunc)(Virtual functions)
includefile(polymorphism/function)

lsect(VIRTDES)(Virtual destructors)
includefile(polymorphism/destructor)

sect(Pure virtual functions)
includefile(polymorphism/pure)

    subsect(Implementing pure virtual functions)
    includefile(polymorphism/implementing)

lsect(FINAL)(Explicit virtual overrides)
includefile(polymorphism/explicit)

lsect(MULTIPLEPOLYMORPH)(Virtual functions and multiple inheritance)
includefile(polymorphism/multiple)

    subsect(Ambiguity in multiple inheritance)
    includefile(polymorphism/ambiguity)

    lsubsect(VIRTUALBASE)(Virtual base classes)
    includefile(polymorphism/base)

    subsect(When virtual derivation is not appropriate)
    includefile(polymorphism/notvirtual)

lsect(RTTI)(Run-time type identification)
includefile(polymorphism/rtti)

        lsubsect(DYNAMICCAST)(The dynamic_cast operator)
        includefile(polymorphism/dynamiccast)

        lsubsect(TYPEID)(The `typeid' operator)
        includefile(polymorphism/typeid)

lsect(INHERITWHY)(Inheritance: when to use to achieve what?)
includefile(polymorphism/inheritance)

lsect(STREAMBUF)(The `streambuf' class)
includefile(polymorphism/streambufdef)

    lsubsect(SBPROTECTED)(Protected `streambuf' members)
    includefile(polymorphism/protectedstreambuf)

        subsubsect(Protected members for input operations)
        includefile(polymorphism/protectedinput)

        subsubsect(Protected members for output operations)
        includefile(polymorphism/protectedoutput)

        subsubsect(Protected members for buffer manipulation)
        includefile(polymorphism/protectedbuffer)

        subsubsect(Deriving classes from `streambuf')
        includefile(polymorphism/derivingfromstreambuf)

    lsubsect(FILEBUF)(The class `filebuf')
    includefile(polymorphism/filebuf)

    lsubsect(STREAMINIT)
        (Safely interfacing streams to another std::streambuf)
    includefile(polymorphism/init)


lsect(POLYMORPHEXCEPTION)(A polymorphic exception class)
includefile(polymorphism/exception)

lsect(howpolymorphism)(How polymorphism is implemented)
includefile(polymorphism/implementation)

lsect(VTABLE)(Undefined reference to vtable ...)
includefile(polymorphism/undefined)

lsect(VIRTCONS)(Virtual constructors)
includefile(polymorphism/constructors)