CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
icomparer_ng.h
1
2#pragma once
3
4#include <detail.h>
5#include <system/object.h>
6#include <defines.h>
7
8namespace System {
9namespace Collections {
10
16class ASPOSECPP_SHARED_CLASS IComparer : virtual public Object
17{
19 RTTI_INFO_TEMPLATE_CLASS(System::Collections::IComparer, System::BaseTypesInfo<System::Object>);
20public:
21
26 virtual int Compare(const SharedPtr<Object>& x, const SharedPtr<Object>& y) const = 0;
27};
28
29}}
Interface that compares two objects in greater-equal-less sense. Objects of this class should only be...
Definition: icomparer_ng.h:17
virtual int Compare(const SharedPtr< Object > &x, const SharedPtr< Object > &y) const =0
Comparison function.
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:51
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Definition: db_command.h:9