PLCnext API Documentation
22.9.0.33
|
Provide array information. More...
#include <ArrayDimensions.hpp>
Public Types | |
using | Values = std::vector< ArrayDimension > |
Public Member Functions | |
ArrayDimensions (void)=default | |
Constructs an ArrayDimension instance. More... | |
ArrayDimensions (size_t count) | |
Constructs an ArrayDimension instance. More... | |
ArrayDimensions (const ArrayDimension &entry) | |
Constructs an ArrayDimension instance. More... | |
ArrayDimensions (const Values &values) | |
Constructs an ArrayDimension instance. More... | |
ArrayDimensions (const std::initializer_list< int > &dimensions) | |
Constructs an ArrayDimension instance. More... | |
ArrayDimensions (const std::initializer_list< ArrayDimension > &entries) | |
Constructs an ArrayDimension instance. More... | |
ArrayDimensions (const ArrayDimensions &arg)=default | |
Copy constructor. More... | |
ArrayDimensions (ArrayDimensions &&arg)=default | |
Move constructor. More... | |
ArrayDimensions & | operator= (const ArrayDimensions &arg)=default |
Copy assignment operator. More... | |
ArrayDimensions & | operator= (ArrayDimensions &&arg)=default |
Move assignment operator. More... | |
~ArrayDimensions (void)=default | |
Destructs this instance and frees all resources. More... | |
ArrayDimension & | operator[] (size_t index) |
const ArrayDimension & | operator[] (size_t index) const |
bool | IsEmpty (void) const |
size_t | GetCount (void) const |
Get the number of array dimensions for this vector element. More... | |
const Values & | GetValues (void) const |
size_t | GetCacheSize (void) const |
Get the cache size More... | |
size_t | GetDimensionsProduct (void) const |
Gets the element count total. More... | |
void | Append (const ArrayDimension &dimension) |
Static Public Attributes | |
static const ArrayDimensions | Empty |
Protected Member Functions | |
void | EraseFrontDimension (void) |
Friends | |
class | ArrayNavigator |
Provide array information.
|
default |
Constructs an ArrayDimension instance.
|
inlineexplicit |
Constructs an ArrayDimension instance.
|
inline |
Constructs an ArrayDimension instance.
|
inline |
Constructs an ArrayDimension instance.
Arp::Plc::Commons::Meta::ArrayDimensions::ArrayDimensions | ( | const std::initializer_list< int > & | dimensions | ) |
Constructs an ArrayDimension instance.
Arp::Plc::Commons::Meta::ArrayDimensions::ArrayDimensions | ( | const std::initializer_list< ArrayDimension > & | entries | ) |
Constructs an ArrayDimension instance.
|
default |
Copy constructor.
|
default |
Move constructor.
|
default |
Destructs this instance and frees all resources.
|
inline |
Get the cache size
|
inline |
Get the number of array dimensions for this vector element.
size_t Arp::Plc::Commons::Meta::ArrayDimensions::GetDimensionsProduct | ( | void | ) | const |
Gets the element count total.
|
default |
Move assignment operator.
|
default |
Copy assignment operator.