LCOV - code coverage report
Current view: top level - data/include/storage - data_change_notifier.inl (source / functions) Hit Total Coverage
Test: crystal-facet-uml_v1.42.0_alltests Lines: 3 3 100.0 %
Date: 2022-10-01 11:23:42 Functions: 0 0 -

          Line data    Source code
       1             : /* File: data_change_notifier.inl; Copyright and License: see below */
       2             : 
       3             : #include "data_id.h"
       4             : #include "tslog/tslog.h"
       5             : #include <assert.h>
       6             : 
       7       74220 : static inline void data_change_notifier_emit_signal_without_parent ( data_change_notifier_t *this_,
       8             :                                                                      data_change_event_type_t event_type,
       9             :                                                                      data_table_t table,
      10             :                                                                      data_row_id_t row_id )
      11             : {
      12             :     /* only classifier may be created without providing a parent object */
      13       74220 :     assert( (DATA_CHANGE_EVENT_TYPE_CREATE != event_type) || (DATA_TABLE_CLASSIFIER == table) );
      14             : 
      15       74220 :     data_change_notifier_emit_signal ( this_,
      16             :                                        event_type,
      17             :                                        table,
      18             :                                        row_id,
      19             :                                        DATA_TABLE_VOID,
      20             :                                        DATA_ROW_ID_VOID
      21             :                                      );
      22             : }
      23             : 
      24             : 
      25             : /*
      26             : Copyright 2018-2022 Andreas Warnke
      27             : 
      28             : Licensed under the Apache License, Version 2.0 (the "License");
      29             : you may not use this file except in compliance with the License.
      30             : You may obtain a copy of the License at
      31             : 
      32             :     http://www.apache.org/licenses/LICENSE-2.0
      33             : 
      34             : Unless required by applicable law or agreed to in writing, software
      35             : distributed under the License is distributed on an "AS IS" BASIS,
      36             : WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      37             : See the License for the specific language governing permissions and
      38             : limitations under the License.
      39             : */

Generated by: LCOV version 1.14