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 : LoopBlock::~LoopBlock() { SetCurrentBlock(context, curActiveBlock); }
20 :
21 : }; // namespace CcuRep
22 : }; // namespace hcomm
|