comparison generator/dgenerator.h @ 355:08c1ca7975ab

obviated redundant virtual dispatch callbacks
author Max Samukha <maxter@spambox.com>
date Tue, 25 May 2010 17:23:11 +0300
parents 4920ef9206fe
children 9784459f0750
comparison
equal deleted inserted replaced
354:18bd68f586c6 355:08c1ca7975ab
136 inline bool nativeJumpTable() const { return m_native_jump_table; } 136 inline bool nativeJumpTable() const { return m_native_jump_table; }
137 inline void setNativeJumpTable(bool n) { m_native_jump_table = n; } 137 inline void setNativeJumpTable(bool n) { m_native_jump_table = n; }
138 138
139 void writeShellVirtualFunction(QTextStream &s, const AbstractMetaFunction *function, 139 void writeShellVirtualFunction(QTextStream &s, const AbstractMetaFunction *function,
140 const AbstractMetaClass *implementor, int id); 140 const AbstractMetaClass *implementor, int id);
141 void marshallFromCppToD(QTextStream &s, const ComplexTypeEntry* ctype); 141 void marshalFromCppToD(QTextStream &s, const ComplexTypeEntry* ctype);
142 142
143 private: 143 private:
144 QString subDirectoryForPackage(const QString &package) const { return QString(package).replace(".", "/"); } 144 QString subDirectoryForPackage(const QString &package) const { return QString(package).replace(".", "/"); }
145 void writeInstantiatedType(QTextStream &s, const AbstractMetaType *abstractMetaType) const; 145 void writeInstantiatedType(QTextStream &s, const AbstractMetaType *abstractMetaType) const;
146 146