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 {
14 template<typename T = SharedPtr<System::Object> >
15 class ASPOSECPP_SHARED_CLASS IComparable : virtual public Object
16 {
17 RTTI_INFO_TEMPLATE_CLASS(System::IComparable<T>, System::BaseTypesInfo<System::Object>);
18 public:
22 virtual int CompareTo(T other) = 0;
23 };
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:16
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:62
Definition: db_command.h:9