P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::SetOfLocations Class Reference

#include <alias.h>

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 P4::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.

Member Function Documentation

◆ dbprint()

void P4::SetOfLocations::dbprint ( std::ostream & out) const
inlineoverridevirtual

Implements P4::IHasDbPrint.