LuciadCPillar C# 2023.1.04
|
Builder for the Creator class. More...
Public Member Functions | |
Builder (Luciad.Create.Creator.Builder other) | |
Luciad.Create.Creator | Build () |
Returns a new creator, based on the properties set on this builder. More... | |
void | Dispose () |
Luciad.Create.Creator.Builder | FeatureCreator (Luciad.Create.Features.IFeatureCreator featureCreator) |
Sets the creator that will create a feature instance. More... | |
Luciad.Create.Creator.Builder | Layer (Luciad.Layers.Layer layer) |
Sets the layer to which new features will be added. More... | |
Luciad.Create.Creator.Builder | Map (Luciad.Maps.Map map) |
Sets the map on which features are created. More... | |
Builder for the Creator class.
2020.1
|
inline |
|
inline |
Returns a new creator, based on the properties set on this builder.
a new creator.
luciad::LogicException
if not all mandatory parameters are set
|
inline |
|
inline |
Sets the creator that will create a feature instance.
featureCreator
the creator that will create a feature instance
this builder
NullArgumentException
when the feature creator is nullptr.
|
inline |
Sets the layer to which new features will be added.
Calling this method is mandatory. If it is not set, Creator::Builder::build will throw an exception. This method will thrown an exception when it contains a model without IFeatureModelUpdater.
layer
the layer to which new features need to be added.
this builder
NullArgumentException
when the layer is nullptr.
InvalidArgumentException
when the layer is not a FeatureLayer.
|
inline |
Sets the map on which features are created.
This parameter is mandatory. If it is not set, Creator::Builder::build will throw an exception.
map
the Map on which to add features
this builder
NullArgumentException
when the map is nullptr.