|
PLCnext API Documentation
21.9.0.40
|
Navigates the children of a struct More...
#include <StructNavigator.hpp>
Classes | |
| class | Enumerator |
| IEnumerator of DataInfos of a struct More... | |
Public Types | |
| typedef std::shared_ptr< StructNavigator > | Ptr |
| std::shared_ptr to StructNavigator More... | |
Public Member Functions | |
| StructNavigator (const TypeIdentifier &typeId, ITypeNavigator &typeNavigator, bool isChanging) | |
| Constructs an StructNavigator instance. More... | |
| StructNavigator (const StructNavigator &arg)=default | |
| Copy constructor. More... | |
| StructNavigator (StructNavigator &&arg)=default | |
| Move constructor. More... | |
| StructNavigator & | operator= (const StructNavigator &arg)=default |
| Copy assignment operator. More... | |
| StructNavigator & | operator= (StructNavigator &&arg)=default |
| Move assignment operator. More... | |
| ~StructNavigator (void)=default | |
| Destructs this instance and frees all resources. More... | |
| Enumerator | GetEnumerator (const byte *address) |
| Gets an IEnumerator based on an address More... | |
| Enumerator | GetEnumerator (const DataInfo &dataInfo) |
| Gets an IEnumerator based on a DataInfo object More... | |
| size_t | GetOffset (const String &fieldName) |
| Gets the offset of a field in the struct More... | |
Navigates the children of a struct
| typedef std::shared_ptr<StructNavigator> Arp::Plc::Commons::Meta::StructNavigator::Ptr |
std::shared_ptr to StructNavigator
| Arp::Plc::Commons::Meta::StructNavigator::StructNavigator | ( | const TypeIdentifier & | typeId, |
| ITypeNavigator & | typeNavigator, | ||
| bool | isChanging | ||
| ) |
Constructs an StructNavigator instance.
| typeId | TypeIdentifier of the navigated struct |
| typeNavigator | Reference to the ITypeNavigator to get infoprmation about the type |
| isChanging | true, if the background domain should be used, otherwise uses the foreground domain |
|
default |
Copy constructor.
|
default |
Move constructor.
|
default |
Destructs this instance and frees all resources.
|
inline |
Gets an IEnumerator based on an address
| address | Address of the struct to navigate |
|
inline |
Gets an IEnumerator based on a DataInfo object
| dataInfo | DataInfo of the struct to navigate |
| size_t Arp::Plc::Commons::Meta::StructNavigator::GetOffset | ( | const String & | fieldName | ) |
Gets the offset of a field in the struct
| fieldName | name of the field |
|
default |
Copy assignment operator.
|
default |
Move assignment operator.
1.8.13