cleanCppProject
0.2.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
source
SomeClass.h
Go to the documentation of this file.
1
#pragma once
2
#include <string>
3
#include <vector>
4
5
6
/**
7
* Empty BaseClass, just to show how it looks in doxygen.
8
*
9
* Here is some graph:
10
*
11
* \startuml
12
* Sender->Receiver : Command()
13
* Sender<--Receiver : Ack()
14
* \enduml
15
*
16
* How you like it?
17
*
18
*/
19
class
BaseClass
20
{
21
public
:
22
BaseClass
()
23
{
24
mPointer
=
new
int(5);
25
};
26
27
~BaseClass
(){};
28
void
freePtr
()
29
{
30
delete
mPointer
;
31
};
32
int
*
mPointer
;
33
};
34
35
/**
36
* Empty data class, just to show how it looks in doxygen.
37
*/
38
class
Data
39
{
40
public
:
41
Data
(){};
42
~Data
(){};
43
};
44
45
/**
46
* SomeClass description. This is a test class ment to show
47
* how to create, build, use and document classes from other files.
48
*
49
* \warning beware, this is how warning looks like.
50
*/
51
class
SomeClass
:
public
BaseClass
52
{
53
int
mVal{0};
///< Stores the value
54
std::vector<Data>
mData
;
55
std::vector<std::string>
mStrings
;
56
Data
*
mParent
;
57
58
public
:
59
SomeClass
();
///< Creates empty SomeClass
60
~
SomeClass
();
61
62
63
/**
64
* Sets the value
65
* @param x input value
66
*/
67
void
set
(
int
x);
68
69
/**
70
* get the value
71
* @return current value
72
*/
73
int
get
();
74
};
SomeClass
SomeClass description.
Definition:
SomeClass.h:51
SomeClass::mParent
Data * mParent
Definition:
SomeClass.h:56
Data::Data
Data()
Definition:
SomeClass.h:41
BaseClass::~BaseClass
~BaseClass()
Definition:
SomeClass.h:27
BaseClass::BaseClass
BaseClass()
Definition:
SomeClass.h:22
Data::~Data
~Data()
Definition:
SomeClass.h:42
BaseClass
Empty BaseClass, just to show how it looks in doxygen.
Definition:
SomeClass.h:19
BaseClass::mPointer
int * mPointer
Definition:
SomeClass.h:31
SomeClass::mStrings
std::vector< std::string > mStrings
Definition:
SomeClass.h:55
SomeClass::mData
std::vector< Data > mData
Definition:
SomeClass.h:54
BaseClass::freePtr
void freePtr()
Definition:
SomeClass.h:28
Data
Empty data class, just to show how it looks in doxygen.
Definition:
SomeClass.h:38
Generated by
1.8.11