parsing class implementation lacks understanding "using namespace xx"

Achim Spangler spangler at
Tue Mar 28 09:04:22 UTC 2000

I define some classes in a two times nested namespace. 
(namespace Nam1 { namespace Nam2 { class class_foo{}; //.. } })

I would like to use something like this for the class_foo
using namespace Nam1::Nam2;
void class_foo::method(){}

instead of:
void Nam1::Nam2::class_foo::method(){}

=> CClassParser::parseMethodImpl would need to extend the 
   searched scope path by the given namespaces

Is "using namespace" parsed by kdevelop/classparser?

What about kdoc2:
The "@see" tag likes full namespace names. 
Is it capable to interprete "using namespaces"??
- Or must I write "@see Nam1::Nam2::class_foo::method" or 
                  "@see Nam1::Nam2::class_foo"?

Dipl.-Inform. Achim Spangler                TUM Freising-Weihenstephan
Tel.:  +49-8161-71 3565                     Institut fuer Landtechnik
Fax.:  +49-8161-71 3895                     Am Staudengarten 2
Email: spangler at    85350 Freising
=-=-=-=-=-=-=-=-=-=-=-Agricultural BUS System (LBS)-=-=-=-=-=-=-=-=-=-=-

More information about the KDevelop mailing list