clang API Documentation

Public Types | Public Member Functions
clang::OverridingMethods Class Reference

The set of methods that override a given virtual method in each subobject where it occurs. More...

#include <CXXInheritance.h>

List of all members.

Public Types

typedef MapType::iterator iterator
typedef MapType::const_iterator const_iterator
typedef SmallVectorImpl
< UniqueVirtualMethod >
::iterator 
overriding_iterator
typedef SmallVectorImpl
< UniqueVirtualMethod >
::const_iterator 
overriding_const_iterator

Public Member Functions

iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
unsigned size () const
void add (unsigned OverriddenSubobject, UniqueVirtualMethod Overriding)
void add (const OverridingMethods &Other)
void replaceAll (UniqueVirtualMethod Overriding)

Detailed Description

The set of methods that override a given virtual method in each subobject where it occurs.

The first part of the pair is the subobject in which the overridden virtual function occurs, while the second part of the pair is the virtual method that overrides it (including the subobject in which that virtual function occurs).

Definition at line 274 of file CXXInheritance.h.


Member Typedef Documentation

typedef MapType::const_iterator clang::OverridingMethods::const_iterator

Definition at line 282 of file CXXInheritance.h.

typedef MapType::iterator clang::OverridingMethods::iterator

Definition at line 281 of file CXXInheritance.h.

Definition at line 294 of file CXXInheritance.h.

Definition at line 292 of file CXXInheritance.h.


Member Function Documentation

void OverridingMethods::add ( unsigned  OverriddenSubobject,
UniqueVirtualMethod  Overriding 
)

Definition at line 440 of file CXXInheritance.cpp.

Referenced by add().

void OverridingMethods::add ( const OverridingMethods Other)

Definition at line 449 of file CXXInheritance.cpp.

References add(), begin(), and end().

Definition at line 283 of file CXXInheritance.h.

Referenced by add(), and replaceAll().

Definition at line 284 of file CXXInheritance.h.

Definition at line 285 of file CXXInheritance.h.

Referenced by add(), and replaceAll().

Definition at line 286 of file CXXInheritance.h.

Definition at line 459 of file CXXInheritance.cpp.

References begin(), and end().

Definition at line 287 of file CXXInheritance.h.


The documentation for this class was generated from the following files: