aligator
0.14.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
Loading...
Searching...
No Matches
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
11
template
<
typename
TemplatedClass>
12
class
SubclassExample
:
public
Example
{
13
public
:
14
19
int
virtualfunc
()
override
;
20
24
template
<
typename
T>
25
std::shared_ptr<std::string>
function_template_test
(std::shared_ptr<T>& param);
26
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
doc
doxygen-awesome-css
include
MyLibrary
subclass-example.hpp
Generated by
1.13.2