Foo

Include dependency graph for sample_class.hpp:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "2" [label="string" tooltip="string"]
    "1" [label="/home/docs/checkouts/readthedocs.org/user_builds/yu-readthedocs-tutorial/checkouts/devel/cpp/include/sample_class.hpp" tooltip="/home/docs/checkouts/readthedocs.org/user_builds/yu-readthedocs-tutorial/checkouts/devel/cpp/include/sample_class.hpp" fillcolor="#BFBFBF"]
    "3" [label="iostream" tooltip="iostream"]
    "1" -> "2" [dir=forward tooltip="include"]
    "1" -> "3" [dir=forward tooltip="include"]
}
class Base
#include <sample_class.hpp>

Inheritence diagram for Base:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "2" [label="Derived" tooltip="Derived"]
    "1" [label="Base" tooltip="Base" fillcolor="#BFBFBF"]
    "2" -> "1" [dir=forward tooltip="public-inheritance"]
}

A test class.

A more and moreelaborate class description.

Subclassed by Derived

Public Functions

Base(std::string InName)

A constructor.

A more elaborate description of the constructor.

Parameters

InName – name of class instance.

virtual void print()

A normal member taking two arguments and returning an integer value.

See also

QTstyle_Test(), ~QTstyle_Test(), testMeToo() and publicVar()

Parameters
  • a – an integer argument.

  • s – a constant character pointer.

Returns

The test results

Protected Attributes

std::string _name
class Derived : public Base
#include <sample_class.hpp>

Inheritence diagram for Derived:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "1" [label="Derived" tooltip="Derived" fillcolor="#BFBFBF"]
    "2" [label="Base" tooltip="Base"]
    "1" -> "2" [dir=forward tooltip="public-inheritance"]
}

Collaboration diagram for Derived:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "1" [label="Derived" tooltip="Derived" fillcolor="#BFBFBF"]
    "2" [label="Base" tooltip="Base"]
    "1" -> "2" [dir=forward tooltip="public-inheritance"]
}

Public Functions

Derived(std::string InName)
virtual void print() override

A normal member taking two arguments and returning an integer value in derived.

See also

QTstyle_Test(), ~QTstyle_Test(), testMeToo() and publicVar()

Parameters
  • a – an integer argument.

  • s – a constant character pointer.

Returns

The test results