2#include <NDEVR/Model.h>
29 static constexpr const char*
ValidRegex() {
return "*."; }
30 static constexpr const char*
TypeName() {
return "street_name"; }
56 static constexpr const char*
ValidRegex() {
return "sad"; }
57 static constexpr const char*
TypeName() {
return "surface_type"; }
83 static constexpr const char*
ValidRegex() {
return "sad"; }
84 static constexpr const char*
TypeName() {
return "surface_condition"; }
110 static constexpr const char*
TypeName() {
return "speed_limit"; }
145 static constexpr const char*
TypeName() {
return "street_info"; }
t_type getProperty(DesignProperty property) const
Definition DesignObject.h:256
void setProperty(DesignProperty property, const t_type &value)
Definition DesignObject.h:177
@ e_uncompressed_data
Definition DesignObject.h:127
A core class that represents a node on model heirarchy. This node may contain a Geometry or one or mo...
Definition Model.h:58
void createChildren(uint04 child_size)
Model getChild(uint04 child) const
void setModelProperty(ModelProperty property, const t_type &value)
Definition Model.h:141
bool isOfType(const String &type) const
@ e_type
Definition Model.h:104
Used to describe the speed limit of a road and used with StreetInfo object.
Definition StreetInfo.h:91
String get() const
Definition StreetInfo.h:106
void set(const String &speed_limit)
Definition StreetInfo.h:102
SpeedLimit(const Model &model)
Definition StreetInfo.h:93
static constexpr const char * TypeName()
Definition StreetInfo.h:110
Stores all information relating to a road or street.
Definition StreetInfo.h:116
StreetName streetName()
Definition StreetInfo.h:128
StreetInfo(const Model &model)
Definition StreetInfo.h:118
SpeedLimit speedLimit()
Definition StreetInfo.h:140
SurfaceType surfaceType()
Definition StreetInfo.h:132
SurfaceCondition surfaceCondition()
Definition StreetInfo.h:136
static constexpr const char * TypeName()
Definition StreetInfo.h:145
A Model which contains information about the name of a street, road, highway, etc.
Definition StreetInfo.h:9
void set(const String &type)
Definition StreetInfo.h:21
StreetName(const Model &model)
Definition StreetInfo.h:11
String get() const
Definition StreetInfo.h:25
static constexpr const char * ValidRegex()
Definition StreetInfo.h:29
static constexpr const char * TypeName()
Definition StreetInfo.h:30
The core String class for the NDEVR API.
Definition String.h:69
Used to describe the condition of a surface for a StreetInfo object.
Definition StreetInfo.h:63
void set(const String &condition)
Definition StreetInfo.h:75
SurfaceCondition(const Model &model)
Definition StreetInfo.h:65
String get() const
Definition StreetInfo.h:79
static constexpr const char * ValidRegex()
Definition StreetInfo.h:83
static constexpr const char * TypeName()
Definition StreetInfo.h:84
Used to describe the type of surface for a StreetInfo object.
Definition StreetInfo.h:36
void set(const String &type)
Definition StreetInfo.h:48
String get() const
Definition StreetInfo.h:52
SurfaceType(const Model &model)
Definition StreetInfo.h:38
static constexpr const char * ValidRegex()
Definition StreetInfo.h:56
static constexpr const char * TypeName()
Definition StreetInfo.h:57