clang  3.7.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
clang::ObjCListBase Class Reference

#include <DeclObjC.h>

Inheritance diagram for clang::ObjCListBase:
[legend]
Collaboration diagram for clang::ObjCListBase:
[legend]

Public Member Functions

 ObjCListBase ()
 
unsigned size () const
 
bool empty () const
 

Protected Member Functions

void set (void *const *InList, unsigned Elts, ASTContext &Ctx)
 

Protected Attributes

void ** List
 List is an array of pointers to objects that are not owned by this object. More...
 
unsigned NumElts
 

Detailed Description

Definition at line 35 of file DeclObjC.h.

Constructor & Destructor Documentation

clang::ObjCListBase::ObjCListBase ( )
inline

Definition at line 44 of file DeclObjC.h.

Member Function Documentation

bool clang::ObjCListBase::empty ( ) const
inline

Definition at line 46 of file DeclObjC.h.

References NumElts.

Referenced by rewriteToObjCInterfaceDecl().

void ObjCListBase::set ( void *const *  InList,
unsigned  Elts,
ASTContext Ctx 
)
protected

Definition at line 27 of file DeclObjC.cpp.

References List, and NumElts.

Referenced by clang::ObjCList< clang::ObjCProtocolDecl >::set().

unsigned clang::ObjCListBase::size ( ) const
inline

Definition at line 45 of file DeclObjC.h.

References NumElts.

Referenced by clang::ObjCProtocolList::loc_end(), and clang::ObjCCategoryDecl::protocol_size().

Member Data Documentation

void** clang::ObjCListBase::List
protected

List is an array of pointers to objects that are not owned by this object.

Definition at line 40 of file DeclObjC.h.

Referenced by clang::ObjCList< clang::ObjCProtocolDecl >::begin(), clang::ObjCList< clang::ObjCProtocolDecl >::end(), clang::ObjCList< clang::ObjCProtocolDecl >::operator[](), and set().

unsigned clang::ObjCListBase::NumElts
protected

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