Hello Folks,

When I have a class declared *inside* a function, the docs for the class and 
members get merged into the function docs.  Instead I expect the internal class 
to be documented separately, just a class declared within another class.

Here's a minimal example, declaring an API with an abstract base class, then 
specializing within a templated function body:

/// Base class with pure virtual function.
class Base
{
  /// Api declaration, including a pure virtual function:
  virtual void PureVirtual (void) = 0;
};  // class Base

/// Make a specialized instance of Base
Base *
MakeSpecialized (void)
{
  /// Specialized class (shouldn't appear in MakeSpecialized)
  class Specialized : public Base
  {
    /// Specialized implementation (shouldn't appear in MakeSpecialized
    virtual void PureVirtual (void) { };
  };
  Specialized s = new Specialized;
  return s;
}  // MakeSpecialized

Any ideas?
Thanks,
Peter
_______________________________________________________________________
Dr. Peter D. Barnes, Jr.                Physics Division
Lawrence Livermore National Laboratory  Physical and Life Sciences
7000 East Avenue, L-50                  email:  pdbar...@llnl.gov
P. O. Box 808                           Voice:  (925) 422-3384
Livermore, California 94550             Fax:    (925) 423-3371


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to