Lines Matching refs:AidlMethod
91 class AidlMethod;
110 virtual void Visit(const AidlMethod&) {}
447 virtual const AidlMethod* AsMethod() const { return nullptr; }
451 AidlMethod* AsMethod() {
452 return const_cast<AidlMethod*>(const_cast<const AidlMember*>(this)->AsMethod());
815 class AidlMethod : public AidlMember {
817 AidlMethod(const AidlLocation& location, bool oneway, AidlTypeSpecifier* type, const string& name,
819 AidlMethod(const AidlLocation& location, bool oneway, AidlTypeSpecifier* type, const string& name,
822 virtual ~AidlMethod() = default;
825 AidlMethod(const AidlMethod&) = delete;
826 AidlMethod(AidlMethod&&) = delete;
827 AidlMethod& operator=(const AidlMethod&) = delete;
828 AidlMethod& operator=(AidlMethod&&) = delete;
830 const AidlMethod* AsMethod() const override { return this; }
962 const std::vector<std::unique_ptr<AidlMethod>>& GetMethods() const { return methods_; }
963 void AddMethod(std::unique_ptr<AidlMethod> method) { methods_.push_back(std::move(method)); }
984 std::vector<std::unique_ptr<AidlMethod>> methods_;