![]() |
P4C
The P4 Compiler
|
Public Member Functions | |
| TestObject (const TestObject &)=default | |
| TestObject (TestObject &&)=default | |
| DECLARE_TYPEINFO (TestObject) | |
| virtual const TestObject * | evaluate (const Model &model, bool doComplete) const =0 |
| virtual cstring | getObjectName () const =0 |
| TestObject & | operator= (const TestObject &)=default |
| TestObject & | operator= (TestObject &&)=default |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from RTTI::Base | |
| virtual const void * | toImpl (TypeId typeId) const noexcept=0 |
|
nodiscardpure virtual |
| model. |
Implemented in P4Tools::P4Testgen::ActionArg, P4Tools::P4Testgen::ActionCall, P4Tools::P4Testgen::Bmv2::Bmv2V1ModelActionProfile, P4Tools::P4Testgen::Bmv2::Bmv2V1ModelActionSelector, P4Tools::P4Testgen::Bmv2::Bmv2V1ModelCloneInfo, P4Tools::P4Testgen::Bmv2::Bmv2V1ModelCloneSpec, P4Tools::P4Testgen::Bmv2::Bmv2V1ModelMeterValue, P4Tools::P4Testgen::Bmv2::Bmv2V1ModelRegisterValue, P4Tools::P4Testgen::Bmv2::IndexExpression, P4Tools::P4Testgen::Bmv2::MetadataCollection, P4Tools::P4Testgen::Bmv2::Optional, P4Tools::P4Testgen::Bmv2::Range, P4Tools::P4Testgen::Exact, P4Tools::P4Testgen::LPM, P4Tools::P4Testgen::Packet, P4Tools::P4Testgen::Pna::MetadataCollection, P4Tools::P4Testgen::Pna::Optional, P4Tools::P4Testgen::Pna::PnaDpdkActionProfile, P4Tools::P4Testgen::Pna::PnaDpdkActionSelector, P4Tools::P4Testgen::Pna::PnaDpdkRegisterCondition, P4Tools::P4Testgen::Pna::PnaDpdkRegisterValue, P4Tools::P4Testgen::Pna::Range, P4Tools::P4Testgen::TableConfig, P4Tools::P4Testgen::TableRule, and P4Tools::P4Testgen::Ternary.
|
nodiscardpure virtual |
Implemented in P4Tools::P4Testgen::ActionArg, P4Tools::P4Testgen::ActionCall, P4Tools::P4Testgen::Bmv2::Bmv2V1ModelActionProfile, P4Tools::P4Testgen::Bmv2::Bmv2V1ModelActionSelector, P4Tools::P4Testgen::Bmv2::Bmv2V1ModelCloneInfo, P4Tools::P4Testgen::Bmv2::Bmv2V1ModelCloneSpec, P4Tools::P4Testgen::Bmv2::Bmv2V1ModelMeterValue, P4Tools::P4Testgen::Bmv2::Bmv2V1ModelRegisterValue, P4Tools::P4Testgen::Bmv2::IndexExpression, P4Tools::P4Testgen::Bmv2::MetadataCollection, P4Tools::P4Testgen::Bmv2::Optional, P4Tools::P4Testgen::Bmv2::Range, P4Tools::P4Testgen::Exact, P4Tools::P4Testgen::LPM, P4Tools::P4Testgen::Packet, P4Tools::P4Testgen::Pna::MetadataCollection, P4Tools::P4Testgen::Pna::Optional, P4Tools::P4Testgen::Pna::PnaDpdkActionProfile, P4Tools::P4Testgen::Pna::PnaDpdkActionSelector, P4Tools::P4Testgen::Pna::PnaDpdkRegisterCondition, P4Tools::P4Testgen::Pna::PnaDpdkRegisterValue, P4Tools::P4Testgen::Pna::Range, P4Tools::P4Testgen::TableConfig, P4Tools::P4Testgen::TableRule, and P4Tools::P4Testgen::Ternary.