![]()  | 
  
    P4C
    
   The P4 Compiler 
   | 
 
#include <formulae.h>
Protected Member Functions | |
| AbstractRepCheckedNode (const Node *node, std::string classDesc) | |
| DECLARE_TYPEINFO (AbstractRepCheckedNode) | |
| operator const Node * () const | |
| const Node & | operator* () const | 
| const Node * | operator-> () const | 
  Protected Member Functions inherited from RTTI::Base | |
| virtual const void * | toImpl (TypeId typeId) const noexcept=0 | 
Protected Attributes | |
| std::reference_wrapper< const Node > | node | 
Additional Inherited Members | |
  Public Member Functions inherited from 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 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 | 
Provides common functionality for implementing a thin wrapper around a 'const Node*' to enforce invariants on which forms of IR nodes can inhabit implementations of this type. Implementations must provide a static repOk(const Node*) function.
      
  | 
  inlineexplicitprotected | 
| classDesc | a user-friendly description of the class, for reporting errors to the user. |