LCOV - code coverage report
Current view: top level - base_comm/resources/ccu/ccu_representation/interface - ccu_condition.cc (source / functions) Coverage Total Hit
Test: coverage.info Lines: 0.0 % 11 0
Test Date: 2026-07-28 12:11:00 Functions: 0.0 % 4 0

            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 : Condition::Condition(CcuRepContext *context, CcuRelationalOperator<Variable, uint64_t> rel) : context(context)
      19              : {
      20            0 :     std::string label = "Condition";
      21            0 : }
      22              : 
      23            0 : Condition::~Condition()
      24              : {
      25            0 :     AppendToContext(context, endLabel);
      26            0 : }
      27              : 
      28            0 : bool Condition::Check() const
      29              : {
      30            0 :     return !isExecuted;
      31              : }
      32              : 
      33            0 : void Condition::Run()
      34              : {
      35            0 :     isExecuted = true;
      36            0 : }
      37              : 
      38              : }; // namespace CcuRep
      39              : }; // namespace hcomm
        

Generated by: LCOV version 2.0-1