If the class declaration and definition take place in two separate files (in a class.h and class.cc
for example) then doc++ does not parse their access properly. Whether or not '-p', ---private' or
'documentPrivateMembers=true' are included, it will parse the private members as global since they
are defined outside of the scope of the class.
Furthermore, if they are commented inside the header and the definition, doc++ will merge the two
docs together, but will go with the global definition.
For example:
myclass.h:
class MyClass {
public:
MyClass( int );
~MyClass( void );
private:
void Priv1( void );
void Priv2( void );
};
myclass.cc:
/** Documentation of my class */
MyClass::MyClass( int ) { }
/** MyClass destructor */
MyClass::~MyClass( void ) {}
/** MyClass private function 1 */
void MyClass::Priv1( void ) { }
/** MyClass private function 2 */
void MyClass::Priv2( void ) { }
Logged In: NO
I had this problem too. I'm trying to repair this, 'cause I
have to build too many documentations 'bout it.
I had contacted its developers, but they didn't return my
messages. Do it have, any path anywere? Please mail me or
follow up this.
Thanx
andrieid@dbserver.com.br