CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
icomparable.h
1
3#ifndef _IComparable_h_
4#define _IComparable_h_
5
6#include "system/object.h"
7
8namespace System
9{
15 template<typename T = SharedPtr<System::Object>>
16 class ASPOSECPP_SHARED_CLASS IComparable : virtual public Object
17 {
18 RTTI_INFO_TEMPLATE_CLASS(System::IComparable<T>, System::BaseTypesInfo<System::Object>);
19 public:
23 virtual int CompareTo(T other) = 0;
24 };
25}
26
27#endif
Defines a method that compares two objects. Objects of this class should only be allocated using Syst...
Definition: icomparable.h:17
virtual int CompareTo(T other)=0
Compares the current object with the specified object.
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:51
Definition: db_command.h:9