[mapguide-users] EXTERNAL_API not documented in doxygen

Bruce Dechant bruce.dechant at autodesk.com
Thu Nov 1 15:50:42 EDT 2007


There are 3 defines that control what ends up in the API and what is documented.

1) PUBLISHED_API
   - These APIs are documented and officially supported.
2) EXTERNAL_API
   - These APIs are NOT documented because they are NOT officially supported and may be removed in a future release without warning.
   - Some of these APIs may end up as "PUBLISHED_API" and officially supported in a future release.
3) INTERNAL_API
   - These APIs are not exposed in the web tier.

Thanks,
Bruce

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jim O'Leary
Sent: October 27, 2007 3:10 PM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] EXTERNAL_API not documented in doxygen


Is there a good reason why some public methods are not documented in the
doxygen output for MGOS? For example, in a typical code sample I see:

$site = new MgSite();
$site->Open($userInfo);

These methods are not documented in the doxygen output, which could be
confusing if you are trying to understand the code. However, in the source
code at:

Common\MapGuideCommon\Services.Site.h

I see:

EXTERNAL_API:


///////////////////////////////////////////////////////////////////////////////////
    /// \brief
    /// Construct an MgSite object and open a connection to the Site Server.
    ///
    /// \return
    /// Nothing
    ///
    MgSite();


///////////////////////////////////////////////////////////////////////////////////
    /// \brief
    /// Opens a connection to the Site Server.
    ///
    /// \param userInformation
    /// User information to authenticate against
    ///
    /// \return
    /// Nothing
    ///
    /// \exception MgNullArgumentException
    /// \exception MgAuthenticationFailedException
    /// \exception MgConnectionFailedException
    ///
    void Open(MgUserInformation* userInformation);

...and other methods. So it appears that code that is under EXTERNAL_API
does not make it into doxygen.

Thanks.
--
View this message in context: http://www.nabble.com/EXTERNAL_API-not-documented-in-doxygen-tf4704536s16610.html#a13447448
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list