P4C
The P4 Compiler
P4::SetOfLocations Class Reference
Inheritance diagram for P4::SetOfLocations:
[legend]

Public Member Functions

 SetOfLocations (const LocationPath *path)
 
 SetOfLocations (const SetOfLocations *set)
 
void add (const LocationPath *path)
 
const SetOfLocationsappend (cstring suffix) const
 Append suffix to each location in the set.
 
void dbprint (std::ostream &out) const override
 
const SetOfLocationsjoin (const SetOfLocations *other) const
 
bool overlaps (const SetOfLocations *other) const
 
- Public Member Functions inherited from IHasDbPrint
void print () const
 

Public Attributes

std::set< const LocationPath * > paths
 

Detailed Description

We represent a set of location set as a set of LocationPath objects.