LuciadCPillar C# 2023.1.04
|
A representation of the type of a data object. More...
Classes | |
class | Builder |
Builder that allows DataType instances to be created. More... | |
Public Member Functions | |
void | Dispose () |
override bool | Equals (object other) |
Luciad.Datamodels.DataProperty | FindDataProperty (string name) |
Searches for a data property by name. More... | |
override int | GetHashCode () |
bool | HasDataProperty (Luciad.Datamodels.DataProperty property) |
Checks if the given property is declared in this data type. More... | |
override string | ToString () |
Static Public Member Functions | |
static Luciad.Datamodels.DataType.Builder | NewBuilder () |
Creates a new DataType builder. More... | |
Properties | |
System.Collections.Generic.IList< Luciad.Datamodels.DataAnnotation > | Annotations [get] |
static Luciad.Datamodels.DataType | BooleanType [get] |
System.Collections.Generic.IList< Luciad.Datamodels.DataProperty > | DataProperties [get] |
static Luciad.Datamodels.DataType | DoubleType [get] |
static Luciad.Datamodels.DataType | FloatType [get] |
static Luciad.Datamodels.DataType | GeometryType [get] |
static Luciad.Datamodels.DataType | IntType [get] |
bool | IsPrimitive [get] |
static Luciad.Datamodels.DataType | LongType [get] |
string | Name [get] |
static Luciad.Datamodels.DataType | StringType [get] |
A representation of the type of a data object.
A type describes the structure of a data object as a list of properties. Each of these properties is itself of a certain type. A type is either a primitive type or a data object type. Primitive types are types which have no internal structure (no properties) and typically represent simple object such as strings, numbers etc. All primitive types are accessible from this class (see e.g. getIntType(), getStringType() ...). Application-specific metadata can be attached to a type in the form of a DataAnnotation. New types can be defined using a DataType::Builder (see newBuilder()). Instances of this class are thread safe. Once an instance has been created, there is no public API to modify it. DataProperty
|
inline |
|
inline |
other
another data type.
whether this type and other have the same name, properties and annotations.
|
inline |
Searches for a data property by name.
name
the name of a property
the data property with the given name, if available
hasDataProperty
|
inline |
|
inline |
Checks if the given property is declared in this data type.
property
Data property.
true if the data property is declared; false otherwise.
findDataProperty
|
inlinestatic |
Creates a new DataType builder.
a new DataType builder.
|
inline |
|
get |
|
staticget |
|
get |
|
staticget |
|
staticget |
|
staticget |
|
staticget |
|
get |
|
staticget |
|
get |
|
staticget |