LuciadCPillar C# 2023.1.04
Luciad.Models.Features.FeatureChange Class Reference

Represents a change for a feature. More...

Inheritance diagram for Luciad.Models.Features.FeatureChange:

Public Member Functions

 FeatureChange (Feature feature, FeatureChangeType featureChangeType)
 Constructs the feature change based on a feature instance and the type of change for the feature. More...
 
 FeatureChange (ulong featureId, FeatureChangeType featureChangeType)
 Constructs the feature change based on the id of the feature and the type of change for the feature. More...
 
bool Equals (FeatureChange other)
 
override bool Equals (object other)
 
override int GetHashCode ()
 

Static Public Member Functions

static bool operator!= (FeatureChange lhs, FeatureChange rhs)
 
static bool operator== (FeatureChange lhs, FeatureChange rhs)
 

Properties

Feature Feature [get]
 
FeatureChangeType FeatureChangeType [get]
 
ulong FeatureId [get]
 

Detailed Description

Represents a change for a feature.

It indicates for a given feature, identified by its luciad::FeatureId, whether it has been added, updated, etc. It can optionally contain the actual feature instance rather than only the id of the feature. The benefit of the latter is that it may avoid performing queries on the luciad::IFeatureModel.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::FeatureChange.

Constructor & Destructor Documentation

◆ FeatureChange() [1/2]

Luciad.Models.Features.FeatureChange.FeatureChange ( ulong  featureId,
FeatureChangeType  featureChangeType 
)
inline

Constructs the feature change based on the id of the feature and the type of change for the feature.

featureId

the id of the feature.

featureChangeType

the type of change.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::FeatureChange::FeatureChange.

◆ FeatureChange() [2/2]

Luciad.Models.Features.FeatureChange.FeatureChange ( Feature  feature,
FeatureChangeType  featureChangeType 
)
inline

Constructs the feature change based on a feature instance and the type of change for the feature.

feature

the feature.

featureChangeType

the type of change.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::FeatureChange::FeatureChange.

Member Function Documentation

◆ Equals() [1/2]

bool Luciad.Models.Features.FeatureChange.Equals ( FeatureChange  other)
inline

◆ Equals() [2/2]

override bool Luciad.Models.Features.FeatureChange.Equals ( object  other)
inline

◆ GetHashCode()

override int Luciad.Models.Features.FeatureChange.GetHashCode ( )
inline

◆ operator!=()

static bool Luciad.Models.Features.FeatureChange.operator!= ( FeatureChange  lhs,
FeatureChange  rhs 
)
inlinestatic

◆ operator==()

static bool Luciad.Models.Features.FeatureChange.operator== ( FeatureChange  lhs,
FeatureChange  rhs 
)
inlinestatic

Property Documentation

◆ Feature

Feature Luciad.Models.Features.FeatureChange.Feature
get

◆ FeatureChangeType

FeatureChangeType Luciad.Models.Features.FeatureChange.FeatureChangeType
get

◆ FeatureId

ulong Luciad.Models.Features.FeatureChange.FeatureId
get