doxygen problem

hello there

i've encountered a problem with doxygen documentation.
for my current project, i created a file with constants with the name "constants.hpp", which i also included in my doxygen documentation.

the problem now is, that my constants are considered as functions in the doxygen documentation.

fyi, my constants look like this e.g.:

const double THETA(-90.0);
const short int NB_CAMERAS(4);
...


how can i make these constants aren't considered as functions anymore?
const touble THETA = -90.0; is not an option, because our professor wants all variables are declared with the initializer operator..


greetings
classified
gotta be a really hard problem, if nowbody even on this site has the answer. ^^
Well I've never heard of "doxygen documentation", but:
1
2
const T t(p); //and
const T u = p;
Do the same thing. Try the following out:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#include <iostream>

using namespace std;

class A {
	int z;
	
 public:
	A(int i = 0) : z(i) {
		cout << "Constructor (" << z << ")\n";
	}
	
	A(const A &a) : z(a.z) {
		cout << "Copy Constructor (" << z << ")\n";
	}
	
	A& operator=(const A &a) {
		z = a.z;
		cout << "Assignment operator (" << z << ")\n";
		return *this;
	}
};

int main() {
    {
        A a;
        A b(5);
        A c(b);
        a = c;
    }
	cout << endl;
	{
        A a;
        A b = 5;
        A c = b;
        a = c;
    }
	return 0;
}
Constructor (0)
Constructor (5)
Copy Constructor (5)
Assignment operator (5)

Constructor (0)
Constructor (5)
Copy Constructor (5)
Assignment operator (5)
gotta be a really hard problem, if nowbody even on this site has the answer. ^^


Possibly it's because this is a C++ forum. Doxygen questions should probably go to a Doxygen forum.
Topic archived. No new replies allowed.