aboutsummaryrefslogtreecommitdiff
path: root/odb/features.hxx
blob: bc3a9c89942301551d19860cab03b097229b714c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// file      : odb/features.hxx
// copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC
// license   : GNU GPL v3; see accompanying LICENSE file

#ifndef ODB_FEATURES_HXX
#define ODB_FEATURES_HXX

#include <cstring> // std::memset

// Optional features used by client code that affect generated code.
//
struct features
{
  features () {std::memset (this, 0, sizeof (features));}

  bool tr1_pointer;
  bool boost_pointer;
  bool simple_object;
  bool polymorphic_object;
  bool no_id_object;
  bool session_object;
  bool view;
};

#endif // ODB_FEATURES_HXX