Android-cuttlefish cvd tool
Public Member Functions | Private Attributes | List of all members
cuttlefish::anonymous_namespace{disjoint_range_set.cc}::Range Class Reference

Public Member Functions

 Range (uint64_t start, uint64_t end)
 
bool Contains (const Range &other) const
 
bool CanMerge (const Range &other) const
 
Range Merge (const Range &other) const
 
bool operator< (const Range &other) const
 
bool operator== (const Range &other) const
 
std::pair< uint64_t, uint64_t > AsPair () const
 
uint64_t End () const
 

Private Attributes

uint64_t start_
 
uint64_t end_
 

Constructor & Destructor Documentation

◆ Range()

cuttlefish::anonymous_namespace{disjoint_range_set.cc}::Range::Range ( uint64_t  start,
uint64_t  end 
)
inline

Member Function Documentation

◆ AsPair()

std::pair< uint64_t, uint64_t > cuttlefish::anonymous_namespace{disjoint_range_set.cc}::Range::AsPair ( ) const
inline

◆ CanMerge()

bool cuttlefish::anonymous_namespace{disjoint_range_set.cc}::Range::CanMerge ( const Range other) const
inline

◆ Contains()

bool cuttlefish::anonymous_namespace{disjoint_range_set.cc}::Range::Contains ( const Range other) const
inline

◆ End()

uint64_t cuttlefish::anonymous_namespace{disjoint_range_set.cc}::Range::End ( ) const
inline

◆ Merge()

Range cuttlefish::anonymous_namespace{disjoint_range_set.cc}::Range::Merge ( const Range other) const
inline

◆ operator<()

bool cuttlefish::anonymous_namespace{disjoint_range_set.cc}::Range::operator< ( const Range other) const
inline

◆ operator==()

bool cuttlefish::anonymous_namespace{disjoint_range_set.cc}::Range::operator== ( const Range other) const
inline

Member Data Documentation

◆ end_

uint64_t cuttlefish::anonymous_namespace{disjoint_range_set.cc}::Range::end_
private

◆ start_

uint64_t cuttlefish::anonymous_namespace{disjoint_range_set.cc}::Range::start_
private

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