From 596ec0a3f5f3d6eae4084def3450e4d14c9ebce0 Mon Sep 17 00:00:00 2001
From: Boris Kolpackov ODB profiles are a generic mechanism for integrating ODB with other
- C++ frameworks and libraries. A profile provides glue code, packaged
- into a profile library, which allows you to seamlesly persist various
- components, such as smart pointers, containers, and value types from
- your favorite C++ framework or library. For example, the Boost profile
- implementation is provided by the While we will need to link the profile library to our application,
- it is also necessary to let the ODB compiler know which profiles we
- are using. This is acomplished with the ODB profiles are a generic mechanism for integrating ODB with
+ widely-used C++ frameworks and libraries. A profile provides glue
+ code which allows you to seamlessly persist various components, such
+ as smart pointers, containers, and value types found in these
+ frameworks or libraries. The code necessary to implement a profile
+ is packaged into the so called profile library. For example, the
+ Boost profile implementation is provided by the Besides linking the profile library to our application, it is also
+ necessary to let the ODB compiler know which profiles we
+ are using. This is accomplished with the Some profiles, especially those covering frameworks or libraries that
- consist of multiple sub-libraries, provide sub-profiles which allow you
- to pick and chooses which components you would like to use in your
+ consist of multiple sub-libraries, provide sub-profiles that allow you
+ to pick and choose which components you would like to use in your
application. For example, the The remaining chapters in this part of the manual describe the
- individual profiles supported by ODB.
11 Profiles Introduction
- libodb-boost
profile
- library.--profile
+ libodb-boost
+ profile library.--profile
(or -p
alias) option. For example:
@@ -6931,8 +6932,8 @@ odb --profile boost ...
boost
profile contains
the boost/data-time
sub-profile. If we are only
interested in the date_time
types, then we can
@@ -6953,18 +6954,18 @@ odb --profile boost/date-time ...
the --profile
option.
-I
option).
The ODB profile implementation for Boost is provided by the
- libodb-boost
profile library. To enable all supported Boost
- sub-libraries, specify boost
as the profile name in
+ libodb-boost
profile library. To enable all the supported
+ Boost sub-libraries, specify boost
as the profile name in
the --profile
ODB compiler option. Alternatively you can
enable only specific sub-profiles. The available sub-profiles are
discussed in the following sections.