open62541pp
0.16.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
doc
doxygen-awesome-css
include
MyLibrary
subclass-example.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <string>
3
#include "
example.hpp
"
4
#include <iostream>
5
6
namespace
MyLibrary
{
7
8
/**
9
* @brief some subclass
10
*/
11
template
<
typename
TemplatedClass>
12
class
SubclassExample
:
public
Example
{
13
public
:
14
15
/**
16
* @bug second bug
17
* @return
18
*/
19
int
virtualfunc
()
override
;
20
21
/**
22
* @brief Template function function
23
*/
24
template
<
typename
T>
25
std::shared_ptr<std::string>
function_template_test
(std::shared_ptr<T>& param);
26
27
/**
28
* @brief Extra long function with lots of parameters and many template types.
29
*
30
* Also has a long return type.
31
*
32
* @param param1 first parameter
33
* @param param2 second parameter
34
* @param parameter3 third parameter
35
*/
36
template
<
typename
T,
typename
Foo,
typename
Bar,
typename
Alice,
typename
Bob,
typename
Charlie,
typename
Hello,
typename
World>
37
std::pair<std::string, std::string>
long_function_with_many_parameters
(std::shared_ptr<T>& param1, std::shared_ptr<std::string>& param2,
bool
parameter3, Alice paramater4 Bob parameter 5) {
38
if
(
true
) {
39
std::cout <<
"this even has some code."
<< std::endl;
40
}
41
}
42
43
};
44
45
}
46
MyLibrary::Example
Example class to demonstrate the features of the custom CSS.
Definition
example.hpp:14
MyLibrary::SubclassExample
some subclass
Definition
subclass-example.hpp:12
MyLibrary::SubclassExample::virtualfunc
int virtualfunc() override
MyLibrary::SubclassExample::long_function_with_many_parameters
std::pair< std::string, std::string > long_function_with_many_parameters(std::shared_ptr< T > ¶m1, std::shared_ptr< std::string > ¶m2, bool parameter3, Alice paramater4 Bob parameter 5)
Extra long function with lots of parameters and many template types.
Definition
subclass-example.hpp:37
MyLibrary::SubclassExample::function_template_test
std::shared_ptr< std::string > function_template_test(std::shared_ptr< T > ¶m)
Template function function.
example.hpp
MyLibrary
Definition
example.hpp:4
Generated by
1.11.0