From 2ad2e5500dd075db421a516502c9e522fdc34ee0 Mon Sep 17 00:00:00 2001
From: Boris Kolpackov For an input file in the form name.hxx
(other
file extensions can be used instead of .hxx
),
- the following C++ files are generated:
+ in the single-database mode (the default), the generated C++ files
+ by default have the following names:
name-odb.hxx
(header file),
name-odb.ixx
(inline file, generated unless
the --suppress-inline
option is specified), and
name-odb.cxx
(source file).
Additionally, if the --generate-schema
option is
- specified and the sql
schema format is requested,
- the name.sql
database schema file is generated. If
- the separate
schema format is requested, the database
- creation code is generated into the separate
- name-schema.cxx
file.sql
schema format is requested (see
+ --schema-format
), the name.sql
+ database schema file is generated. If the separate
+ schema format is requested, the database creation code is generated
+ into the separate name-schema.cxx
file.
In the multi-database mode (see the --multi-database
+ option below), the generated files corresponding to the
+ common
database have the same names as in the
+ single-database mode. For other databases, the file names include
+ the database name:
+ name-odb-db.hxx
,
+ name-odb-db.ixx
,
+ name-odb-db.cxx
,
+ name-db.sql
, and
+ name-schema-db.cxx
+ (where db
is the database name).