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 "ccu_api_exception.h"
13 :
14 : namespace hcomm {
15 : namespace CcuRep {
16 :
17 2 : LoopBlock::LoopBlock(CcuRepContext *context, std::string label) : context(context), label(label)
18 : {
19 2 : }
20 :
21 2 : LoopBlock::~LoopBlock()
22 : {
23 2 : SetCurrentBlock(context, curActiveBlock);
24 2 : }
25 :
26 : }; // namespace CcuRep
27 : }; // namespace hcomm
|