clang API Documentation

Public Member Functions | Protected Member Functions | Protected Attributes
clang::ObjCListBase Class Reference

#include <DeclObjC.h>

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

List of all members.

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.
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.

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< ObjCProtocolDecl >::begin(), clang::ObjCList< ObjCProtocolDecl >::end(), clang::ObjCList< ObjCProtocolDecl >::operator[](), and set().


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