LCOV - code coverage report
Current view: top level - data/include/set - data_visible_classifier.inl (source / functions) Coverage Total Hit
Test: crystal-facet-uml_v1.63.2_covts Lines: 100.0 % 31 31
Test Date: 2025-05-01 10:10:14 Functions: 100.0 % 10 10

            Line data    Source code
       1              : /* File: data_visible_classifier.inl; Copyright and License: see below */
       2              : 
       3            4 : static inline void data_visible_classifier_init ( data_visible_classifier_t *this_, 
       4              :                                                   const data_classifier_t *classifier, 
       5              :                                                   const data_diagramelement_t *diagramelement  )
       6              : {
       7            4 :     data_classifier_copy( &((*this_).classifier), classifier );
       8            4 :     data_diagramelement_copy( &((*this_).diagramelement), diagramelement );
       9            4 : }
      10              : 
      11          982 : static inline void data_visible_classifier_init_empty ( data_visible_classifier_t *this_ )
      12              : {
      13          982 :     data_classifier_init_empty( &((*this_).classifier) );
      14          982 :     data_diagramelement_init_empty( &((*this_).diagramelement) );
      15          982 : }
      16              : 
      17          129 : static inline void data_visible_classifier_copy ( data_visible_classifier_t *this_, const data_visible_classifier_t *original )
      18              : {
      19          129 :     data_classifier_copy( &((*this_).classifier), &((*original).classifier) );
      20          129 :     data_diagramelement_copy( &((*this_).diagramelement), &((*original).diagramelement) );
      21          129 : }
      22              : 
      23            1 : static inline void data_visible_classifier_replace ( data_visible_classifier_t *this_, const data_visible_classifier_t *that )
      24              : {
      25            1 :     data_classifier_replace( &((*this_).classifier), &((*that).classifier) );
      26            1 :     data_diagramelement_replace( &((*this_).diagramelement), &((*that).diagramelement) );
      27            1 : }
      28              : 
      29          320 : static inline void data_visible_classifier_destroy ( data_visible_classifier_t *this_ )
      30              : {
      31          320 :     data_classifier_destroy( &((*this_).classifier) );
      32          320 :     data_diagramelement_destroy( &((*this_).diagramelement) );
      33          320 : }
      34              : 
      35         1080 : static inline data_classifier_t *data_visible_classifier_get_classifier_ptr ( data_visible_classifier_t *this_ )
      36              : {
      37         1080 :     return &((*this_).classifier);
      38              : }
      39              : 
      40       247617 : static inline const data_classifier_t *data_visible_classifier_get_classifier_const ( const data_visible_classifier_t *this_ )
      41              : {
      42       247617 :     return &((*this_).classifier);
      43              : }
      44              : 
      45          984 : static inline data_diagramelement_t *data_visible_classifier_get_diagramelement_ptr ( data_visible_classifier_t *this_ )
      46              : {
      47          984 :     return &((*this_).diagramelement);
      48              : }
      49              : 
      50        68228 : static inline const data_diagramelement_t *data_visible_classifier_get_diagramelement_const ( const data_visible_classifier_t *this_ )
      51              : {
      52        68228 :     return &((*this_).diagramelement);
      53              : }
      54              : 
      55        98533 : static inline bool data_visible_classifier_is_valid ( const data_visible_classifier_t *this_ )
      56              : {
      57              :     bool result;
      58        98533 :     result = data_classifier_is_valid( &((*this_).classifier) ) && data_diagramelement_is_valid( &((*this_).diagramelement) );
      59        98533 :     return result;
      60              : }
      61              : 
      62              : 
      63              : /*
      64              : Copyright 2016-2025 Andreas Warnke
      65              : 
      66              : Licensed under the Apache License, Version 2.0 (the "License");
      67              : you may not use this file except in compliance with the License.
      68              : You may obtain a copy of the License at
      69              : 
      70              :     http://www.apache.org/licenses/LICENSE-2.0
      71              : 
      72              : Unless required by applicable law or agreed to in writing, software
      73              : distributed under the License is distributed on an "AS IS" BASIS,
      74              : WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      75              : See the License for the specific language governing permissions and
      76              : limitations under the License.
      77              : */
        

Generated by: LCOV version 2.0-1