class AidlDefinedType

Defined at line 957 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

AidlDefinedType represents either an interface, parcelable, or enum that is

defined in the source file.

Public Methods

void AidlDefinedType (const AidlDefinedType & )

non-copyable, non-movable

Defined at line 964 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

void AidlDefinedType (AidlDefinedType && )

Defined at line 965 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

void AidlDefinedType (const AidlLocation & location, const std::string & name, const Comments & comments, const std::string & package, std::vector<std::unique_ptr<AidlMember>> * members)
const std::string & GetName ()

Defined at line 969 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

std::string GetPackage ()

dot joined package, example: "android.package.foo"

Defined at line 974 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

AidlEnumDeclaration * AsEnumDeclaration ()

Defined at line 1000 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

AidlInterface * AsInterface ()

Defined at line 1008 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

AidlParameterizable<std::string> * AsParameterizable ()

Defined at line 1012 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

const AidlParcelable * AsUnstructuredParcelable ()

Defined at line 1017 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

AidlParcelable * AsUnstructuredParcelable ()

Defined at line 1022 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

std::string GetCanonicalName ()

dot joined package and name, example: "android.package.foo.IBar"

const AidlDocument & GetDocument ()
std::vector<std::string> GetSplitPackage ()

Defined at line 977 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

const AidlStructuredParcelable * AsStructuredParcelable ()

Defined at line 985 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

const AidlParcelable * AsParcelable ()

Defined at line 986 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

const AidlEnumDeclaration * AsEnumDeclaration ()

Defined at line 987 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

const AidlUnionDecl * AsUnionDeclaration ()

Defined at line 988 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

const AidlInterface * AsInterface ()

Defined at line 989 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

const AidlParameterizable<std::string> * AsParameterizable ()

Defined at line 990 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

AidlStructuredParcelable * AsStructuredParcelable ()

Defined at line 993 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

AidlParcelable * AsParcelable ()

Defined at line 997 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

AidlUnionDecl * AsUnionDeclaration ()

Defined at line 1004 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

bool CheckValid (const AidlTypenames & typenames)
const std::vector<std::unique_ptr<AidlDefinedType>> & GetNestedTypes ()

Defined at line 1028 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

const std::vector<std::unique_ptr<AidlVariableDeclaration>> & GetFields ()

Defined at line 1029 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

const std::vector<std::unique_ptr<AidlConstantDeclaration>> & GetConstantDeclarations ()

Defined at line 1032 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

const std::vector<std::unique_ptr<AidlMethod>> & GetMethods ()

Defined at line 1035 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

const std::vector<const AidlMember *> & GetMembers ()

Defined at line 1036 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

void AddMethod (std::unique_ptr<AidlMethod> method)

Modifiers

Defined at line 1045 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

void AddType (std::unique_ptr<AidlDefinedType> type)

Defined at line 1049 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

std::string ResolveName (const std::string & name)
std::string GetPreprocessDeclarationName ()
bool LanguageSpecificCheckValid (Options::Language lang)
const AidlDefinedType * GetParentType ()
const AidlDefinedType * GetRootType ()
void ~AidlDefinedType ()

Defined at line 961 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

AidlDefinedType & operator= (const AidlDefinedType & )

Defined at line 966 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

AidlDefinedType & operator= (AidlDefinedType && )

Defined at line 967 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

void TraverseChildren (std::function<void (const AidlNode &)> traverse)

Defined at line 1037 of file ../../third_party/android/platform/system/tools/aidl/aidl_language.h

Protected Methods

bool CheckValidForGetterNames ()

utility for subclasses with getter names