DotNetDupe
4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Toggle main menu visibility
Loading...
Searching...
No Matches
Comparable.h
Go to the documentation of this file.
1
5
6
#pragma once
7
#include "
System/Object.h
"
8
9
namespace
DotNetDupe
{
10
namespace
System
{
15
class
IComparable
{
16
public
:
18
virtual
~IComparable
() =
default
;
19
23
virtual
int
CompareTo
(
const
Object
& obj) = 0;
24
};
25
}
26
}
Object.h
Base object class for DotNetDupe mirroring .NET System.Object.
DotNetDupe::System::IComparable
Defines a generalized type-specific comparison method that a value type or class implements to order ...
Definition
Comparable.h:15
DotNetDupe::System::IComparable::CompareTo
virtual int CompareTo(const Object &obj)=0
Compares the current instance with another object and returns an integer that indicates whether the c...
DotNetDupe::System::IComparable::~IComparable
virtual ~IComparable()=default
Virtual destructor for polymorphic cleanup.
DotNetDupe::System::Object
Supports all classes in the DotNetDupe class hierarchy.
Definition
Object.h:18
DotNetDupe::System
Definition
Action.h:11
DotNetDupe
Definition
IServiceCollection.h:7
Include
System
Comparable.h
Generated by
1.18.0