P4C
The P4 Compiler
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Deparser::FDEntry::Clot Struct Reference
Inheritance diagram for Deparser::FDEntry::Clot:
[legend]

Public Member Functions

 Clot (gress_t gr, const value_t &tag, const value_t &data, ordered_set<::Phv::Ref > &pov)
 
void check (bitvec &phv_use) override
 
void dbprint (std::ostream &out) const override
 
unsigned encode () override
 
unsigned size () override
 
- Public Member Functions inherited from Deparser::FDEntry::Base
template<class T>
bool is () const
 
template<class T>
T * to ()
 

Public Attributes

std::map< unsigned, Checksumcsum_replace
 
gress_t gress
 
int length = -1
 
int lineno
 
std::map< unsigned, ::Phv::Refphv_replace
 
std::string tag
 

Member Function Documentation

◆ check()

void Deparser::FDEntry::Clot::check ( bitvec & phv_use)
inlineoverridevirtual

◆ dbprint()

void Deparser::FDEntry::Clot::dbprint ( std::ostream & out) const
inlineoverridevirtual

◆ encode()

unsigned Deparser::FDEntry::Clot::encode ( )
inlineoverridevirtual

◆ size()

unsigned Deparser::FDEntry::Clot::size ( )
inlineoverridevirtual