File: inheritance.h

package info (click to toggle)
breathe 4.36.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,224 kB
  • sloc: python: 12,703; cpp: 1,737; makefile: 523; xml: 168; sh: 54; ansic: 52
file content (9 lines) | stat: -rw-r--r-- 191 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9

class BaseA {};
class BaseB {};

/*! \brief This is the main class we're interested in */
class Main : public BaseA, BaseB {};

class ChildA : public Main {};
class ChildB : public Main {};