Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | Friends
absl::test_internal::BaseCountedInstance Class Reference

#include <test_instance_tracker.h>

Inheritance diagram for absl::test_internal::BaseCountedInstance:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 BaseCountedInstance (int x)
 BaseCountedInstance (const BaseCountedInstance &x)
 BaseCountedInstance (BaseCountedInstance &&x)
absl::weak_ordering compare (const BaseCountedInstance &x) const
bool operator!= (const BaseCountedInstance &x) const
bool operator< (const BaseCountedInstance &x) const
bool operator<= (const BaseCountedInstance &x) const
BaseCountedInstanceoperator= (const BaseCountedInstance &x)
BaseCountedInstanceoperator= (BaseCountedInstance &&x)
bool operator== (const BaseCountedInstance &x) const
bool operator> (const BaseCountedInstance &x) const
bool operator>= (const BaseCountedInstance &x) const
int value () const
 ~BaseCountedInstance ()

Static Public Member Functions

static void SwapImpl (BaseCountedInstance &lhs, BaseCountedInstance &rhs)

Private Attributes

bool is_live_ = true
int value_

Static Private Attributes

static int num_comparisons_ = 0
static int num_copies_ = 0
static int num_instances_ = 0
static int num_live_instances_ = 0
static int num_moves_ = 0
static int num_swaps_ = 0

Friends

class InstanceTracker
std::ostream & operator<< (std::ostream &o, const BaseCountedInstance &v)

Detailed Description

Definition at line 31 of file test_instance_tracker.h.


Constructor & Destructor Documentation

Definition at line 33 of file test_instance_tracker.h.

Definition at line 37 of file test_instance_tracker.h.

Definition at line 43 of file test_instance_tracker.h.

Definition at line 49 of file test_instance_tracker.h.


Member Function Documentation

Definition at line 101 of file test_instance_tracker.h.

bool absl::test_internal::BaseCountedInstance::operator!= ( const BaseCountedInstance x) const [inline]

Definition at line 76 of file test_instance_tracker.h.

bool absl::test_internal::BaseCountedInstance::operator< ( const BaseCountedInstance x) const [inline]

Definition at line 81 of file test_instance_tracker.h.

bool absl::test_internal::BaseCountedInstance::operator<= ( const BaseCountedInstance x) const [inline]

Definition at line 91 of file test_instance_tracker.h.

BaseCountedInstance& absl::test_internal::BaseCountedInstance::operator= ( const BaseCountedInstance x) [inline]

Definition at line 54 of file test_instance_tracker.h.

BaseCountedInstance& absl::test_internal::BaseCountedInstance::operator= ( BaseCountedInstance &&  x) [inline]

Definition at line 62 of file test_instance_tracker.h.

bool absl::test_internal::BaseCountedInstance::operator== ( const BaseCountedInstance x) const [inline]

Definition at line 71 of file test_instance_tracker.h.

bool absl::test_internal::BaseCountedInstance::operator> ( const BaseCountedInstance x) const [inline]

Definition at line 86 of file test_instance_tracker.h.

bool absl::test_internal::BaseCountedInstance::operator>= ( const BaseCountedInstance x) const [inline]

Definition at line 96 of file test_instance_tracker.h.

Definition at line 120 of file test_instance_tracker.h.

Definition at line 109 of file test_instance_tracker.h.


Friends And Related Function Documentation

friend class InstanceTracker [friend]

Definition at line 130 of file test_instance_tracker.h.

std::ostream& operator<< ( std::ostream &  o,
const BaseCountedInstance v 
) [friend]

Definition at line 114 of file test_instance_tracker.h.


Member Data Documentation

Definition at line 135 of file test_instance_tracker.h.

Definition at line 153 of file test_instance_tracker.h.

Definition at line 147 of file test_instance_tracker.h.

Definition at line 138 of file test_instance_tracker.h.

Definition at line 141 of file test_instance_tracker.h.

Definition at line 144 of file test_instance_tracker.h.

Definition at line 150 of file test_instance_tracker.h.

Definition at line 132 of file test_instance_tracker.h.


The documentation for this class was generated from the following files:


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:17