summaryrefslogtreecommitdiff
path: root/odb/common.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/common.hxx')
-rw-r--r--odb/common.hxx21
1 files changed, 21 insertions, 0 deletions
diff --git a/odb/common.hxx b/odb/common.hxx
index 679e25c..f29eeca 100644
--- a/odb/common.hxx
+++ b/odb/common.hxx
@@ -250,4 +250,25 @@ private:
traversal::inherits inherits_;
};
+// Traverse composite values that are class template instantiations.
+//
+struct typedefs: traversal::typedefs, context
+{
+ typedefs (bool traverse_included)
+ : included_ (traverse_included)
+ {
+ }
+
+ virtual void
+ traverse (semantics::typedefs&);
+
+ // Returns true if we should traverse this typedef.
+ //
+ bool
+ check (semantics::typedefs&);
+
+private:
+ bool included_;
+};
+
#endif // ODB_COMMON_HXX