From 823026b58211a4166de06ac243d978dcb9930271 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 22 Jan 2024 15:58:08 +0300 Subject: Turn odb repository into muti-package repository Also remove the autoconf/make-based build system. --- odb/semantics/namespace.hxx | 71 --------------------------------------------- 1 file changed, 71 deletions(-) delete mode 100644 odb/semantics/namespace.hxx (limited to 'odb/semantics/namespace.hxx') diff --git a/odb/semantics/namespace.hxx b/odb/semantics/namespace.hxx deleted file mode 100644 index b025c2e..0000000 --- a/odb/semantics/namespace.hxx +++ /dev/null @@ -1,71 +0,0 @@ -// file : odb/semantics/namespace.hxx -// license : GNU GPL v3; see accompanying LICENSE file - -#ifndef ODB_SEMANTICS_NAMESPACE_HXX -#define ODB_SEMANTICS_NAMESPACE_HXX - -#include - -#include - -namespace semantics -{ - class namespace_: public scope - { - typedef std::vector extensions_type; - - public: - bool - extension () const - { - return original_ != 0; - } - - namespace_& - original () - { - return *original_; - } - - void - original (namespace_& ns) - { - original_ = &ns; - ns.extensions_.push_back (this); - } - - public: - typedef extensions_type::const_iterator extensions_iterator; - - extensions_iterator - extensions_begin () const {return extensions_.begin ();} - - extensions_iterator - extensions_end () const {return extensions_.end ();} - - public: - virtual names* - lookup (string const& name, - type_id const&, - unsigned int flags = 0, - bool* hidden = 0) const; - - using scope::lookup; - - public: - namespace_ (path const&, size_t line, size_t column, tree); - - // Resolve conflict between scope::scope and nameable::scope. - // - using nameable::scope; - - protected: - namespace_ (); - - private: - namespace_* original_; - extensions_type extensions_; - }; -} - -#endif // ODB_SEMANTICS_NAMESPACE_HXX -- cgit v1.1