mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
base class lookup
This commit is contained in:
@@ -119,6 +119,11 @@ public:
|
||||
bool isDeleted() const;
|
||||
/// Returns true iff the method has been deleted.
|
||||
|
||||
bool isVirtual() const;
|
||||
/// Returns true if the method is virtual. Also examines base
|
||||
/// classes to check for a virtual function with the same
|
||||
/// signature.
|
||||
|
||||
bool isStatic() const;
|
||||
/// Returns true iff the method is static.
|
||||
|
||||
@@ -128,11 +133,6 @@ public:
|
||||
std::string signature() const;
|
||||
/// Returns the signature of the function.
|
||||
|
||||
bool isVirtual() const;
|
||||
/// Returns true if the method is virtual. Also examines base
|
||||
/// classes to check for a virtual function with the same
|
||||
/// signature.
|
||||
|
||||
Function* getOverridden() const;
|
||||
/// If the function is virtual and overrides a function in a
|
||||
/// base class, the base class function is returned.
|
||||
|
||||
@@ -61,8 +61,8 @@ public:
|
||||
|
||||
Iterator end() const;
|
||||
/// Returns an iterator for iterating over the NameSpace's Symbol's.
|
||||
|
||||
Symbol* lookup(const std::string& name) const;
|
||||
|
||||
virtual Symbol* lookup(const std::string& name) const;
|
||||
/// Looks up the given name in the symbol table
|
||||
/// and returns the corresponding symbol, or null
|
||||
/// if no symbol can be found. The name can include
|
||||
|
||||
@@ -139,6 +139,9 @@ public:
|
||||
Symbol::Kind kind() const;
|
||||
std::string toString() const;
|
||||
|
||||
// Namespace
|
||||
Symbol* lookup(const std::string& name) const;
|
||||
|
||||
private:
|
||||
std::string _decl;
|
||||
BaseClasses _bases;
|
||||
|
||||
Reference in New Issue
Block a user