MatchResult Constructor and Destructor
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
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.
It defines the matching result that satisfies the pattern. The input parameter is Pattern. In MatchResult, Matched Node indicates the nodes matched based on 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
Constraints
None
Parent topic: MatchResult