parsing class implementation lacks understanding "using namespace xx"

Achim Spangler spangler at tec.agrar.tu-muenchen.de
Tue Mar 28 09:04:22 UTC 2000


Hi,
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
implementation:
---
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"?

Greetings,
Achim
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=IKB-Duernast-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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 tec.agrar.tu-muenchen.de    85350 Freising
URL:   http://ikb.weihenstephan.de/deu/members/persons/spangler.html
       http://ikb.weihenstephan.de/en/members/persons/spangler.html
=-=-=-=-=-=-=-=-=-=-=-Agricultural BUS System (LBS)-=-=-=-=-=-=-=-=-=-=-




More information about the KDevelop mailing list