P4C
The P4 Compiler
Loading...
Searching...
No Matches
PHVTrigger::failure Struct Reference
Inheritance diagram for PHVTrigger::failure:
[legend]

Public Member Functions

 failure (ordered_map< cstring, ordered_set< int > > tables, ordered_map< cstring, ordered_set< int > > internalTables, ordered_map< cstring, std::pair< cstring, cstring > > mergedGateways, bool fit, bool pack=false, bool meta=false, bool stop=false)
 
 DECLARE_TYPEINFO (failure)
 
- Public Member Functions inherited from P4::Backtrack::trigger
 trigger (type_t t)
 
virtual void dbprint (std::ostream &out) const
 
- Public Member Functions inherited from P4::ICastable
template<typename T >
T & as ()
 Tries to convert the class to type T. A BUG occurs if the cast fails.
 
template<typename T >
const T & as () const
 Tries to convert the class to type T. A BUG occurs if the cast fails.
 
template<typename T >
T * checkedTo ()
 Performs a checked cast. A BUG occurs if the cast fails.
 
template<typename T >
const T * checkedTo () const
 Performs a checked cast. A BUG occurs if the cast fails.
 
- Public Member Functions inherited from P4::RTTI::Base
template<typename T >
bool is () const noexcept
 
virtual bool isA (TypeId typeId) const noexcept=0
 
template<typename T >
const T * to () const noexcept
 Same as to, but returns const pointer to T.
 
template<typename T >
T * to () noexcept
 
virtual TypeId typeId () const noexcept=0
 

Public Attributes

bool firstRoundFit
 
bool ignorePackConflicts
 
ordered_map< cstring, ordered_set< int > > internalTableAlloc
 
ordered_map< cstring, std::pair< cstring, cstring > > mergedGateways
 
bool metaInitDisable
 
bool stopTableReplayFitting
 
ordered_map< cstring, ordered_set< int > > tableAlloc
 
- Public Attributes inherited from P4::Backtrack::trigger
enum P4::Backtrack::trigger::type_t type
 

Additional Inherited Members

- Public Types inherited from P4::Backtrack::trigger
enum  type_t { OK , OTHER }
 
- Protected Member Functions inherited from P4::Backtrack::trigger
 DECLARE_TYPEINFO (trigger)
 
void register_for_gc (size_t)
 
- Protected Member Functions inherited from P4::RTTI::Base
virtual const void * toImpl (TypeId typeId) const noexcept=0