///if this is set, imported items will get their parent set to the node they were acquired through(which may increase the overall count of items, decrease the caching-performance, and may create other problems in locating stuff)
//#define PHYSICAL_IMPORT
@ -220,7 +220,7 @@ class SimpleTypeConfiguration {
};
classSimpleTypeImpl:publicKShared {
classSimpleTypeImpl:publicTDEShared {
/*enum ResolutionFlags {
NoFlag=0,
HadTypedef=1,
@ -229,7 +229,7 @@ class SimpleTypeImpl : public KShared {
@ -712,7 +712,7 @@ class SimpleTypeImpl : public KShared {
returnTQValueList<TypePointer>();
}
/**TypeDescs and SimpleTypeImpls usually have a cross-reference, which creates a circular dependency so that they are never freed using KShared. This function breaks the loop, and also breaks all other possible dependency-loops. After this function was called, the type still contains its private information, but can not not be used to resolve anything anymore. This function is called automatically while the destruction of SimpleTypeConfiguration */
/**TypeDescs and SimpleTypeImpls usually have a cross-reference, which creates a circular dependency so that they are never freed using TDEShared. This function breaks the loop, and also breaks all other possible dependency-loops. After this function was called, the type still contains its private information, but can not not be used to resolve anything anymore. This function is called automatically while the destruction of SimpleTypeConfiguration */
virtualvoidbreakReferences();
///Returns either itself, or the (namespace-)proxy this type is a slave of.
KSharedPtr<HashedStringSetData>m_data;//this implies some additional cost because KShared's destructor is virtual. Maybe change that by copying KShared without the virtual destructor.
TDESharedPtr<HashedStringSetData>m_data;//this implies some additional cost because TDEShared's destructor is virtual. Maybe change that by copying TDEShared without the virtual destructor.