LuciadCPillar C# 2023.1.02
Luciad.Datamodels.DataType Class Reference

A representation of the type of a data object. More...

Inheritance diagram for Luciad.Datamodels.DataType:

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.DataAnnotationAnnotations [get]
 
static Luciad.Datamodels.DataType BooleanType [get]
 
System.Collections.Generic.IList< Luciad.Datamodels.DataPropertyDataProperties [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]
 

Detailed Description

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

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

Member Function Documentation

◆ Dispose()

void Luciad.Datamodels.DataType.Dispose ( )
inline

◆ Equals()

bool Luciad.Datamodels.DataType.Equals ( object  other)
inline

other

another data type.

whether this type and other have the same name, properties and annotations.

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

◆ FindDataProperty()

Luciad.Datamodels.DataProperty Luciad.Datamodels.DataType.FindDataProperty ( string  name)
inline

Searches for a data property by name.

name

the name of a property

the data property with the given name, if available

hasDataProperty

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

◆ GetHashCode()

override int Luciad.Datamodels.DataType.GetHashCode ( )
inline

◆ HasDataProperty()

bool Luciad.Datamodels.DataType.HasDataProperty ( Luciad.Datamodels.DataProperty  property)
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

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

◆ NewBuilder()

Luciad.Datamodels.DataType.Builder Luciad.Datamodels.DataType.NewBuilder ( )
inlinestatic

Creates a new DataType builder.

a new DataType builder.

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

◆ ToString()

override string Luciad.Datamodels.DataType.ToString ( )
inline

Property Documentation

◆ Annotations

System.Collections.Generic.IList<Luciad.Datamodels.DataAnnotation> Luciad.Datamodels.DataType.Annotations
get

◆ BooleanType

Luciad.Datamodels.DataType Luciad.Datamodels.DataType.BooleanType
staticget

◆ DataProperties

System.Collections.Generic.IList<Luciad.Datamodels.DataProperty> Luciad.Datamodels.DataType.DataProperties
get

◆ DoubleType

Luciad.Datamodels.DataType Luciad.Datamodels.DataType.DoubleType
staticget

◆ FloatType

Luciad.Datamodels.DataType Luciad.Datamodels.DataType.FloatType
staticget

◆ GeometryType

Luciad.Datamodels.DataType Luciad.Datamodels.DataType.GeometryType
staticget

◆ IntType

Luciad.Datamodels.DataType Luciad.Datamodels.DataType.IntType
staticget

◆ IsPrimitive

bool Luciad.Datamodels.DataType.IsPrimitive
get

◆ LongType

Luciad.Datamodels.DataType Luciad.Datamodels.DataType.LongType
staticget

◆ Name

string Luciad.Datamodels.DataType.Name
get

◆ StringType

Luciad.Datamodels.DataType Luciad.Datamodels.DataType.StringType
staticget