LuciadCPillar 2024.1.04
luciad::DataPropertyPath Class Referencefinal

Describes the path to a DataProperty in a DataType. More...

#include <luciad/datamodels/DataPropertyPath.h>

Classes

class  Builder
 Builder that allows DataPropertyPath instances to be created. More...
 

Public Member Functions

Builder asBuilder () const
 Returns a builder with the current data property path. More...
 
size_t getHash () const
 Returns the hash code. More...
 
DataType getOriginType () const
 Returns the type of data object that this path accesses. More...
 
DataType getValueType () const
 Returns the value type of the property that this path points to. More...
 
bool operator!= (const DataPropertyPath &other) const
 
bool operator== (const DataPropertyPath &other) const
 

Static Public Member Functions

static Builder newBuilder ()
 Creates a new builder. More...
 

Detailed Description

Describes the path to a DataProperty in a DataType.

This 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.

Member Function Documentation

◆ asBuilder()

Builder luciad::DataPropertyPath::asBuilder ( ) const

Returns a builder with the current data property path.

Returns
a builder with the current data property path.

◆ getHash()

size_t luciad::DataPropertyPath::getHash ( ) const

Returns the hash code.

Returns
the hash code.

◆ getOriginType()

DataType luciad::DataPropertyPath::getOriginType ( ) const

Returns the type of data object that this path accesses.

Returns
the type of data object that this path accesses.

◆ getValueType()

DataType luciad::DataPropertyPath::getValueType ( ) const

Returns the value type of the property that this path points to.

Returns
the value type of the property that this path points to.

◆ newBuilder()

static Builder luciad::DataPropertyPath::newBuilder ( )
static

Creates a new builder.

Returns
a new builder.

◆ operator!=()

bool luciad::DataPropertyPath::operator!= ( const DataPropertyPath other) const

◆ operator==()

bool luciad::DataPropertyPath::operator== ( const DataPropertyPath other) const