sandbox
Loading...
Searching...
No Matches
property_info.hpp
1// SPDX-License-Identifier: MIT
2#ifndef LIBSBX_SCRIPTING_MANAGED_PROPERTY_INFO_HPP_
3#define LIBSBX_SCRIPTING_MANAGED_PROPERTY_INFO_HPP_
4
5#include <vector>
6
7#include <libsbx/scripting/managed/core.hpp>
8#include <libsbx/scripting/managed/string.hpp>
9#include <libsbx/scripting/managed/type.hpp>
10#include <libsbx/scripting/managed/attribute.hpp>
11
12namespace sbx::scripting::managed {
13
15
16 friend class type;
17
18public:
19
20 auto get_name() const -> string;
21
22 auto get_type() -> type&;
23
24 auto get_attributes() const -> std::vector<attribute>;
25
26private:
27
28 handle _handle = -1;
29 type* _type = nullptr;
30
31}; // class property_info
32
33} // sbx
34
35#endif // LIBSBX_SCRIPTING_MANAGED_PROPERTY_INFO_HPP_
Definition: property_info.hpp:14
Definition: string.hpp:11
Definition: type.hpp:11