PLCnext API Documentation 25.0.2.69
ArrayDimension.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/Base/Core/PimplPtr.hxx"
9
11{
12
18class ARP_EXPORT ArrayDimension
19{
20public: // Impl forward declaration
21 class Impl;
22
23public: // construction/destruction/assignment
24 ArrayDimension(uint32 count, int32 offset);
30
31public: // setter/getter operations
32 uint32 GetCount() const;
33 int32 GetOffset() const;
34
35public: // internal operations
36 Impl& GetImpl(void);
37 const Impl& GetImpl(void)const;
38
39private: // Impl usings
41
42private: // Impl fields
43 Pimpl pimpl;
44};
45
46} // end of namespace Arp::Plc::Meta::Commons
Adapter class to implement PImpl idiom.
Definition: PimplPtr.hxx:15
This class represents the dimensions of an array
Definition: ArrayDimension.hpp:19
~ArrayDimension(void)
The default destructor.
ArrayDimension(ArrayDimension &&arg) noexcept
The default move constructor.
ArrayDimension & operator=(ArrayDimension &&arg) noexcept
The default move-assignment operator.
ArrayDimension(const ArrayDimension &arg)
The default copy constructor.
ArrayDimension & operator=(const ArrayDimension &arg)
THe default copy-assignment operator.
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:33
std::int32_t int32
The Arp integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:35
Namespace for interface types of the Meta component