My Project
 All Namespaces Files Functions Enumerations Enumerator Pages
Namespaces | Enumerations | Functions
nstest.h File Reference

Go to the source code of this file.

Namespaces

namespace  PLAT
 This is the PLAT namespace.

Enumerations

enum  PLAT::MyNSType { PLAT::mntOne, PLAT::mntTwo, PLAT::mntThree }
enum  MyGlobalType { mgtOne, mgtTwo, mgtThree }

Functions

MyNSType PLAT::MyNSFunc1 (PLAT::MyNSType a, MyNSType b,::MyNSType c)
 A simple function declared within a namespace.
PLAT::MyNSType PLAT::MyNSFunc2 (PLAT::MyNSType a, MyNSType b,::MyNSType c)
 Another simple function declared within a namespace.
MyGlobalType MyGlobalFunc1 (MyGlobalType a,::MyGlobalType b)
 A simple function declared within the global namespace.
::MyGlobalType MyGlobalFunc2 (MyGlobalType a,::MyGlobalType b)
 Another simple function declared within the global namespace.

Detailed Description

Example to illustrate some issues with namespace.


Enumeration Type Documentation

A simple enum defined within the global namespace.

Enumerator:
mgtOne 

One.

mgtTwo 

Two.

mgtThree 

Three.


Function Documentation

MyGlobalType MyGlobalFunc1 ( MyGlobalType  a,
::MyGlobalType  b 
)

A simple function declared within the global namespace.

It has parameters of types MyGlobalType and MyGlobalType .

Bug:
In the detailed description of this function Doxygen should create a link for MyGlobalType (i.e. the one without double colon prefix).
In the bug list Doxygen should create a link to MyGlobalType for parameter a.
See also:
MyGlobalFunc2, MyGlobalFunc2
::MyGlobalType MyGlobalFunc2 ( MyGlobalType  a,
::MyGlobalType  b 
)

Another simple function declared within the global namespace.

Detailed description.