YugabyteDB (2.13.0.0-b42, bfc6a6643e7399ac8a0e81d06a3ee6d6571b33ab)

Coverage Report

Created: 2022-03-09 17:30

/Users/deen/code/yugabyte-db/src/yb/util/strongly_typed_bool.h
Line
Count
Source
1
// Copyright (c) YugaByte, Inc.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
4
// in compliance with the License.  You may obtain a copy of the License at
5
//
6
// http://www.apache.org/licenses/LICENSE-2.0
7
//
8
// Unless required by applicable law or agreed to in writing, software distributed under the License
9
// is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
10
// or implied.  See the License for the specific language governing permissions and limitations
11
// under the License.
12
//
13
14
#ifndef YB_UTIL_STRONGLY_TYPED_BOOL_H
15
#define YB_UTIL_STRONGLY_TYPED_BOOL_H
16
17
#include <vector>
18
19
#include <boost/preprocessor/cat.hpp>
20
21
// A "strongly-typed boolean" tool. This is needed to prevent passing the wrong boolean as a
22
// function parameter, and to make callsites more readable by enforcing that MyBooleanType::kTrue or
23
// MyBooleanType::kFalse is specified instead of kTrue, kFalse. Conversion from strongly-typed bools
24
// to regular bools is automatic, but the reverse conversion is always explicit.
25
#define YB_STRONGLY_TYPED_BOOL(TypeName) \
26
  class BOOST_PP_CAT(TypeName, _Tag); \
27
  typedef ::yb::StronglyTypedBool<BOOST_PP_CAT(TypeName, _Tag)> TypeName;
28
29
namespace yb {
30
31
template <class Tag>
32
class StronglyTypedBool {
33
 public:
34
  static const StronglyTypedBool<Tag> kTrue;
35
  static const StronglyTypedBool<Tag> kFalse;
36
  static const std::initializer_list<StronglyTypedBool<Tag>> kValues;
37
38
  // This is public so that we can construct a strongly-typed boolean value out of a regular one if
39
  // needed. In that case we'll have to spell out the class name, which will enforce readability.
40
395M
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_15DupFileName_TagEEC2Eb
Line
Count
Source
40
663k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6tablet23TransactionsEnabled_TagEEC2Eb
Line
Count
Source
40
13.7M
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6tablet22IsSysCatalogTablet_TagEEC2Eb
Line
Count
Source
40
26.8k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_5docdb18AutoDecodeKeys_TagEEC2Eb
Line
Count
Source
40
27.1k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolIN7rocksdb20ConcurrentWrites_TagEEC2Eb
Line
Count
Source
40
28.4k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_3log20CreateNewSegment_TagEEC2Eb
Line
Count
Source
40
13.0k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_15ExcludeDots_TagEEC2Eb
Line
Count
Source
40
36.5k
  explicit StronglyTypedBool(bool value) : value_(value) {}
Unexecuted instantiation: _ZN2yb17StronglyTypedBoolINS_8gen_yrpc15Lightweight_TagEEC2Eb
_ZN2yb17StronglyTypedBoolINS_8Stop_TagEEC2Eb
Line
Count
Source
40
134k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_5docdb26PartialRangeKeyIntents_TagEEC2Eb
Line
Count
Source
40
3.01M
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6server18UseClientCerts_TagEEC2Eb
Line
Count
Source
40
15.8k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6client9Flush_TagEEC2Eb
Line
Count
Source
40
748
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6client15ListDeleted_TagEEC2Eb
Line
Count
Source
40
684
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6client20PrepareForBackup_TagEEC2Eb
Line
Count
Source
40
677
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6client15SetReadTime_TagEEC2Eb
Line
Count
Source
40
705
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6client12SealOnly_TagEEC2Eb
Line
Count
Source
40
480k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6client13Inclusive_TagEEC2Eb
Line
Count
Source
40
128
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6client8internal25IncludeFailedReplicas_TagEEC2Eb
Line
Count
Source
40
31.6k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6master19IncludeInactive_TagEEC2Eb
Line
Count
Source
40
325k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6server11Private_TagEEC2Eb
Line
Count
Source
40
68.7k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_9consensus28TEST_SuppressVoteRequest_TagEEC2Eb
Line
Count
Source
40
190k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_9consensus14PreElected_TagEEC2Eb
Line
Count
Source
40
99.5k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_17ForceStepDown_TagEEC2Eb
Line
Count
Source
40
45
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6client17Transactional_TagEEC2Eb
Line
Count
Source
40
46
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_5docdb16AllowSpecial_TagEEC2Eb
Line
Count
Source
40
31.6k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_5docdb22HybridTimeRequired_TagEEC2Eb
Line
Count
Source
40
94.3M
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6client23ForceConsistentRead_TagEEC2Eb
Line
Count
Source
40
5.75M
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6client11Restart_TagEEC2Eb
Line
Count
Source
40
5.23M
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6client16WaitSnapshot_TagEEC2Eb
Line
Count
Source
40
668
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_3log14AppendSync_TagEEC2Eb
Line
Count
Source
40
96
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_20ShouldDeleteLogs_TagEEC2Eb
Line
Count
Source
40
15.9k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_9consensus15PreElection_TagEEC2Eb
Line
Count
Source
40
228k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_19AlreadyConsumed_TagEEC2Eb
Line
Count
Source
40
90.8M
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_15AddToParent_TagEEC2Eb
Line
Count
Source
40
37.8k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_17CreateMetrics_TagEEC2Eb
Line
Count
Source
40
37.9k
  explicit StronglyTypedBool(bool value) : value_(value) {}
Unexecuted instantiation: _ZN2yb17StronglyTypedBoolINS_5docdb11UseHash_TagEEC2Eb
_ZN2yb17StronglyTypedBoolINS_5docdb11LastKey_TagEEC2Eb
Line
Count
Source
40
23.3M
  explicit StronglyTypedBool(bool value) : value_(value) {}
Unexecuted instantiation: _ZN2yb17StronglyTypedBoolINS_5docdb26UseIntermediateFlushes_TagEEC2Eb
Unexecuted instantiation: _ZN2yb17StronglyTypedBoolINS_5docdb21InitMarkerExpired_TagEEC2Eb
Unexecuted instantiation: _ZN2yb17StronglyTypedBoolINS_5docdb28ResolveIntentsDuringRead_TagEEC2Eb
_ZN2yb17StronglyTypedBoolINS_10encryption32EncryptionOverflowWorkaround_TagEEC2Eb
Line
Count
Source
40
277k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6tablet18IncludeIntents_TagEEC2Eb
Line
Count
Source
40
11.3k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_28UsePartitionAwareRouting_TagEEC2Eb
Line
Count
Source
40
278
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_15PKOnlyIndex_TagEEC2Eb
Line
Count
Source
40
106
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_12IsUnique_TagEEC2Eb
Line
Count
Source
40
106
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_21IncludeAllColumns_TagEEC2Eb
Line
Count
Source
40
106
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_16UserEnforced_TagEEC2Eb
Line
Count
Source
40
126
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_13RestartTS_TagEEC2Eb
Line
Count
Source
40
106
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolI25RequireTabletsRunning_TagEC2Eb
Line
Count
Source
40
31.7k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_5itest19MustBeCommitted_TagEEC2Eb
Line
Count
Source
40
89
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_15UniqueIndex_TagEEC2Eb
Line
Count
Source
40
16
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_14CheckReady_TagEEC2Eb
Line
Count
Source
40
16
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6master30RegisteredThroughHeartbeat_TagEEC2Eb
Line
Count
Source
40
32.4k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_2ql17IsRescheduled_TagEEC2Eb
Line
Count
Source
40
12.2k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6client12UseCache_TagEEC2Eb
Line
Count
Source
40
31.6k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6master18DeactivateOnly_TagEEC2Eb
Line
Count
Source
40
226k
  explicit StronglyTypedBool(bool value) : value_(value) {}
Unexecuted instantiation: geo_transactions-test.cc:_ZN2yb17StronglyTypedBoolINS_6client12_GLOBAL__N_130SetGlobalTransactionsGFlag_TagEEC2Eb
Unexecuted instantiation: geo_transactions-test.cc:_ZN2yb17StronglyTypedBoolINS_6client12_GLOBAL__N_134SetGlobalTransactionSessionVar_TagEEC2Eb
_ZN2yb17StronglyTypedBoolIN7rocksdb25StopOnMaxFilesDeleted_TagEEC2Eb
Line
Count
Source
40
10
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolIN7rocksdb17IncludeHeader_TagEEC2Eb
Line
Count
Source
40
28.3k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolIN7rocksdb22IncludeFileVersion_TagEEC2Eb
Line
Count
Source
40
28.3k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_21ExportPercentiles_TagEEC2Eb
Line
Count
Source
40
34.5k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6tablet15IsDropTable_TagEEC2Eb
Line
Count
Source
40
58.8k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6tablet27AllowBootstrappingState_TagEEC2Eb
Line
Count
Source
40
22.4k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_5docdb17IncludeBinary_TagEEC2Eb
Line
Count
Source
40
11.3k
  explicit StronglyTypedBool(bool value) : value_(value) {}
Unexecuted instantiation: _ZN2yb17StronglyTypedBoolINS_5tools22YBAdminMultiMasterTest11UseUUID_TagEEC2Eb
_ZN2yb17StronglyTypedBoolINS_6server11RpcOnly_TagEEC2Eb
Line
Count
Source
40
70.6k
  explicit StronglyTypedBool(bool value) : value_(value) {}
Unexecuted instantiation: _ZN2yb17StronglyTypedBoolINS_3cdc20ReplicateIntents_TagEEC2Eb
_ZN2yb17StronglyTypedBoolINS_9consensus13CouldStop_TagEEC2Eb
Line
Count
Source
40
22.5k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_9consensus14WriteEmpty_TagEEC2Eb
Line
Count
Source
40
10.2M
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_8Auto_TagEEC2Eb
Line
Count
Source
40
28.5k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6master19IsUserInitiated_TagEEC2Eb
Line
Count
Source
40
22.1k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6master12HideOnly_TagEEC2Eb
Line
Count
Source
40
58.0k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6master19HoldCatalogLock_TagEEC2Eb
Line
Count
Source
40
502k
  explicit StronglyTypedBool(bool value) : value_(value) {}
Unexecuted instantiation: _ZN2yb17StronglyTypedBoolINS_6master16SendMetadata_TagEEC2Eb
_ZN2yb17StronglyTypedBoolINS_6tablet29AlreadyAppliedToRegularDB_TagEEC2Eb
Line
Count
Source
40
7.61M
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6master13ForClient_TagEEC2Eb
Line
Count
Source
40
22.1k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_3rpc17RetryWhenBusy_TagEEC2Eb
Line
Count
Source
40
31.6k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_10AddRef_TagEEC2Eb
Line
Count
Source
40
17.1k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_2ql5audit20ErrorIsFormatted_TagEEC2Eb
Line
Count
Source
40
12.2k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_2ql5audit13IsPrepare_TagEEC2Eb
Line
Count
Source
40
11.6k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_2ql17NullIsAllowed_TagEEC2Eb
Line
Count
Source
40
171k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6client26ForceGlobalTransaction_TagEEC2Eb
Line
Count
Source
40
128k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolIN7rocksdb15ShortenKeys_TagEEC2Eb
Line
Count
Source
40
34.2k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6tablet26DisableFlushOnShutdown_TagEEC2Eb
Line
Count
Source
40
60.4k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6tablet11Destroy_TagEEC2Eb
Line
Count
Source
40
23.4k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_16UseHardLinks_TagEEC2Eb
Line
Count
Source
40
11.2k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_19CreateIfMissing_TagEEC2Eb
Line
Count
Source
40
11.2k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6tablet14ResetSplit_TagEEC2Eb
Line
Count
Source
40
22.5k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6tablet13Abortable_TagEEC2Eb
Line
Count
Source
40
22.5k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6tablet17NeedsRecovery_TagEEC2Eb
Line
Count
Source
40
189k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_5docdb46ShouldRetainDeleteMarkersInMajorCompaction_TagEEC2Eb
Line
Count
Source
40
12.0k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_7tserver20AllowSplitTablet_TagEEC2Eb
Line
Count
Source
40
3.94M
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_3rpc17IncludeHeader_TagEEC2Eb
Line
Count
Source
40
22.7k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_3rpc21SkipEmptyMessages_TagEEC2Eb
Line
Count
Source
40
44.1M
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_3rpc9Queue_TagEEC2Eb
Line
Count
Source
40
5.60M
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_11redisserver13AsPattern_TagEEC2Eb
Line
Count
Source
40
12.2k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_11redisserver18ManualResponse_TagEEC2Eb
Line
Count
Source
40
12.2k
  explicit StronglyTypedBool(bool value) : value_(value) {}
redis_service.cc:_ZN2yb17StronglyTypedBoolINS_11redisserver12_GLOBAL__N_120IsMonitorMessage_TagEEC2Eb
Line
Count
Source
40
12.2k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6client8internal28IsWithinTransactionRetry_TagEEC2Eb
Line
Count
Source
40
600k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6client11Initial_TagEEC2Eb
Line
Count
Source
40
31.6k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6client9Retry_TagEEC2Eb
Line
Count
Source
40
31.6k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_15HadReadTime_TagEEC2Eb
Line
Count
Source
40
29.0k
  explicit StronglyTypedBool(bool value) : value_(value) {}
transaction.cc:_ZN2yb17StronglyTypedBoolINS_6client12_GLOBAL__N_19Child_TagEEC2Eb
Line
Count
Source
40
31.6k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6client10Sealed_TagEEC2Eb
Line
Count
Source
40
15.8k
  explicit StronglyTypedBool(bool value) : value_(value) {}
wire_protocol.cc:_ZN2yb17StronglyTypedBoolINS_12_GLOBAL__N_124PublicAddressAllowed_TagEEC2Eb
Line
Count
Source
40
34.2k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_5docdb14FullDocKey_TagEEC2Eb
Line
Count
Source
40
28.5M
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_5docdb21IsMajorCompaction_TagEEC2Eb
Line
Count
Source
40
436
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_5docdb19SeekFwdSuffices_TagEEC2Eb
Line
Count
Source
40
11.3k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_5docdb12IsUpsert_TagEEC2Eb
Line
Count
Source
40
2.84M
  explicit StronglyTypedBool(bool value) : value_(value) {}
redis_operation.cc:_ZN2yb17StronglyTypedBoolINS_5docdb12_GLOBAL__N_126VerifySuccessIfMissing_TagEEC2Eb
Line
Count
Source
40
11.3k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6pggate12PgTxnManager16SavePriority_TagEEC2Eb
Line
Count
Source
40
127k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6pggate24InvalidateOnPgClient_TagEEC2Eb
Line
Count
Source
40
27.3k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6pggate10Commit_TagEEC2Eb
Line
Count
Source
40
27.4k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6pggate26IsTransactionalSession_TagEEC2Eb
Line
Count
Source
40
4.68M
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6pggate23IsReadOnlyOperation_TagEEC2Eb
Line
Count
Source
40
15.8k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6pggate15RequestSent_TagEEC2Eb
Line
Count
Source
40
2.70M
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_6pggate11DdlMode_TagEEC2Eb
Line
Count
Source
40
27.3k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_12MayExist_TagEEC2Eb
Line
Count
Source
40
41.3k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_16OnlyChildren_TagEEC2Eb
Line
Count
Source
40
42.6k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_10Unlock_TagEEC2Eb
Line
Count
Source
40
408k
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_3rpc18ReadBufferFull_TagEEC2Eb
Line
Count
Source
40
42.5M
  explicit StronglyTypedBool(bool value) : value_(value) {}
_ZN2yb17StronglyTypedBoolINS_3rpc19RequestShutdown_TagEEC2Eb
Line
Count
Source
40
34.4k
  explicit StronglyTypedBool(bool value) : value_(value) {}
41
42
  // These operators return regular bools so that it is easy to use strongly-typed bools in logical
43
  // expressions.
44
1.53G
  operator bool() const { return value_; }
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_8gen_yrpc15Lightweight_TagEEcvbEv
_ZNK2yb17StronglyTypedBoolINS_3log14AppendSync_TagEEcvbEv
Line
Count
Source
44
600k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_19AlreadyConsumed_TagEEcvbEv
Line
Count
Source
44
90.8M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_5docdb26PartialRangeKeyIntents_TagEEcvbEv
Line
Count
Source
44
12.6M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_5docdb14FullDocKey_TagEEcvbEv
Line
Count
Source
44
22.3M
  operator bool() const { return value_; }
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_5docdb26UseIntermediateFlushes_TagEEcvbEv
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_5docdb21InitMarkerExpired_TagEEcvbEv
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_5docdb28ResolveIntentsDuringRead_TagEEcvbEv
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_5docdb11UseHash_TagEEcvbEv
_ZNK2yb17StronglyTypedBoolINS_16UserEnforced_TagEEcvbEv
Line
Count
Source
44
30
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_12IsUnique_TagEEcvbEv
Line
Count
Source
44
3.04k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_15PKOnlyIndex_TagEEcvbEv
Line
Count
Source
44
10
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_21IncludeAllColumns_TagEEcvbEv
Line
Count
Source
44
10
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_13RestartTS_TagEEcvbEv
Line
Count
Source
44
4
  operator bool() const { return value_; }
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_15UniqueIndex_TagEEcvbEv
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_14CheckReady_TagEEcvbEv
Unexecuted instantiation: geo_transactions-test.cc:_ZNK2yb17StronglyTypedBoolINS_6client12_GLOBAL__N_130SetGlobalTransactionsGFlag_TagEEcvbEv
Unexecuted instantiation: geo_transactions-test.cc:_ZNK2yb17StronglyTypedBoolINS_6client12_GLOBAL__N_134SetGlobalTransactionSessionVar_TagEEcvbEv
_ZNK2yb17StronglyTypedBoolIN7rocksdb25StopOnMaxFilesDeleted_TagEEcvbEv
Line
Count
Source
44
11
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6tablet29AlreadyAppliedToRegularDB_TagEEcvbEv
Line
Count
Source
44
7.84M
  operator bool() const { return value_; }
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_5tools22YBAdminMultiMasterTest11UseUUID_TagEEcvbEv
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_3cdc20ReplicateIntents_TagEEcvbEv
_ZNK2yb17StronglyTypedBoolINS_9consensus15PreElection_TagEEcvbEv
Line
Count
Source
44
981k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_9consensus28TEST_SuppressVoteRequest_TagEEcvbEv
Line
Count
Source
44
146k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_9consensus14PreElected_TagEEcvbEv
Line
Count
Source
44
76.8k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_9consensus14WriteEmpty_TagEEcvbEv
Line
Count
Source
44
5.71M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_9consensus13CouldStop_TagEEcvbEv
Line
Count
Source
44
4.47M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_28UsePartitionAwareRouting_TagEEcvbEv
Line
Count
Source
44
66
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_10encryption32EncryptionOverflowWorkaround_TagEEcvbEv
Line
Count
Source
44
293k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_5itest19MustBeCommitted_TagEEcvbEv
Line
Count
Source
44
70
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolI25RequireTabletsRunning_TagEcvbEv
Line
Count
Source
44
85.8k
  operator bool() const { return value_; }
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_17ForceStepDown_TagEEcvbEv
_ZNK2yb17StronglyTypedBoolINS_3log20CreateNewSegment_TagEEcvbEv
Line
Count
Source
44
89.5k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6master12HideOnly_TagEEcvbEv
Line
Count
Source
44
93.7k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6master19IncludeInactive_TagEEcvbEv
Line
Count
Source
44
11.7M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6master18DeactivateOnly_TagEEcvbEv
Line
Count
Source
44
204k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6master19HoldCatalogLock_TagEEcvbEv
Line
Count
Source
44
480k
  operator bool() const { return value_; }
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_6master16SendMetadata_TagEEcvbEv
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_6master13ForClient_TagEEcvbEv
_ZNK2yb17StronglyTypedBoolINS_6master19IsUserInitiated_TagEEcvbEv
Line
Count
Source
44
100k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6master30RegisteredThroughHeartbeat_TagEEcvbEv
Line
Count
Source
44
384k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6client9Flush_TagEEcvbEv
Line
Count
Source
44
22.5k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6client17Transactional_TagEEcvbEv
Line
Count
Source
44
8
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6client15SetReadTime_TagEEcvbEv
Line
Count
Source
44
15
  operator bool() const { return value_; }
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_6client15ListDeleted_TagEEcvbEv
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_6client20PrepareForBackup_TagEEcvbEv
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_6client16WaitSnapshot_TagEEcvbEv
_ZNK2yb17StronglyTypedBoolINS_2ql17IsRescheduled_TagEEcvbEv
Line
Count
Source
44
4
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_2ql5audit13IsPrepare_TagEEcvbEv
Line
Count
Source
44
12.8k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_2ql5audit20ErrorIsFormatted_TagEEcvbEv
Line
Count
Source
44
645
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6client11Restart_TagEEcvbEv
Line
Count
Source
44
25.9M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_2ql17NullIsAllowed_TagEEcvbEv
Line
Count
Source
44
158k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolIN7rocksdb20ConcurrentWrites_TagEEcvbEv
Line
Count
Source
44
378k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolIN7rocksdb15ShortenKeys_TagEEcvbEv
Line
Count
Source
44
2.55M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolIN7rocksdb17IncludeHeader_TagEEcvbEv
Line
Count
Source
44
999k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolIN7rocksdb22IncludeFileVersion_TagEEcvbEv
Line
Count
Source
44
1.00M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6server11RpcOnly_TagEEcvbEv
Line
Count
Source
44
48.3k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6server11Private_TagEEcvbEv
Line
Count
Source
44
82.3k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6server18UseClientCerts_TagEEcvbEv
Line
Count
Source
44
75
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_19CreateIfMissing_TagEEcvbEv
Line
Count
Source
44
862
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_16UseHardLinks_TagEEcvbEv
Line
Count
Source
44
5.17k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6tablet22IsSysCatalogTablet_TagEEcvbEv
Line
Count
Source
44
8.41M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6tablet23TransactionsEnabled_TagEEcvbEv
Line
Count
Source
44
23.7M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6tablet15IsDropTable_TagEEcvbEv
Line
Count
Source
44
96.5k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6tablet26DisableFlushOnShutdown_TagEEcvbEv
Line
Count
Source
44
310k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6tablet11Destroy_TagEEcvbEv
Line
Count
Source
44
626k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6tablet27AllowBootstrappingState_TagEEcvbEv
Line
Count
Source
44
124
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6tablet13Abortable_TagEEcvbEv
Line
Count
Source
44
466k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6tablet18IncludeIntents_TagEEcvbEv
Line
Count
Source
44
14
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6tablet14ResetSplit_TagEEcvbEv
Line
Count
Source
44
89.2k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6tablet17NeedsRecovery_TagEEcvbEv
Line
Count
Source
44
178k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_7tserver20AllowSplitTablet_TagEEcvbEv
Line
Count
Source
44
3.92M
  operator bool() const { return value_; }
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_11redisserver13AsPattern_TagEEcvbEv
_ZNK2yb17StronglyTypedBoolINS_3rpc18ReadBufferFull_TagEEcvbEv
Line
Count
Source
44
1.77k
  operator bool() const { return value_; }
Unexecuted instantiation: redis_service.cc:_ZNK2yb17StronglyTypedBoolINS_11redisserver12_GLOBAL__N_120IsMonitorMessage_TagEEcvbEv
_ZNK2yb17StronglyTypedBoolINS_11redisserver18ManualResponse_TagEEcvbEv
Line
Count
Source
44
104k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6client8internal28IsWithinTransactionRetry_TagEEcvbEv
Line
Count
Source
44
568k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6client11Initial_TagEEcvbEv
Line
Count
Source
44
1.02M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6client23ForceConsistentRead_TagEEcvbEv
Line
Count
Source
44
11.1M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6client9Retry_TagEEcvbEv
Line
Count
Source
44
1.39k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6client8internal25IncludeFailedReplicas_TagEEcvbEv
Line
Count
Source
44
30.0k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6client12UseCache_TagEEcvbEv
Line
Count
Source
44
1.16M
  operator bool() const { return value_; }
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_6client13Inclusive_TagEEcvbEv
transaction.cc:_ZNK2yb17StronglyTypedBoolINS_6client12_GLOBAL__N_19Child_TagEEcvbEv
Line
Count
Source
44
257k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6client12SealOnly_TagEEcvbEv
Line
Count
Source
44
1.08M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6client10Sealed_TagEEcvbEv
Line
Count
Source
44
548k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6client26ForceGlobalTransaction_TagEEcvbEv
Line
Count
Source
44
239k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_15HadReadTime_TagEEcvbEv
Line
Count
Source
44
14.5k
  operator bool() const { return value_; }
wire_protocol.cc:_ZNK2yb17StronglyTypedBoolINS_12_GLOBAL__N_124PublicAddressAllowed_TagEEcvbEv
Line
Count
Source
44
4.59k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_5docdb17IncludeBinary_TagEEcvbEv
Line
Count
Source
44
180k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_5docdb21IsMajorCompaction_TagEEcvbEv
Line
Count
Source
44
736
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_5docdb46ShouldRetainDeleteMarkersInMajorCompaction_TagEEcvbEv
Line
Count
Source
44
300
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_5docdb19SeekFwdSuffices_TagEEcvbEv
Line
Count
Source
44
214k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_5docdb12IsUpsert_TagEEcvbEv
Line
Count
Source
44
2.81M
  operator bool() const { return value_; }
redis_operation.cc:_ZNK2yb17StronglyTypedBoolINS_5docdb12_GLOBAL__N_126VerifySuccessIfMissing_TagEEcvbEv
Line
Count
Source
44
8.56k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_5docdb11LastKey_TagEEcvbEv
Line
Count
Source
44
20.4M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_5docdb16AllowSpecial_TagEEcvbEv
Line
Count
Source
44
948M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_5docdb22HybridTimeRequired_TagEEcvbEv
Line
Count
Source
44
94.3M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_5docdb18AutoDecodeKeys_TagEEcvbEv
Line
Count
Source
44
90.0k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_20ShouldDeleteLogs_TagEEcvbEv
Line
Count
Source
44
428
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6pggate10Commit_TagEEcvbEv
Line
Count
Source
44
82.4k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6pggate11DdlMode_TagEEcvbEv
Line
Count
Source
44
82.4k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6pggate26IsTransactionalSession_TagEEcvbEv
Line
Count
Source
44
8.71M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6pggate24InvalidateOnPgClient_TagEEcvbEv
Line
Count
Source
44
1.61k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6pggate23IsReadOnlyOperation_TagEEcvbEv
Line
Count
Source
44
307
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6pggate15RequestSent_TagEEcvbEv
Line
Count
Source
44
5.38M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_6pggate12PgTxnManager16SavePriority_TagEEcvbEv
Line
Count
Source
44
677k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_15ExcludeDots_TagEEcvbEv
Line
Count
Source
44
419k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_15AddToParent_TagEEcvbEv
Line
Count
Source
44
3.02M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_12MayExist_TagEEcvbEv
Line
Count
Source
44
5.61M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_17CreateMetrics_TagEEcvbEv
Line
Count
Source
44
1.75M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_16OnlyChildren_TagEEcvbEv
Line
Count
Source
44
1.34k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_21ExportPercentiles_TagEEcvbEv
Line
Count
Source
44
3.91k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_8Auto_TagEEcvbEv
Line
Count
Source
44
27.9M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_8Stop_TagEEcvbEv
Line
Count
Source
44
973k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_10Unlock_TagEEcvbEv
Line
Count
Source
44
387k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_15DupFileName_TagEEcvbEv
Line
Count
Source
44
81.7M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_10AddRef_TagEEcvbEv
Line
Count
Source
44
322k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_3rpc17IncludeHeader_TagEEcvbEv
Line
Count
Source
44
42.2M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_3rpc21SkipEmptyMessages_TagEEcvbEv
Line
Count
Source
44
44.1M
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_3rpc17RetryWhenBusy_TagEEcvbEv
Line
Count
Source
44
1.15k
  operator bool() const { return value_; }
_ZNK2yb17StronglyTypedBoolINS_3rpc19RequestShutdown_TagEEcvbEv
Line
Count
Source
44
436k
  operator bool() const { return value_; }
45
267M
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolIN7rocksdb20ConcurrentWrites_TagEEntEv
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_8gen_yrpc15Lightweight_TagEEntEv
_ZNK2yb17StronglyTypedBoolINS_19AlreadyConsumed_TagEEntEv
Line
Count
Source
45
90.8M
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_5docdb11UseHash_TagEEntEv
_ZNK2yb17StronglyTypedBoolINS_16UserEnforced_TagEEntEv
Line
Count
Source
45
20
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_14CheckReady_TagEEntEv
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_3cdc20ReplicateIntents_TagEEntEv
_ZNK2yb17StronglyTypedBoolINS_9consensus28TEST_SuppressVoteRequest_TagEEntEv
Line
Count
Source
45
146k
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_9consensus14PreElected_TagEEntEv
Line
Count
Source
45
76.9k
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_9consensus15PreElection_TagEEntEv
Line
Count
Source
45
151k
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_10encryption32EncryptionOverflowWorkaround_TagEEntEv
Line
Count
Source
45
243k
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_6master12HideOnly_TagEEntEv
Line
Count
Source
45
15.6k
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
Unexecuted instantiation: _ZNK2yb17StronglyTypedBoolINS_6master19IncludeInactive_TagEEntEv
_ZNK2yb17StronglyTypedBoolINS_6master18DeactivateOnly_TagEEntEv
Line
Count
Source
45
204k
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_6master19HoldCatalogLock_TagEEntEv
Line
Count
Source
45
480k
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_6master30RegisteredThroughHeartbeat_TagEEntEv
Line
Count
Source
45
5.53k
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_6client11Restart_TagEEntEv
Line
Count
Source
45
5.21M
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_2ql17NullIsAllowed_TagEEntEv
Line
Count
Source
45
158k
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_6server11RpcOnly_TagEEntEv
Line
Count
Source
45
48.3k
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_6tablet27AllowBootstrappingState_TagEEntEv
Line
Count
Source
45
124
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_6tablet29AlreadyAppliedToRegularDB_TagEEntEv
Line
Count
Source
45
7.59M
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_6tablet18IncludeIntents_TagEEntEv
Line
Count
Source
45
14
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_6tablet23TransactionsEnabled_TagEEntEv
Line
Count
Source
45
13.7M
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_6tablet17NeedsRecovery_TagEEntEv
Line
Count
Source
45
89.1k
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_7tserver20AllowSplitTablet_TagEEntEv
Line
Count
Source
45
3.92M
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_6client8internal28IsWithinTransactionRetry_TagEEntEv
Line
Count
Source
45
568k
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_6client12SealOnly_TagEEntEv
Line
Count
Source
45
464k
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_15HadReadTime_TagEEntEv
Line
Count
Source
45
14.5k
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_5docdb46ShouldRetainDeleteMarkersInMajorCompaction_TagEEntEv
Line
Count
Source
45
300
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_5docdb12IsUpsert_TagEEntEv
Line
Count
Source
45
2.81M
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_5docdb22HybridTimeRequired_TagEEntEv
Line
Count
Source
45
94.3M
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_6pggate26IsTransactionalSession_TagEEntEv
Line
Count
Source
45
1.90M
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_6pggate12PgTxnManager16SavePriority_TagEEntEv
Line
Count
Source
45
96.3k
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_6pggate10Commit_TagEEntEv
Line
Count
Source
45
65
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_16OnlyChildren_TagEEntEv
Line
Count
Source
45
1.34k
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_8Stop_TagEEntEv
Line
Count
Source
45
96.3k
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
_ZNK2yb17StronglyTypedBoolINS_3rpc21SkipEmptyMessages_TagEEntEv
Line
Count
Source
45
44.1M
  StronglyTypedBool<Tag> operator!() const { return StronglyTypedBool<Tag>(!value_); }
46
  bool get() const { return value_; }
47
48
 private:
49
  bool value_;
50
};
51
52
template <class Tag>
53
const StronglyTypedBool<Tag> StronglyTypedBool<Tag>::kTrue(true);
54
55
template <class Tag>
56
const StronglyTypedBool<Tag> StronglyTypedBool<Tag>::kFalse(false);
57
58
template <class Tag>
59
const std::initializer_list<StronglyTypedBool<Tag>> StronglyTypedBool<Tag>::kValues {
60
  StronglyTypedBool<Tag>::kFalse,
61
  StronglyTypedBool<Tag>::kTrue
62
};
63
64
}  // namespace yb
65
66
#endif // YB_UTIL_STRONGLY_TYPED_BOOL_H