clang API Documentation

Public Types | Public Member Functions | Static Public Member Functions | Friends
clang::ObjCInterfaceType Class Reference

#include <Type.h>

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

List of all members.

Public Types

enum  {
  qual_iterator, qual_begin, qual_end, getNumProtocols,
  getProtocol
}

Public Member Functions

ObjCInterfaceDeclgetDecl () const
 getDecl - Get the declaration of this interface.
bool isSugared () const
QualType desugar () const

Static Public Member Functions

static bool classof (const Type *T)

Friends

class ASTContext
class ASTReader
class ObjCInterfaceDecl

Detailed Description

ObjCInterfaceType - Interfaces are the core concept in Objective-C for object oriented design. They basically correspond to C++ classes. There are two kinds of interface types, normal interfaces like "NSString" and qualified interfaces, which are qualified with a protocol list like "NSString<NSCopyable, NSAmazing>".

ObjCInterfaceType guarantees the following properties when considered as a subtype of its superclass, ObjCObjectType:

Definition at line 4441 of file Type.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
qual_iterator 
qual_begin 
qual_end 
getNumProtocols 
getProtocol 

Definition at line 4466 of file Type.h.


Member Function Documentation

static bool clang::ObjCInterfaceType::classof ( const Type T) [inline, static]

Reimplemented from clang::ObjCObjectType.

Definition at line 4458 of file Type.h.

References clang::Type::getTypeClass().

Reimplemented from clang::ObjCObjectType.

Definition at line 4456 of file Type.h.

Reimplemented from clang::ObjCObjectType.

Definition at line 4455 of file Type.h.


Friends And Related Function Documentation

friend class ASTContext [friend]

Reimplemented from clang::Type.

Definition at line 4447 of file Type.h.

friend class ASTReader [friend]

Reimplemented from clang::Type.

Definition at line 4448 of file Type.h.

friend class ObjCInterfaceDecl [friend]

Definition at line 4449 of file Type.h.


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