|
LuciadCPillar C# 2026.1.02
|
Describes the path to a DataProperty in a DataType.
More...
Classes | |
| class | Builder |
Builder that allows DataPropertyPath instances to be created. More... | |
Public Member Functions | |
| Luciad.Datamodels.DataPropertyPath.Builder | AsBuilder () |
| Returns a builder with the current data property path. | |
| void | Dispose () |
| override bool | Equals (object other) |
| override int | GetHashCode () |
| Returns the hash code. | |
| override string | ToString () |
Static Public Member Functions | |
| static Luciad.Datamodels.DataPropertyPath.Builder | NewBuilder () |
| Creates a new builder. | |
Properties | |
| Luciad.Datamodels.DataType | OriginType [get] |
| The type of data object that this path accesses. | |
| Luciad.Datamodels.DataProperty | TargetProperty [get] |
| The property that this path points to (the property at the end of the path). | |
| Luciad.Datamodels.DataCollectionKind | ValueCollectionKind [get] |
| The collection kind of the value that this path points to. | |
| Luciad.Datamodels.DataType | ValueType [get] |
| The value type of the property that this path points to. | |
Describes the path to a DataProperty in a DataType.
It can also describe paths to nested properties. The path is related to a specific DataType (its OriginType) and is used to address values in data objects of that type.
A path may also address values in list-typed properties (see DataCollectionKind):
Builder.Index step, it addresses a single list element. ValueCollectionKind reports which shape the target property has.
Restrictions:
Builder.Index can be called at most once on a builder). Builder.Index. It cannot descend into the list's element type. Builder.Index is terminal: no further property or index step may be added after it. Multi-level access into composite list elements is done by retrieving the element as a separate object and building a new path on that.
|
inline |
Returns a builder with the current data property path.
|
inline |
|
inline |
|
inline |
Returns the hash code.
|
inlinestatic |
Creates a new builder.
|
inline |
|
get |
The type of data object that this path accesses.
Returns the type of data object that this path accesses.
|
get |
The property that this path points to (the property at the end of the path).
Returns the property that this path points to (the property at the end of the path). For a path with a terminal index step, this is the list property that the index applies to. For an empty path (origin type only, no property steps), this has no value.
|
get |
The collection kind of the value that this path points to.
Returns the collection kind of the value that this path points to. The result reflects the kind of value:
Defaults to Scalar for empty paths (originType only).
|
get |
The value type of the property that this path points to.
Returns the value type of the property that this path points to. For a list-typed leaf (list or indexed element), this is the element type.