diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-03-29 14:29:02 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-03-29 14:29:02 +0200 |
commit | cf80396f8b6147e9048c1f3bd50b3086f754d037 (patch) | |
tree | afe247e16b2726c9b00c69acbe6edf07a789714f /odb/traversal/fundamental.hxx | |
parent | f12e7b38035bb8622381a848cde212da15c3df46 (diff) |
Implement semantic graph traversal mechanism
Diffstat (limited to 'odb/traversal/fundamental.hxx')
-rw-r--r-- | odb/traversal/fundamental.hxx | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/odb/traversal/fundamental.hxx b/odb/traversal/fundamental.hxx new file mode 100644 index 0000000..e34fb02 --- /dev/null +++ b/odb/traversal/fundamental.hxx @@ -0,0 +1,41 @@ +// file : odb/traversal/fundamental.hxx +// author : Boris Kolpackov <boris@codesynthesis.com> +// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef ODB_TRAVERSAL_FUNDAMENTAL_HXX +#define ODB_TRAVERSAL_FUNDAMENTAL_HXX + +#include <traversal/elements.hxx> +#include <semantics/fundamental.hxx> + +namespace traversal +{ + struct fund_type: node<semantics::fund_type> {}; + + struct fund_void: node<semantics::fund_void> {}; + struct fund_bool: node<semantics::fund_bool> {}; + + // Integral. + // + struct fund_char: node<semantics::fund_char> {}; + struct fund_wchar: node<semantics::fund_wchar> {}; + struct fund_signed_char: node<semantics::fund_signed_char> {}; + struct fund_unsigned_char: node<semantics::fund_unsigned_char> {}; + struct fund_short: node<semantics::fund_short> {}; + struct fund_unsigned_short: node<semantics::fund_unsigned_short> {}; + struct fund_int: node<semantics::fund_int> {}; + struct fund_unsigned_int: node<semantics::fund_unsigned_int> {}; + struct fund_long: node<semantics::fund_long> {}; + struct fund_unsigned_long: node<semantics::fund_unsigned_long> {}; + struct fund_long_long: node<semantics::fund_long_long> {}; + struct fund_unsigned_long_long: node<semantics::fund_unsigned_long_long> {}; + + // Real. + // + struct fund_float: node<semantics::fund_float> {}; + struct fund_double: node<semantics::fund_double> {}; + struct fund_long_double: node<semantics::fund_long_double> {}; +} + +#endif // ODB_TRAVERSAL_FUNDAMENTAL_HXX |