[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Fri Nov 19 14:34:07 UTC 2004
CVS commit by okellogg:
While the processing of include files is not yet functioning,
defining scopes is a big problem.
Take for example the following file:
// test.h - demonstrates the problem with scope synthesis
#include <othertype.h> // include files are not currently parsed
namespace MyNS {
class Test {
Othertype str;
};
}
// end of file
Now, where should the UML object for Othertype be created?
At the global level, or inside MyNS - we have no way of knowing.
othertype.h may look like this:
// othertype.h
namespace MyNS {
class Othertype {
};
}
// end of file.
M +48 -52 classimport.cpp 1.54
M +29 -8 classimport.h 1.18
M +17 -20 classparser/cpptree2uml.cpp 1.13
More information about the umbrello-devel
mailing list