summaryrefslogtreecommitdiff
path: root/odb/semantics/class.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/semantics/class.hxx')
-rw-r--r--odb/semantics/class.hxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/odb/semantics/class.hxx b/odb/semantics/class.hxx
index b9f8f34..dc30da2 100644
--- a/odb/semantics/class.hxx
+++ b/odb/semantics/class.hxx
@@ -97,6 +97,19 @@ namespace semantics
abstract () const;
public:
+ // When doing lookup in class scope, take into account bases.
+ //
+ static unsigned int const exclude_base = 0x04; // Exclude base classes.
+
+ virtual names*
+ lookup (string const& name,
+ type_id const&,
+ unsigned int flags = 0,
+ bool* hidden = 0) const;
+
+ using scope::lookup;
+
+ public:
class_ (path const&, size_t line, size_t column, tree);
void