aboutsummaryrefslogtreecommitdiffstats
path: root/generator.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixed minimalConstructor method for classes with template instantiations.Marcelo Lira2011-10-041-0/+12
| | | | | Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Added a couple of convenience methods to Generator: isCString and isVoidPointer.Marcelo Lira2011-10-031-0/+5
|
* Collect the instantiated container types from class fields.Marcelo Lira2011-10-031-0/+1
|
* Collect the instantiated container types for the current module.Marcelo Lira2011-09-121-0/+7
| | | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* Added a method to check if a TypeEntry should be generated or not.Marcelo Lira2011-08-181-1/+4
| | | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org>
* Added a method to find the minimal constructor for types, plus some ↵Marcelo Lira2011-07-281-0/+17
| | | | | | | | | | | convenience methods. The minimal constructor method tries to build the minimal constructor possible for a given type or class. Checking if a type is an Object Type is a very common task, as is asking if an AbstractMetaType is a pointer to another type. So I added these convenience methods.
* Add function getClassTargetFullName to get what AbstractMetaClass.fullName ↵Hugo Parente Lima2011-02-101-0/+3
| | | | would return.
* Removed deprecated methods.Hugo Parente Lima2010-07-081-30/+0
|
* Added methods Generator::findAbstractMetaEnum.Marcelo Lira2010-06-031-0/+12
| | | | | | | | The new methods returns an AbstractMetaEnum for a given TypeEntry, EnumTypeEntry, FlagsTypeEntry or AbstractMetaType. Reviewed by Renato Araújo <renato.filho@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* Fixing includes and include dirsLauro Neto2010-01-261-1/+1
| | | | | | Avoiding .. includes Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* Change the getGenerators signature, because on some platforms a function ↵Hugo Lima2009-11-241-2/+2
| | | | | | | | | | exported as a C function can't return a C++ type by value. All generators plugins *MUST* be recompiled. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
* - Prepare libgenerator.so for a near future when we will need to worry about ↵Hugo Lima2009-11-171-86/+66
| | | | | | | | | | | | | | | | | | | | | | | | BIC changes, Now it uses a d-pointer and do not export private methods/structures. - Mark some methods as deprecated, as they doesn't belong to Generator, being a huge cohesion failure IMO. - Fixed constness of some methods. Deprecated methods: AbstractMetaFunctionList filterFunctions(const AbstractMetaClass *cppClass); AbstractMetaFunctionList queryFunctions(const AbstractMetaClass *cpp_class, bool all_function = false); AbstractMetaFunctionList queryGlobalOperators(const AbstractMetaClass *cpp_class); AbstractMetaFunctionList sortConstructor(AbstractMetaFunctionList list); Moved method: verifyDirectoryFor is now a ordinary global function like formatCode, because it's a helper function not related with code generation. All these methods would be somewhere/somehow in APIExtractor, because they are basically helper methods to supply some APIExtractor missing functionalities. Note: Shiboken and BoostPython generator needs some minor fixes to adapt to changed caused by this patch.
* Add symbol visibility rules to generator runner.Hugo Lima2009-11-171-5/+6
|
* added Generator::implicitConversions(type) method that returns the constructorsMarcelo Lira2009-10-301-0/+12
| | | | | | for implicit conversions for the given type, which should be a value-type Reviewed by Hugo Parente <hugo.lima@openbossa.org>
* fixed typo in Generator::sortConstructor method nameMarcelo Lira2009-10-301-1/+1
|
* Add the missing qflags macro to Options qflag.Hugo Lima2009-10-261-0/+1
|
* Fixed missing include in docgenerator.Renato Araujo Oliveira Filho2009-09-141-1/+1
| | | | Fixes Bug #5
* Fixed assert failure when using qtdocgenerator.Hugo Lima2009-09-031-7/+2
| | | | | Added a default implementation for Generator::subDirectoryForClass. This breaks the binary compatibility but NOT the source compatibility.
* Use QFlags instead of an int as parameter type in some methods.Hugo Lima2009-08-261-3/+4
| | | | Reviewed by Setanta
* Removed QtDocGenerator dependence from BoostPythonGenerator, so a lotHugo Lima2009-08-251-35/+11
| | | | | | of function were moved from BoostPythonGenerator to the Generator class. In other words, QtDocGenerator finally compiles and their unit test pass :-)
* - QtDocGenerator is now a GeneratorRunner plugin.Hugo Lima2009-08-251-0/+11
| | | | - A lot of methods moved from boostpythongenerator to the generator class.
* Added boostpython as a generator plugin.Hugo Lima2009-08-251-2/+11
|
* The current generators will be just plugins and all generator stuff in ↵Hugo Lima2009-08-251-0/+334
APIExtractor were moved to this project. So we need to re-think if boostpythongenerator still a good name for the project, because boostpythongenerator will be the name of the plugin to generate bindings for boost::python. Also the generators were just moved to a subdirectory (generators) and the boostpython generators to a sub-subdirectory (generators/boostpython), transform them in plugins will be a second milestone.