![]() |
My Doxygen Markdown Project 1.0
A project to demonstrate Doxygen with Markdown
|
Example class using Doxygen features. More...
#include <example.hpp>
Public Member Functions | |
Example () | |
Default constructor. | |
Example (const std::string &name) | |
Construct with a name. | |
bool | setName (const std::string &name) |
Set the name. | |
std::string | getName () const |
Get the name. | |
void | addValue (int value) |
Add a value to the list. | |
std::vector< int > | getValues () const |
Get all values. |
Static Public Member Functions | |
static int | add (int x, int y) |
Static utility function. |
Public Attributes | |
Color | color |
Public member variable. |
Example class using Doxygen features.
This class demonstrates documentation for constructors, methods, members, and more.
Example::Example | ( | ) |
Default constructor.
|
explicit |
Construct with a name.
name | The name to assign. |
|
static |
Static utility function.
x | First integer. |
y | Second integer. |
void Example::addValue | ( | int | value | ) |
Add a value to the list.
value | The value to add. |
std::invalid_argument | if value is negative. |
std::string Example::getName | ( | ) | const |
std::vector< int > Example::getValues | ( | ) | const |
Get all values.
bool Example::setName | ( | const std::string & | name | ) |
Color Example::color |
Public member variable.