PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
Loading...
Searching...
No Matches
vendors.h
Go to the documentation of this file.
1
6
7#pragma once
8
9#include <cstdint>
10#include <optional>
11#include <string>
12
13namespace profinet
14{
15
20std::string GetVendorName(std::uint16_t vendorId);
21
26std::optional<std::string> LookupVendor(std::uint16_t vendorId);
27
28} // namespace profinet
std::optional< std::string > LookupVendor(std::uint16_t vendorId)
Look up a vendor name without a fallback string.
Definition vendors.cpp:15
std::string GetVendorName(std::uint16_t vendorId)
Get the vendor name for a 16-bit PROFINET vendor ID.
Definition vendors.cpp:29