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"]
}](../_images/graphviz-b02a0d3c7aa78fb64089e90298ac2b8cd3deba19.png)
-
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"]
}](../_images/graphviz-499bce2ea55392fa32af260b1388e60d24ee8a33.png)
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
-
Base(std::string InName)
-
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"]
}](../_images/graphviz-7c6f7dc06183286b08df955daf330688e7462b4c.png)
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"]
}](../_images/graphviz-7c6f7dc06183286b08df955daf330688e7462b4c.png)
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
-
Derived(std::string InName)