在头文件中很奇怪

时间:2009-08-16 16:32:29

标签: c++ header doxygen

我在头文件中有一些行,如:

public:
    //! @name Constructor / Destructor
    //@{
    //! Constructor.
        CP_AboutBox( CP_Application_Imp *inOwnerApp );
        virtual ~CP_AboutBox() throw();
    //@}

    //! @name Instance
    //@{
        static  CP_AboutBox                 *Instance();
    //@}

    //! @name Display
    //@{
        void    Display( const CP_String& inDescription = CP_String("") );
    //@}

    //! @name Setters
    //@{

所有这些@name Instance@name Display是什么?

是Doxygen吗?

2 个答案:

答案 0 :(得分:2)

是的,请参阅Doxygen documentaion中解释此内容的此部分。

答案 1 :(得分:2)

是的,这是doxygen风格的评论。 http://www.doxygen.nl/manual/grouping.html#memgroup