Refureku v2.2.0
C++17 runtime reflection library.
FunctionParameter.h
1
8#pragma once
9
10#include "Refureku/TypeInfo/Entity/Entity.h"
11#include "Refureku/TypeInfo/Type.h"
12
13namespace rfk
14{
15 class FunctionParameter final : public Entity
16 {
17 public:
18 REFUREKU_INTERNAL FunctionParameter(char const* name,
19 std::size_t id,
20 Type const& type,
21 Entity const* outerEntity = nullptr) noexcept;
22 FunctionParameter(FunctionParameter const&) = delete;
23 REFUREKU_INTERNAL FunctionParameter(FunctionParameter&&) noexcept;
24 REFUREKU_INTERNAL ~FunctionParameter() noexcept;
25
31 RFK_NODISCARD REFUREKU_API Type const& getType() const noexcept;
32
33 private:
34 //Forward declaration
35 class FunctionParameterImpl;
36
37 RFK_GEN_GET_PIMPL(FunctionParameterImpl, Entity::getPimpl())
38 };
39}
Definition: Entity.h:29
Definition: FunctionParameter.h:16
RFK_NODISCARD REFUREKU_API Type const & getType() const noexcept
Get the type of the function parameter.
Definition: Type.h:20
Definition: Allocator.h:16