[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
namespace
The purpose of a namespace is to minimize the possibility of duplicating names. So, where as before you couldn't have two bars, now you can have foo::bar and bar::bar.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
namespace
(general) namespace
A namespace is a collection of entities. To put it more simply it's like a family of objects. For instance in C++ namespace entities could be referenced as foo::bar and foo::nobar, foo being the namespace and bar and nobar being the entities. XML references namespace entities in a very alike way.The purpose of a namespace is to minimize the possibility of duplicating names. So, where as before you couldn't have two bars, now you can have foo::bar and bar::bar.
Namespace in specific languages
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
