summaryrefslogtreecommitdiff
path: root/odb/validator.cxx
AgeCommit message (Collapse)AuthorFilesLines
2011-07-22Add pragma for setting type's or member's default valueBoris Kolpackov1-0/+12
New pragma: default. New test: default.
2011-07-19New design for NULL semanticsBoris Kolpackov1-6/+77
Now, instead of being specified as part of the SQL type with the type pragma, there are separate null and not_null pragmas. The not_null pragma was used to control NULL-ness of object pointers. Now the two pragmas are used consistently for object pointers and simple values (and in the future will work for composite values and containers).
2011-07-04Implement support for database operations callbacksBoris Kolpackov1-0/+43
New object pragma: callback. New test: common/callback. New manual section: 10.1.4, "callback".
2011-04-22Initial support for non-polymorphic inheritanceBoris Kolpackov1-42/+118
Every class gets a separate table. New test: common/inheritance.
2011-01-04Copyright updateBoris Kolpackov1-1/+1
2010-12-07Allow inheritance from transient bases for object and composite value typesBoris Kolpackov1-9/+34
2010-11-28Add support for literal names (template-id, derived type declarator)Boris Kolpackov1-5/+2
2010-10-27Implement support for composite value typesBoris Kolpackov1-2/+70
New test: common/composite.
2010-09-28Get rid of compiler warningsBoris Kolpackov1-1/+1
2010-09-13Change GPL v3Boris Kolpackov1-1/+1
2010-09-13Change pragma syntaxBoris Kolpackov1-1/+1
Change odb pragma namespace to db. Use qualifiers (object, value, and member) to specify type/member name. Add support for mapping C++ types to db types.
2010-08-19Use type names as specified in the header that we compileBoris Kolpackov1-1/+2
2010-08-19Add validator passBoris Kolpackov1-0/+144
Detect members with anonymous types.