P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::P4Tools::Target::Spec Struct Reference

Specifies a target device and architecture by their names in lower case. More...

#include <target.h>

Public Member Functions

 Spec (std::string_view deviceName, std::string_view archName)
 Names provided to this constructor are converted to lower case.
 
bool operator< (const Spec &) const
 Lexicographic ordering on (deviceName, archName).
 

Public Attributes

std::string archName
 
std::string deviceName
 

Detailed Description

Specifies a target device and architecture by their names in lower case.