clang  3.9.0
Public Types | Public Member Functions | List of all members
clang::ObjCList< T > Class Template Reference

ObjCList - This is a simple template class used to hold various lists of decls etc, which is heavily used by the ObjC front-end. More...

#include <DeclObjC.h>

Inheritance diagram for clang::ObjCList< T >:
[legend]
Collaboration diagram for clang::ObjCList< T >:
[legend]

Public Types

typedef T *const * iterator
 

Public Member Functions

void set (T *const *InList, unsigned Elts, ASTContext &Ctx)
 
iterator begin () const
 
iterator end () const
 
T * operator[] (unsigned Idx) const
 
- Public Member Functions inherited from clang::ObjCListBase
 ObjCListBase ()
 
unsigned size () const
 
bool empty () const
 

Additional Inherited Members

- Protected Member Functions inherited from clang::ObjCListBase
void set (void *const *InList, unsigned Elts, ASTContext &Ctx)
 
- Protected Attributes inherited from clang::ObjCListBase
void ** List
 List is an array of pointers to objects that are not owned by this object. More...
 
unsigned NumElts
 

Detailed Description

template<typename T>
class clang::ObjCList< T >

ObjCList - This is a simple template class used to hold various lists of decls etc, which is heavily used by the ObjC front-end.

This only use case this supports is setting the list all at once and then reading elements out of it.

Definition at line 58 of file DeclObjC.h.

Member Typedef Documentation

template<typename T>
typedef T* const* clang::ObjCList< T >::iterator

Definition at line 64 of file DeclObjC.h.

Member Function Documentation

template<typename T>
iterator clang::ObjCList< T >::begin ( ) const
inline
template<typename T>
iterator clang::ObjCList< T >::end ( ) const
inline
template<typename T>
T* clang::ObjCList< T >::operator[] ( unsigned  Idx) const
inline

Definition at line 68 of file DeclObjC.h.

template<typename T>
void clang::ObjCList< T >::set ( T *const *  InList,
unsigned  Elts,
ASTContext Ctx 
)
inline

Definition at line 60 of file DeclObjC.h.

Referenced by clang::Sema::ActOnStartProtocolInterface().


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