Doxygen Awesome  v2.3.2
Modern Doxygen theme
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
6namespace 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
Example class to demonstrate the features of the custom CSS.
Definition example.hpp:14
some subclass
Definition subclass-example.hpp:12
int virtualfunc() override
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)
Extra long function with lots of parameters and many template types.
Definition subclass-example.hpp:37
std::shared_ptr< std::string > function_template_test(std::shared_ptr< T > &param)
Template function function.
Definition example.hpp:4