\class PluginField \brief Structure containing plugin attribute field names and associated data This information can be parsed to decode necessary plugin metadata
| 752 | //! |
| 753 | //! |
| 754 | class PluginField |
| 755 | { |
| 756 | public: |
| 757 | //! |
| 758 | //! \brief Plugin field attribute name |
| 759 | //! |
| 760 | AsciiChar const* name; |
| 761 | //! |
| 762 | //! \brief Plugin field attribute data |
| 763 | //! |
| 764 | void const* data; |
| 765 | //! |
| 766 | //! \brief Plugin field attribute type |
| 767 | //! \see PluginFieldType |
| 768 | //! |
| 769 | PluginFieldType type; |
| 770 | //! |
| 771 | //! \brief Number of data entries in the Plugin attribute |
| 772 | //! |
| 773 | int32_t length; |
| 774 | |
| 775 | PluginField(AsciiChar const* const name_ = nullptr, void const* const data_ = nullptr, |
| 776 | PluginFieldType const type_ = PluginFieldType::kUNKNOWN, int32_t const length_ = 0) noexcept |
| 777 | : name(name_) |
| 778 | , data(data_) |
| 779 | , type(type_) |
| 780 | , length(length_) |
| 781 | { |
| 782 | } |
| 783 | }; |
| 784 | |
| 785 | //! Plugin field collection struct. |
| 786 | struct PluginFieldCollection |
no outgoing calls
no test coverage detected