LCOV - code coverage report
Current view: top level - data/include/set - data_visible_classifier.inl (source / functions) Hit Total Coverage
Test: crystal-facet-uml_v1.61.0_covts Lines: 31 31 100.0 %
Date: 2024-10-26 21:44:38 Functions: 10 10 100.0 %

          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         957 : static inline void data_visible_classifier_init_empty ( data_visible_classifier_t *this_ )
      12             : {
      13         957 :     data_classifier_init_empty( &((*this_).classifier) );
      14         957 :     data_diagramelement_init_empty( &((*this_).diagramelement) );
      15         957 : }
      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         294 : static inline void data_visible_classifier_destroy ( data_visible_classifier_t *this_ )
      30             : {
      31         294 :     data_classifier_destroy( &((*this_).classifier) );
      32         294 :     data_diagramelement_destroy( &((*this_).diagramelement) );
      33         294 : }
      34             : 
      35        1054 : static inline data_classifier_t *data_visible_classifier_get_classifier_ptr ( data_visible_classifier_t *this_ )
      36             : {
      37        1054 :     return &((*this_).classifier);
      38             : }
      39             : 
      40      569513 : static inline const data_classifier_t *data_visible_classifier_get_classifier_const ( const data_visible_classifier_t *this_ )
      41             : {
      42      569513 :     return &((*this_).classifier);
      43             : }
      44             : 
      45         958 : static inline data_diagramelement_t *data_visible_classifier_get_diagramelement_ptr ( data_visible_classifier_t *this_ )
      46             : {
      47         958 :     return &((*this_).diagramelement);
      48             : }
      49             : 
      50       35446 : static inline const data_diagramelement_t *data_visible_classifier_get_diagramelement_const ( const data_visible_classifier_t *this_ )
      51             : {
      52       35446 :     return &((*this_).diagramelement);
      53             : }
      54             : 
      55      172773 : static inline bool data_visible_classifier_is_valid ( const data_visible_classifier_t *this_ )
      56             : {
      57             :     bool result;
      58      172773 :     result = data_classifier_is_valid( &((*this_).classifier) ) && data_diagramelement_is_valid( &((*this_).diagramelement) );
      59      172773 :     return result;
      60             : }
      61             : 
      62             : 
      63             : /*
      64             : Copyright 2016-2024 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 1.16