generator.h | generator.h | |||
---|---|---|---|---|
skipping to change at line 279 | skipping to change at line 279 | |||
* Returns the subdirectory path for a given package | * Returns the subdirectory path for a given package | |||
* (aka module, aka library) name. | * (aka module, aka library) name. | |||
* If the target language separates the package modules with characte rs other | * If the target language separates the package modules with characte rs other | |||
* than dots ('.') the generator subclass must overload this method. | * than dots ('.') the generator subclass must overload this method. | |||
* /param packageName complete package name for which to return the s ubdirectory path | * /param packageName complete package name for which to return the s ubdirectory path | |||
* or nothing the use the name of the currently processed package | * or nothing the use the name of the currently processed package | |||
* /return a string representing the subdirectory path for the given package | * /return a string representing the subdirectory path for the given package | |||
*/ | */ | |||
virtual QString subDirectoryForPackage(QString packageName = QString()) const; | virtual QString subDirectoryForPackage(QString packageName = QString()) const; | |||
QList<const AbstractMetaType*> instantiatedContainers() const; | ||||
static QString getSimplifiedContainerTypeName(const AbstractMetaType* t | ||||
ype); | ||||
void addInstantiatedContainers(const AbstractMetaType* type); | ||||
private: | private: | |||
struct GeneratorPrivate; | struct GeneratorPrivate; | |||
GeneratorPrivate* m_d; | GeneratorPrivate* m_d; | |||
void collectInstantiatedContainers(const AbstractMetaFunction* func); | ||||
void collectInstantiatedContainers(); | ||||
}; | }; | |||
Q_DECLARE_OPERATORS_FOR_FLAGS(Generator::Options) | Q_DECLARE_OPERATORS_FOR_FLAGS(Generator::Options) | |||
typedef QLinkedList<Generator*> GeneratorList; | typedef QLinkedList<Generator*> GeneratorList; | |||
/** | /** | |||
* Utility class to store the identation level, use it in a QTextStream. | * Utility class to store the identation level, use it in a QTextStream. | |||
*/ | */ | |||
class GENRUNNER_API Indentor | class GENRUNNER_API Indentor | |||
{ | { | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 8 lines changed or added | |||