Save registry as C++ code (it generates C++ class with the same functionality) and/or dependencies list.
More...
|
| bool | AppendAddresses (const icomp::IRegistry ®istry, const QStringList ®istryPath, Addresses &realAddresses, Addresses &composedAddresses) const |
| | Get component addresses used by given registry and its elements (recursively).
|
| |
| Ids | ExtractPackageIds (const Addresses &addresses) const |
| |
| Ids | ExtractComponentIds (const Addresses &addresses, const QByteArray &packageId) const |
| |
| bool | WriteHeader (const QByteArray &className, const icomp::IRegistry ®istry, const Addresses &composedAddresses, const Addresses &realAddresses, QTextStream &stream) const |
| |
| bool | WriteIncludes (const QByteArray &className, const Addresses &addresses, QTextStream &stream) const |
| |
| bool | WriteClassDefinitions (const QByteArray &className, const icomp::IRegistry ®istry, const Addresses &composedAddresses, const Addresses &realAddresses, QTextStream &stream) const |
| |
| bool | WriteDependencies (const Addresses &composedAddresses, const Addresses &realAddresses, bool singleLine, QTextStream &stream) const |
| |
| bool | WriteRegistryInfo (const icomp::IRegistry ®istry, const QByteArray ®istryCallPrefix, QTextStream &stream) const |
| |
| bool | WriteComponentInfo (const icomp::IRegistry ®istry, const QByteArray ®istryCallPrefix, const QByteArray &componentId, const icomp::IRegistry::ElementInfo &componentInfo, QTextStream &stream) const |
| |
| bool | WriteAttribute (const QByteArray &attributeId, const QByteArray &componentId, const QByteArray &attributeName, const iser::IObject &attribute, QTextStream &stream) const |
| |
| bool | WriteRegistryTranslation (const icomp::IRegistry ®istry, bool &translationFound, QTextStream &stream) const |
| | Write translation macro of all string attributes from registry.
|
| |
| bool | WritePackagesTranslation (int level, bool &translationFound, QTextStream &stream) const |
| | Write translation macro of all string attributes from packages till some level of package depth.
|
| |
| bool | WriteComponentTranslation (const QByteArray &componentId, const icomp::IRegistry::ElementInfo &componentInfo, bool &translationFound, QTextStream &stream) const |
| | Write translation macro of all string attributes from component.
|
| |
| bool | WriteRegistryClassDeclaration (const QByteArray &baseClassName, const QByteArray ®istryClassName, const icomp::IRegistry ®istry, QTextStream &stream) const |
| |
| bool | WriteRegistryClassBody (const QByteArray &baseClassName, const QByteArray ®istryClassName, const icomp::IRegistry ®istry, QTextStream &stream) const |
| |
| bool | WriteDeserializingCode (const iser::ISerializable &object, QTextStream &stream) const |
| | Write code deserializing some object from data buffer.
|
| |
| bool | GetAttributeValue (const iser::ISerializable &attribute, QByteArray &valueString, QByteArray &typeName) const |
| |
| bool | GetMultiAttributeValue (const iser::ISerializable &attribute, QList< QByteArray > &valueStrings, QByteArray &typeName) const |
| |
| bool | NextLine (QTextStream &stream) const |
| | Insert a new line and indentation tabs.
|
| |
| int | ChangeIndent (int difference) const |
| |
| bool | ExtractInfoFromFile (const QString &filePath, QByteArray &className, QString &baseFilePath) const |
| | Extract class name and absolute header path from a file name.
|
| |
| QByteArray | GetPackageName (const QByteArray &packageId) const |
| | Ensure that a package name ends with 'Pck'.
|
| |
| QByteArray | GetStringLiteral (const QString &text) const |
| | Get some wide string as C++ string literal.
|
| |
| QByteArray | GetIdValueLiteral (const QByteArray &text) const |
| | Get some string as C++ string literal.
|
| |
| QByteArray | GetValidIdentifier (const QByteArray &identifier) const |
| | Get valid C++ identifier (used for variable names) from arbitrary string.
|
| |
| bool | IsVerboseEnabled (int tracingLevel=0) const |
| | Check if verbose messages are enabled for a given tracing level.
|
| |
| void | SendVerboseMessage (const QString &message, const QString &messageSource=QString(), int tracingLevel=0) const |
| | Send a verbose message if enabled.
|
| |
| virtual void | DecorateMessage (istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const override |
| | Decorate message before sending.
|
| |
| virtual void | OnComponentCreated () override |
| | Called when component is created.
|
| |
| virtual void | OnComponentDestroyed () override |
| | Called when component is destroyed.
|
| |
| bool | SendInfoMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send info message to log.
|
| |
| bool | SendWarningMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send warning message to log.
|
| |
| bool | SendErrorMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send error message to log.
|
| |
| bool | SendCriticalMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send critical message to log.
|
| |
| bool | SendInfoMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send once info message to log.
|
| |
| bool | SendWarningMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send once warning message to log.
|
| |
| bool | SendErrorMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send once error message to log.
|
| |
| bool | SendCriticalMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
| | Send once critical message to log.
|
| |
| bool | SendUserMessage (const istd::IInformationProvider *messagePtr) const |
| | Send message with user object.
|
| |
| bool | AllowMessageOnceAgain (int id) |
| | Reset message lock.
|
| |
| virtual bool | IsLogConsumed (const istd::IInformationProvider::InformationCategory *categoryPtr=NULL, const int *flagsPtr=NULL) const override |
| | Check if any log message is consumed.
|
| |
| virtual bool | SendLogMessage (istd::IInformationProvider::InformationCategory category, int id, const QString &message, const QString &messageSource, int flags=0) const override |
| | Send any message to log.
|
| |
Save registry as C++ code (it generates C++ class with the same functionality) and/or dependencies list.
Definition at line 28 of file CRegistryCodeSaverComp.h.