MatchResult Constructor and Destructor
Applicable Products
All processors
Header File/Library File
- Header file: #include <ge/fusion/match_result.h>
- Library file: libge_compiler.so
Function Usage
Constructs or destructs an object of class MatchResult.
Defines the matching result. The input parameter is the Pattern, that is, the matching definition. In MatchResult, Matched Node indicates the node that is matched based on Pattern Node and corresponds to Pattern Node.
Prototype
1 2 3 4 5 6 | explicit MatchResult(const Pattern *pattern); MatchResult(const MatchResult &other) noexcept; MatchResult(MatchResult &&other) noexcept; MatchResult &operator=(const MatchResult &other) noexcept; MatchResult &operator=(MatchResult &&other) noexcept ; ~MatchResult(); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
pattern |
Input |
Pattern definition. |
Returns
None
Exception Handling
None
Restrictions
None
Parent topic: MatchResult