Line data Source code
1 : /*
2 : * Copyright (c) Huawei Technologies Co., Ltd. 2024-2024. All rights reserved.
3 : * Description: ccu representation implementation file
4 : * Author: sunzhepeng
5 : * Create: 2024-06-17
6 : */
7 :
8 : #include "ccu_rep_v1.h"
9 : #include "ccu_interface_assist_v1.h"
10 :
11 : #include "string_util.h"
12 : #include "exception_util.h"
13 : #include "ccu_api_exception.h"
14 :
15 : namespace hcomm {
16 : namespace CcuRep {
17 :
18 0 : Repeat::Repeat(CcuRepContext *context, CcuRelationalOperator<Variable, uint64_t> rel) : context(context)
19 : {
20 0 : std::string label = "Repeat";
21 0 : }
22 :
23 0 : Repeat::~Repeat()
24 : {
25 0 : }
26 :
27 0 : void Repeat::Break()
28 : {
29 0 : }
30 :
31 0 : bool Repeat::Check() const
32 : {
33 0 : return !isExecuted;
34 : }
35 :
36 0 : void Repeat::Run()
37 : {
38 0 : isExecuted = true;
39 0 : }
40 :
41 : }; // namespace CcuRep
42 : }; // namespace hcomm
|