class ObjCProtocolQualifiers

Declaration

template <class T>
class ObjCProtocolQualifiers { /* full declaration omitted */ };

Description

This class wraps the list of protocol qualifiers. For types that can take ObjC protocol qualifers, they can subclass this class.

Declared at: clang/include/clang/AST/Type.h:5821

Templates

T

Method Overview

Methods

ObjCProtocolQualifiers<T>()

Declared at: clang/include/clang/AST/Type.h:5823

unsigned int getNumProtocols() const

Description

Return the number of qualifying protocols in this type, or 0 if there are none.

Declared at: clang/include/clang/AST/Type.h:5858

clang::ObjCProtocolDecl* getProtocol(
    unsigned int I) const

Description

Fetch a protocol by index.

Declared at: clang/include/clang/AST/Type.h:5863

Parameters

unsigned int I

clang::ObjCProtocolDecl* const*
getProtocolStorage() const

Declared at: clang/include/clang/AST/Type.h:5825

clang::ObjCProtocolDecl** getProtocolStorage()

Declared at: clang/include/clang/AST/Type.h:5829

ArrayRef<clang::ObjCProtocolDecl*> getProtocols()
    const

Description

Retrieve all of the protocol qualifiers.

Declared at: clang/include/clang/AST/Type.h:5869

void initialize(
    ArrayRef<clang::ObjCProtocolDecl*> protocols)

Declared at: clang/include/clang/AST/Type.h:5837

Parameters

ArrayRef<clang::ObjCProtocolDecl*> protocols

clang::ObjCProtocolQualifiers::qual_iterator
qual_begin() const

Declared at: clang/include/clang/AST/Type.h:5851

bool qual_empty() const

Declared at: clang/include/clang/AST/Type.h:5854

clang::ObjCProtocolQualifiers::qual_iterator
qual_end() const

Declared at: clang/include/clang/AST/Type.h:5852

clang::ObjCProtocolQualifiers::qual_range quals()
    const

Declared at: clang/include/clang/AST/Type.h:5850

void setNumProtocols(unsigned int N)

Declared at: clang/include/clang/AST/Type.h:5833

Parameters

unsigned int N