Erik Winn
01c9519e1e
clean up key strings, remove const char *s
11 years ago
Erik Winn
b880498af4
add REFERING_VARIABLE_NAME, fix "long long" bug
* added tag REFERING_VARIABLE_NAME (ie. REFERENCED_VARIABLE_NAME without
the "_id" suffix
* fix Qt specific to type support for "long long": toLongLong ..
11 years ago
Erik Winn
417dcb116f
* move Wt::Dbo templates to wt/dbo subdiretory
deleted: class_declaration.tpl
new file: wt/dbo/class_declaration.tpl
new file: wt/dbo/class_definition.tpl
11 years ago
Erik Winn
7623818a06
* minor codegen template fixes
11 years ago
Erik Winn
9a6a875d67
* add HEADER_GUARD tag for #ifndef guards ..
* fix and improve Qt template examples
11 years ago
Erik Winn
4e95223682
* add smart lazy loading and misc improvements to Qt templates
11 years ago
Erik Winn
5758879db4
* add support for more template tags
11 years ago
Erik Winn
cfc1fd5776
* gradually improving (somewhat broken) Qt example templates
11 years ago
Erik Winn
beb51d22e4
* add support for new tags for template and more README stuff ..
11 years ago
Erik Winn
38d0e7915c
* add support for baseclass/subclass generation
11 years ago
Erik Winn
b037f99007
* lower case output file names
11 years ago
Erik Winn
7ce7dd5140
* fix some typo/format errors in example templates (Qt)
11 years ago
Erik Winn
134f18f884
* fix includes string (don't use angle brackets for local, doh ..)
* fix bug that overwrote dictionary entries for local includes
11 years ago
Erik Winn
b6b885ebac
* add static string constants for new supported tags
11 years ago
Erik Winn
4dd24f7b89
* adding new template examples .h/.cpp (for Qt)
11 years ago
Erik Winn
415fff1f17
* added support for columns count tag
* added support for primary key (section and key name)
* include vector if a table "has many"
* misc minor refactoring and clean up
11 years ago
Erik Winn
fb0fe27cd6
* added support for adding includes to class definition (.cpp) in code generator
11 years ago
Erik Winn
93c511fa13
Minor refactors (eg: empty -> isEmpty)
Major reformatting - switch to cleaner style and tabs, most .cpp files touched
Signed-off-by: Erik Winn <sidewalksoftware@gmail.com>
12 years ago
Erik Winn
1a32c63ce9
documentation edits
13 years ago
Erik Winn
79a2021ae4
Documentation
13 years ago
Erik Winn
ddb5c1b694
remove accidentally added ..
13 years ago
Erik Winn
b841b3bc24
Added install targets and documentation
13 years ago
Erik Winn
35140d9783
switched to new/pointer for ctemplate::TemplateDictionary - did not fix possible memory leak (this is a ctemplate issue)
13 years ago
Erik Winn
384d4ec1fb
Fix gettor in template
13 years ago
Erik Winn
4e8dd8dd7f
Fix settors in template ..
13 years ago
Erik Winn
f6cdd1e9f5
Added gettor/settors for referenced classes, smarter pluralizing
13 years ago
Erik Winn
f008de368c
dont repeat forward declarations
13 years ago
Erik Winn
f2d6362788
fine tuning logic w/ctemplate dicts, also - use table name in manytoone, disable verbosity ..
13 years ago
Erik Winn
02e3521665
change default template to use table name in manytoone
13 years ago
Erik Winn
3c47701265
Adding support for foreign Key relationships - UNSTABLE, mostly works ..
13 years ago
Erik Winn
7a675ca8a2
Added support for private members, gettor and settor generation
13 years ago
Erik Winn
39d56de122
Some optimizing and error handling in generator init
13 years ago
Erik Winn
f2e8f7cfaf
Add documentation to WormClassGenerator
13 years ago
Erik Winn
1dba1ad78b
various minor tweaks, disabled "unsigned" which is broken ..
13 years ago
Erik Winn
5399825fde
removed hardcoded generation, uses WormClassGenerator now; cleaned up template
13 years ago
Erik Winn
1b0a553a4b
class generator now works (uses ctemplate)
13 years ago
Erik Winn
e7061e2f1d
Add code generation classes
13 years ago