LCOV - code coverage report
Current view: top level - intl/icu/source/i18n - sharedpluralrules.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 3 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 3 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : // © 2016 and later: Unicode, Inc. and others.
       2             : // License & terms of use: http://www.unicode.org/copyright.html
       3             : /*
       4             : ******************************************************************************
       5             : * Copyright (C) 2014, International Business Machines
       6             : * Corporation and others.  All Rights Reserved.
       7             : ******************************************************************************
       8             : * sharedpluralrules.h
       9             : */
      10             : 
      11             : #ifndef __SHARED_PLURALRULES_H__
      12             : #define __SHARED_PLURALRULES_H__
      13             : 
      14             : #include "unicode/utypes.h"
      15             : #include "sharedobject.h"
      16             : 
      17             : U_NAMESPACE_BEGIN
      18             : 
      19             : class PluralRules;
      20             : 
      21             : class U_I18N_API SharedPluralRules : public SharedObject {
      22             : public:
      23           0 :     SharedPluralRules(PluralRules *prToAdopt) : ptr(prToAdopt) { }
      24             :     virtual ~SharedPluralRules();
      25           0 :     const PluralRules *operator->() const { return ptr; }
      26           0 :     const PluralRules &operator*() const { return *ptr; }
      27             : private:
      28             :     PluralRules *ptr;
      29             :     SharedPluralRules(const SharedPluralRules &);
      30             :     SharedPluralRules &operator=(const SharedPluralRules &);
      31             : };
      32             : 
      33             : U_NAMESPACE_END
      34             : 
      35             : #endif

Generated by: LCOV version 1.13