[Doxygen-users] Forward declaration of enums
Brought to you by:
dimitri
|
From: Stephane R. <ste...@sy...> - 2002-01-17 18:46:32
|
Hi,
here is my problem :
I'm using forward declaration of enums and classes in my classes.
With the enum, I've got a warning :
E:/tmp/dox/class.h:8 Warning: Member MyEnum of file class.h is not
documented.
But I have no warnings for forward declarations of classes
Is that normal ?
Is that a bug ?
TIA,
Stephane
////////////////////////////////////////////////////////////////////////////
/**
* \file class.h
* \brief Header file for the class class
*/
#ifndef _class_HeaderFile
#define _class_HeaderFile
enum MyEnum;
class MyOtherClass;
/**
* \class class
* \brief qqqqq
*/
class MyClass
{
public:
/**
* \fn MyClass()
* \brief ctor
*/
MyClass()
{};
/**
* \fn ~MyClass()
* \brief dtor
*/
~MyClass()
{};
/**
* \fn SetEnum(const enum MyEnum anEnum)
* \brief set memeber
* \param anEnum const enum MyEnum
*/
void SetEnum(const enum MyEnum anEnum)
{m_enum = anEnum;};
/**
* \fn Enum()
* \brief return member
* \return MyEnum
*/
MyEnum Enum()
{return m_enum;};
private:
/** the member */
MyEnum m_enum;
};
#endif
////////////////////////////////////////////////////////////////////
|