LuciadCPillar 2024.0.08
|
Represents a property of a DataType. More...
#include <luciad/datamodels/DataProperty.h>
Classes | |
class | Builder |
Builder that allows DataProperty instances to be created. More... | |
Public Member Functions | |
size_t | getHash () const |
Returns the hash code. More... | |
const std::string & | getName () const |
Returns the name of the data property. More... | |
const DataType & | getValueType () const |
Returns the type of the value of this data property. More... | |
bool | operator!= (const DataProperty &other) const |
bool | operator== (const DataProperty &other) const |
Static Public Member Functions | |
static Builder | newBuilder () |
Creates a new DataProperty builder. More... | |
Represents a property of a DataType.
A property has a name and a value type. The value type indicates whether the value is a simple primitive or another data object.
New properties can be defined using a DataProperty::Builder (see newBuilder()).
Instances of this class are thread safe. Once an instance has been created, there is no public API to modify it.
size_t luciad::DataProperty::getHash | ( | ) | const |
Returns the hash code.
const std::string & luciad::DataProperty::getName | ( | ) | const |
Returns the name of the data property.
const DataType & luciad::DataProperty::getValueType | ( | ) | const |
Returns the type of the value of this data property.
|
static |
Creates a new DataProperty builder.
bool luciad::DataProperty::operator!= | ( | const DataProperty & | other | ) | const |
bool luciad::DataProperty::operator== | ( | const DataProperty & | other | ) | const |
other | another property |