PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
Loading...
Searching...
No Matches
vendors.cpp File Reference

Implements PROFINET Vendor ID to vendor-name lookup. More...

#include "profinet/vendors.h"
#include <algorithm>
#include <cstdio>
#include <format>
#include "profinet/vendorsData.h"
+ Include dependency graph for vendors.cpp:

Go to the source code of this file.

Namespaces

namespace  profinet
 

Functions

std::optional< std::string > profinet::LookupVendor (std::uint16_t vendorId)
 Look up a vendor name without a fallback string.
 
std::string profinet::GetVendorName (std::uint16_t vendorId)
 Get the vendor name for a 16-bit PROFINET vendor ID.
 

Detailed Description

Implements PROFINET Vendor ID to vendor-name lookup.

Definition in file vendors.cpp.