IComparableConcept 인터페이스(dbgmodel.h)
이 개체를 임의 형식의 다른 개체와 비교합니다. 비교를 수행할 수 없는 경우 E_NOT_SET 반환되어야 합니다.
상속
IComparableConcept는 IUnknown에서 상속됩니다.
방법
IComparableConcept 인터페이스에는 이러한 메서드가 있습니다.
IComparableConcept::AddRef IComparableConcept::AddRef 메서드는 개체의 인터페이스에 대한 참조 수를 증분합니다. |
IComparableConcept::CompareObjects IComparableConcept::CompareObjects는 이 개체를 임의의 형식의 다른 개체와 비교합니다. 비교를 수행할 수 없는 경우 E_NOT_SET 반환됩니다. |
IComparableConcept::QueryInterface IComparableConcept::QueryInterface 메서드는 개체에서 지원되는 인터페이스에 대한 포인터를 검색합니다. |
IComparableConcept::Release IComparableConcept::Release 메서드는 개체의 인터페이스에 대한 참조 수를 줄입니다. |
발언
비교 결과에 전달된 반환 값은 다음과 같은 의미가 있습니다.
< 0 : contextObject < otherObject
0 : contextObject == otherObject
> 0 : contextObject > otherObject
요구 사항
요구 | 값 |
---|---|
헤더 | dbgmodel.h |