diff --git a/DotNet/CesiumLanguageWriter/Generated/AlignedAxisCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/AlignedAxisCesiumWriter.cs index d076ff08..28545aba 100644 --- a/DotNet/CesiumLanguageWriter/Generated/AlignedAxisCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/AlignedAxisCesiumWriter.cs @@ -35,6 +35,11 @@ public class AlignedAxisCesiumWriter : CesiumInterpolatablePropertyWriter<Aligne /// </summary> public const string VelocityReferencePropertyName = "velocityReference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<UnitCartesian>> m_asUnitCartesian; private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<UnitSpherical>> m_asUnitSpherical; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -244,6 +249,18 @@ public void WriteVelocityReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>UnitCartesian</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/ArcTypeCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/ArcTypeCesiumWriter.cs index acde14ed..2f9869fb 100644 --- a/DotNet/CesiumLanguageWriter/Generated/ArcTypeCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/ArcTypeCesiumWriter.cs @@ -24,6 +24,11 @@ public class ArcTypeCesiumWriter : CesiumPropertyWriter<ArcTypeCesiumWriter> /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumValuePropertyWriter<CesiumArcType>> m_asArcType; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -123,6 +128,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumValuePropertyWriter{T}" /> to write a value in <c>ArcType</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/BackgroundPaddingCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/BackgroundPaddingCesiumWriter.cs index 0434f162..0ed447c0 100644 --- a/DotNet/CesiumLanguageWriter/Generated/BackgroundPaddingCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/BackgroundPaddingCesiumWriter.cs @@ -25,6 +25,11 @@ public class BackgroundPaddingCesiumWriter : CesiumInterpolatablePropertyWriter< /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Rectangular>> m_asCartesian2; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -152,6 +157,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>Cartesian2</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/BillboardCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/BillboardCesiumWriter.cs index 9980d03c..d90cdeda 100644 --- a/DotNet/CesiumLanguageWriter/Generated/BillboardCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/BillboardCesiumWriter.cs @@ -984,7 +984,7 @@ public void WriteHeightReferencePropertyReference(string identifier, string[] pr } /// <summary> - /// Gets the writer for the <c>color</c> property. The returned instance must be opened by calling the <see cref="CesiumElementWriter.Open"/> method before it can be used for writing. The <c>color</c> property defines the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + /// Gets the writer for the <c>color</c> property. The returned instance must be opened by calling the <see cref="CesiumElementWriter.Open"/> method before it can be used for writing. The <c>color</c> property defines the color of the billboard. This color value is multiplied with the values of the billboard's <c>image</c> to produce the final color. If not specified, the default value is white. /// </summary> [NotNull] public ColorCesiumWriter ColorWriter @@ -993,7 +993,7 @@ public ColorCesiumWriter ColorWriter } /// <summary> - /// Opens and returns the writer for the <c>color</c> property. The <c>color</c> property defines the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + /// Opens and returns the writer for the <c>color</c> property. The <c>color</c> property defines the color of the billboard. This color value is multiplied with the values of the billboard's <c>image</c> to produce the final color. If not specified, the default value is white. /// </summary> [NotNull] public ColorCesiumWriter OpenColorProperty() @@ -1003,7 +1003,7 @@ public ColorCesiumWriter OpenColorProperty() } /// <summary> - /// Writes a value for the <c>color</c> property as a <c>rgba</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + /// Writes a value for the <c>color</c> property as a <c>rgba</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's <c>image</c> to produce the final color. If not specified, the default value is white. /// </summary> /// <param name="color">The color.</param> public void WriteColorProperty(Color color) @@ -1015,7 +1015,7 @@ public void WriteColorProperty(Color color) } /// <summary> - /// Writes a value for the <c>color</c> property as a <c>rgba</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + /// Writes a value for the <c>color</c> property as a <c>rgba</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's <c>image</c> to produce the final color. If not specified, the default value is white. /// </summary> /// <param name="red">The red component in the range 0 to 255.</param> /// <param name="green">The green component in the range 0 to 255.</param> @@ -1030,7 +1030,7 @@ public void WriteColorProperty(int red, int green, int blue, int alpha) } /// <summary> - /// Writes a value for the <c>color</c> property as a <c>rgba</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + /// Writes a value for the <c>color</c> property as a <c>rgba</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's <c>image</c> to produce the final color. If not specified, the default value is white. /// </summary> /// <param name="dates">The dates at which the value is specified.</param> /// <param name="values">The values corresponding to each date.</param> @@ -1043,7 +1043,7 @@ public void WriteColorProperty(IList<JulianDate> dates, IList<Color> values) } /// <summary> - /// Writes a value for the <c>color</c> property as a <c>rgba</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + /// Writes a value for the <c>color</c> property as a <c>rgba</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's <c>image</c> to produce the final color. If not specified, the default value is white. /// </summary> /// <param name="dates">The dates at which the value is specified.</param> /// <param name="colors">The color corresponding to each date.</param> @@ -1058,7 +1058,7 @@ public void WriteColorProperty(IList<JulianDate> dates, IList<Color> colors, int } /// <summary> - /// Writes a value for the <c>color</c> property as a <c>rgbaf</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + /// Writes a value for the <c>color</c> property as a <c>rgbaf</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's <c>image</c> to produce the final color. If not specified, the default value is white. /// </summary> /// <param name="color">The color.</param> public void WriteColorPropertyRgbaf(Color color) @@ -1070,7 +1070,7 @@ public void WriteColorPropertyRgbaf(Color color) } /// <summary> - /// Writes a value for the <c>color</c> property as a <c>rgbaf</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + /// Writes a value for the <c>color</c> property as a <c>rgbaf</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's <c>image</c> to produce the final color. If not specified, the default value is white. /// </summary> /// <param name="red">The red component in the range 0 to 1.0.</param> /// <param name="green">The green component in the range 0 to 1.0.</param> @@ -1085,7 +1085,7 @@ public void WriteColorPropertyRgbaf(float red, float green, float blue, float al } /// <summary> - /// Writes a value for the <c>color</c> property as a <c>rgbaf</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + /// Writes a value for the <c>color</c> property as a <c>rgbaf</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's <c>image</c> to produce the final color. If not specified, the default value is white. /// </summary> /// <param name="dates">The dates at which the value is specified.</param> /// <param name="values">The values corresponding to each date.</param> @@ -1098,7 +1098,7 @@ public void WriteColorPropertyRgbaf(IList<JulianDate> dates, IList<Color> values } /// <summary> - /// Writes a value for the <c>color</c> property as a <c>rgbaf</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + /// Writes a value for the <c>color</c> property as a <c>rgbaf</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's <c>image</c> to produce the final color. If not specified, the default value is white. /// </summary> /// <param name="dates">The dates at which the value is specified.</param> /// <param name="colors">The color corresponding to each date.</param> @@ -1113,7 +1113,7 @@ public void WriteColorPropertyRgbaf(IList<JulianDate> dates, IList<Color> colors } /// <summary> - /// Writes a value for the <c>color</c> property as a <c>reference</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + /// Writes a value for the <c>color</c> property as a <c>reference</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's <c>image</c> to produce the final color. If not specified, the default value is white. /// </summary> /// <param name="value">The reference.</param> public void WriteColorPropertyReference(Reference value) @@ -1125,7 +1125,7 @@ public void WriteColorPropertyReference(Reference value) } /// <summary> - /// Writes a value for the <c>color</c> property as a <c>reference</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + /// Writes a value for the <c>color</c> property as a <c>reference</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's <c>image</c> to produce the final color. If not specified, the default value is white. /// </summary> /// <param name="value">The earliest date of the interval.</param> public void WriteColorPropertyReference(string value) @@ -1137,7 +1137,7 @@ public void WriteColorPropertyReference(string value) } /// <summary> - /// Writes a value for the <c>color</c> property as a <c>reference</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + /// Writes a value for the <c>color</c> property as a <c>reference</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's <c>image</c> to produce the final color. If not specified, the default value is white. /// </summary> /// <param name="identifier">The identifier of the object which contains the referenced property.</param> /// <param name="propertyName">The property on the referenced object.</param> @@ -1150,7 +1150,7 @@ public void WriteColorPropertyReference(string identifier, string propertyName) } /// <summary> - /// Writes a value for the <c>color</c> property as a <c>reference</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + /// Writes a value for the <c>color</c> property as a <c>reference</c> value. The <c>color</c> property specifies the color of the billboard. This color value is multiplied with the values of the billboard's <c>image</c> to produce the final color. If not specified, the default value is white. /// </summary> /// <param name="identifier">The identifier of the object which contains the referenced property.</param> /// <param name="propertyNames">The hierarchy of properties to be indexed on the referenced object.</param> diff --git a/DotNet/CesiumLanguageWriter/Generated/BooleanCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/BooleanCesiumWriter.cs index ba08fada..a444371e 100644 --- a/DotNet/CesiumLanguageWriter/Generated/BooleanCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/BooleanCesiumWriter.cs @@ -24,6 +24,11 @@ public class BooleanCesiumWriter : CesiumPropertyWriter<BooleanCesiumWriter> /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumValuePropertyWriter<bool>> m_asBoolean; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -123,6 +128,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumValuePropertyWriter{T}" /> to write a value in <c>Boolean</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/BoundingRectangleCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/BoundingRectangleCesiumWriter.cs index 64f0a785..711baa3b 100644 --- a/DotNet/CesiumLanguageWriter/Generated/BoundingRectangleCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/BoundingRectangleCesiumWriter.cs @@ -25,6 +25,11 @@ public class BoundingRectangleCesiumWriter : CesiumInterpolatablePropertyWriter< /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<BoundingRectangle>> m_asBoundingRectangle; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -142,6 +147,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>BoundingRectangle</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/BoxDimensionsCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/BoxDimensionsCesiumWriter.cs index eab99c6e..153a53ac 100644 --- a/DotNet/CesiumLanguageWriter/Generated/BoxDimensionsCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/BoxDimensionsCesiumWriter.cs @@ -25,6 +25,11 @@ public class BoxDimensionsCesiumWriter : CesiumInterpolatablePropertyWriter<BoxD /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Cartesian>> m_asCartesian; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -142,6 +147,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>Cartesian</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/ColorBlendModeCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/ColorBlendModeCesiumWriter.cs index 03f8c1d6..421b4f25 100644 --- a/DotNet/CesiumLanguageWriter/Generated/ColorBlendModeCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/ColorBlendModeCesiumWriter.cs @@ -24,6 +24,11 @@ public class ColorBlendModeCesiumWriter : CesiumPropertyWriter<ColorBlendModeCes /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumValuePropertyWriter<CesiumColorBlendMode>> m_asColorBlendMode; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -123,6 +128,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumValuePropertyWriter{T}" /> to write a value in <c>ColorBlendMode</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/ColorCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/ColorCesiumWriter.cs index 120f471e..f7b8609d 100644 --- a/DotNet/CesiumLanguageWriter/Generated/ColorCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/ColorCesiumWriter.cs @@ -31,6 +31,11 @@ public class ColorCesiumWriter : CesiumInterpolatablePropertyWriter<ColorCesiumW /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Color>> m_asRgba; private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Color>> m_asRgbaf; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -217,6 +222,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>Rgba</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/CornerTypeCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/CornerTypeCesiumWriter.cs index d576d99a..2d580b98 100644 --- a/DotNet/CesiumLanguageWriter/Generated/CornerTypeCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/CornerTypeCesiumWriter.cs @@ -24,6 +24,11 @@ public class CornerTypeCesiumWriter : CesiumPropertyWriter<CornerTypeCesiumWrite /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumValuePropertyWriter<CesiumCornerType>> m_asCornerType; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -123,6 +128,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumValuePropertyWriter{T}" /> to write a value in <c>CornerType</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/CustomPropertyCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/CustomPropertyCesiumWriter.cs index 5c72c5bc..9b0c1f41 100644 --- a/DotNet/CesiumLanguageWriter/Generated/CustomPropertyCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/CustomPropertyCesiumWriter.cs @@ -146,6 +146,11 @@ public class CustomPropertyCesiumWriter : CesiumInterpolatablePropertyWriter<Cus /// </summary> public const string VerticalOriginPropertyName = "verticalOrigin"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumValuePropertyWriter<bool>> m_asBoolean; private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<BoundingRectangle>> m_asBoundingRectangle; private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Cartesian>> m_asCartesian; @@ -1068,6 +1073,18 @@ public void WriteVerticalOrigin(CesiumVerticalOrigin value) Output.WriteValue(CesiumFormattingHelper.VerticalOriginToString(value)); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumValuePropertyWriter{T}" /> to write a value in <c>Boolean</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/DirectionCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/DirectionCesiumWriter.cs index 981c733a..973df782 100644 --- a/DotNet/CesiumLanguageWriter/Generated/DirectionCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/DirectionCesiumWriter.cs @@ -40,6 +40,11 @@ public class DirectionCesiumWriter : CesiumInterpolatablePropertyWriter<Directio /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Spherical>> m_asSpherical; private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<UnitSpherical>> m_asUnitSpherical; private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Cartesian>> m_asCartesian; @@ -274,6 +279,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>Spherical</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/DirectionListCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/DirectionListCesiumWriter.cs index 3dfaad70..ab0595f8 100644 --- a/DotNet/CesiumLanguageWriter/Generated/DirectionListCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/DirectionListCesiumWriter.cs @@ -35,6 +35,11 @@ public class DirectionListCesiumWriter : CesiumPropertyWriter<DirectionListCesiu /// </summary> public const string UnitCartesianPropertyName = "unitCartesian"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumValuePropertyWriter<IEnumerable<Spherical>>> m_asSpherical; private readonly Lazy<ICesiumValuePropertyWriter<IEnumerable<UnitSpherical>>> m_asUnitSpherical; private readonly Lazy<ICesiumValuePropertyWriter<IEnumerable<Cartesian>>> m_asCartesian; @@ -120,6 +125,18 @@ public void WriteUnitCartesian(IEnumerable<UnitCartesian> values) CesiumWritingHelper.WriteUnitCartesian3List(Output, values); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumValuePropertyWriter{T}" /> to write a value in <c>Spherical</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/DistanceDisplayConditionCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/DistanceDisplayConditionCesiumWriter.cs index f2b8d293..887090d1 100644 --- a/DotNet/CesiumLanguageWriter/Generated/DistanceDisplayConditionCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/DistanceDisplayConditionCesiumWriter.cs @@ -25,6 +25,11 @@ public class DistanceDisplayConditionCesiumWriter : CesiumInterpolatableProperty /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Bounds>> m_asDistanceDisplayCondition; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -152,6 +157,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>DistanceDisplayCondition</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/DoubleCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/DoubleCesiumWriter.cs index 50cddb4d..be4fbe18 100644 --- a/DotNet/CesiumLanguageWriter/Generated/DoubleCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/DoubleCesiumWriter.cs @@ -25,6 +25,11 @@ public class DoubleCesiumWriter : CesiumInterpolatablePropertyWriter<DoubleCesiu /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<double>> m_asNumber; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -148,6 +153,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>Number</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/DoubleListCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/DoubleListCesiumWriter.cs index ffffd6d0..a1a06d15 100644 --- a/DotNet/CesiumLanguageWriter/Generated/DoubleListCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/DoubleListCesiumWriter.cs @@ -25,6 +25,11 @@ public class DoubleListCesiumWriter : CesiumPropertyWriter<DoubleListCesiumWrite /// </summary> public const string ReferencesPropertyName = "references"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumValuePropertyWriter<IEnumerable<double>>> m_asArray; private readonly Lazy<ICesiumValuePropertyWriter<IEnumerable<Reference>>> m_asReferences; @@ -80,6 +85,18 @@ public void WriteReferences(IEnumerable<Reference> references) CesiumWritingHelper.WriteReferences(Output, references); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumValuePropertyWriter{T}" /> to write a value in <c>Array</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/EllipsoidRadiiCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/EllipsoidRadiiCesiumWriter.cs index d9d520a6..c680c35e 100644 --- a/DotNet/CesiumLanguageWriter/Generated/EllipsoidRadiiCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/EllipsoidRadiiCesiumWriter.cs @@ -25,6 +25,11 @@ public class EllipsoidRadiiCesiumWriter : CesiumInterpolatablePropertyWriter<Ell /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Cartesian>> m_asCartesian; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -142,6 +147,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>Cartesian</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/EyeOffsetCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/EyeOffsetCesiumWriter.cs index 9f18a93c..0cc413cb 100644 --- a/DotNet/CesiumLanguageWriter/Generated/EyeOffsetCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/EyeOffsetCesiumWriter.cs @@ -25,6 +25,11 @@ public class EyeOffsetCesiumWriter : CesiumInterpolatablePropertyWriter<EyeOffse /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Cartesian>> m_asCartesian; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -142,6 +147,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>Cartesian</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/FontCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/FontCesiumWriter.cs index 99de58ab..b0135414 100644 --- a/DotNet/CesiumLanguageWriter/Generated/FontCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/FontCesiumWriter.cs @@ -24,6 +24,11 @@ public class FontCesiumWriter : CesiumPropertyWriter<FontCesiumWriter> /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumValuePropertyWriter<string>> m_asFont; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -123,6 +128,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumValuePropertyWriter{T}" /> to write a value in <c>Font</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/HeightReferenceCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/HeightReferenceCesiumWriter.cs index 094d5493..48841590 100644 --- a/DotNet/CesiumLanguageWriter/Generated/HeightReferenceCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/HeightReferenceCesiumWriter.cs @@ -24,6 +24,11 @@ public class HeightReferenceCesiumWriter : CesiumPropertyWriter<HeightReferenceC /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumValuePropertyWriter<CesiumHeightReference>> m_asHeightReference; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -123,6 +128,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumValuePropertyWriter{T}" /> to write a value in <c>HeightReference</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/HorizontalOriginCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/HorizontalOriginCesiumWriter.cs index 752724c6..44eeabed 100644 --- a/DotNet/CesiumLanguageWriter/Generated/HorizontalOriginCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/HorizontalOriginCesiumWriter.cs @@ -24,6 +24,11 @@ public class HorizontalOriginCesiumWriter : CesiumPropertyWriter<HorizontalOrigi /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumValuePropertyWriter<CesiumHorizontalOrigin>> m_asHorizontalOrigin; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -123,6 +128,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumValuePropertyWriter{T}" /> to write a value in <c>HorizontalOrigin</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/IntegerCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/IntegerCesiumWriter.cs index ea35ab60..b8dd6502 100644 --- a/DotNet/CesiumLanguageWriter/Generated/IntegerCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/IntegerCesiumWriter.cs @@ -25,6 +25,11 @@ public class IntegerCesiumWriter : CesiumInterpolatablePropertyWriter<IntegerCes /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<int>> m_asNumber; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -148,6 +153,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>Number</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/LabelStyleCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/LabelStyleCesiumWriter.cs index 8cf59cc8..43281ee1 100644 --- a/DotNet/CesiumLanguageWriter/Generated/LabelStyleCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/LabelStyleCesiumWriter.cs @@ -24,6 +24,11 @@ public class LabelStyleCesiumWriter : CesiumPropertyWriter<LabelStyleCesiumWrite /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumValuePropertyWriter<CesiumLabelStyle>> m_asLabelStyle; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -123,6 +128,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumValuePropertyWriter{T}" /> to write a value in <c>LabelStyle</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/LineCountCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/LineCountCesiumWriter.cs index 7724ad70..5e44e2e5 100644 --- a/DotNet/CesiumLanguageWriter/Generated/LineCountCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/LineCountCesiumWriter.cs @@ -25,6 +25,11 @@ public class LineCountCesiumWriter : CesiumInterpolatablePropertyWriter<LineCoun /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Rectangular>> m_asCartesian2; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -152,6 +157,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>Cartesian2</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/LineOffsetCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/LineOffsetCesiumWriter.cs index a65d55dd..3ec35d6d 100644 --- a/DotNet/CesiumLanguageWriter/Generated/LineOffsetCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/LineOffsetCesiumWriter.cs @@ -25,6 +25,11 @@ public class LineOffsetCesiumWriter : CesiumInterpolatablePropertyWriter<LineOff /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Rectangular>> m_asCartesian2; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -152,6 +157,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>Cartesian2</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/LineThicknessCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/LineThicknessCesiumWriter.cs index 607db8a6..e7b967c4 100644 --- a/DotNet/CesiumLanguageWriter/Generated/LineThicknessCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/LineThicknessCesiumWriter.cs @@ -25,6 +25,11 @@ public class LineThicknessCesiumWriter : CesiumInterpolatablePropertyWriter<Line /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Rectangular>> m_asCartesian2; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -152,6 +157,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>Cartesian2</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/NearFarScalarCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/NearFarScalarCesiumWriter.cs index bf71e3fc..5fbfb372 100644 --- a/DotNet/CesiumLanguageWriter/Generated/NearFarScalarCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/NearFarScalarCesiumWriter.cs @@ -25,6 +25,11 @@ public class NearFarScalarCesiumWriter : CesiumInterpolatablePropertyWriter<Near /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<NearFarScalar>> m_asNearFarScalar; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -154,6 +159,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>NearFarScalar</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/OrientationCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/OrientationCesiumWriter.cs index 902e5f4a..a833fa3c 100644 --- a/DotNet/CesiumLanguageWriter/Generated/OrientationCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/OrientationCesiumWriter.cs @@ -30,6 +30,11 @@ public class OrientationCesiumWriter : CesiumInterpolatablePropertyWriter<Orient /// </summary> public const string VelocityReferencePropertyName = "velocityReference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<UnitQuaternion>> m_asUnitQuaternion; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asVelocityReference; @@ -200,6 +205,18 @@ public void WriteVelocityReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>UnitQuaternion</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/PixelOffsetCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/PixelOffsetCesiumWriter.cs index 8f57d3c3..9543596f 100644 --- a/DotNet/CesiumLanguageWriter/Generated/PixelOffsetCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/PixelOffsetCesiumWriter.cs @@ -25,6 +25,11 @@ public class PixelOffsetCesiumWriter : CesiumInterpolatablePropertyWriter<PixelO /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Rectangular>> m_asCartesian2; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -152,6 +157,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>Cartesian2</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/PositionCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/PositionCesiumWriter.cs index 621c858a..42248c68 100644 --- a/DotNet/CesiumLanguageWriter/Generated/PositionCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/PositionCesiumWriter.cs @@ -45,6 +45,11 @@ public class PositionCesiumWriter : CesiumInterpolatablePropertyWriter<PositionC /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Cartesian>> m_asCartesian; private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Cartographic>> m_asCartographicRadians; private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Cartographic>> m_asCartographicDegrees; @@ -291,6 +296,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>Cartesian</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/PositionListCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/PositionListCesiumWriter.cs index dd2ae026..e076aeaa 100644 --- a/DotNet/CesiumLanguageWriter/Generated/PositionListCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/PositionListCesiumWriter.cs @@ -40,6 +40,11 @@ public class PositionListCesiumWriter : CesiumPropertyWriter<PositionListCesiumW /// </summary> public const string ReferencesPropertyName = "references"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumValuePropertyWriter<IEnumerable<Cartesian>>> m_asCartesian; private readonly Lazy<ICesiumValuePropertyWriter<IEnumerable<Cartographic>>> m_asCartographicRadians; private readonly Lazy<ICesiumValuePropertyWriter<IEnumerable<Cartographic>>> m_asCartographicDegrees; @@ -137,6 +142,18 @@ public void WriteReferences(IEnumerable<Reference> references) CesiumWritingHelper.WriteReferences(Output, references); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumValuePropertyWriter{T}" /> to write a value in <c>Cartesian</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/RectangleCoordinatesCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/RectangleCoordinatesCesiumWriter.cs index 3a0dc30b..17cec56a 100644 --- a/DotNet/CesiumLanguageWriter/Generated/RectangleCoordinatesCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/RectangleCoordinatesCesiumWriter.cs @@ -30,6 +30,11 @@ public class RectangleCoordinatesCesiumWriter : CesiumInterpolatablePropertyWrit /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<CartographicExtent>> m_asWsen; private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<CartographicExtent>> m_asWsenDegrees; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -210,6 +215,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>Wsen</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/RepeatCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/RepeatCesiumWriter.cs index 79ac38eb..ef1f8434 100644 --- a/DotNet/CesiumLanguageWriter/Generated/RepeatCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/RepeatCesiumWriter.cs @@ -25,6 +25,11 @@ public class RepeatCesiumWriter : CesiumInterpolatablePropertyWriter<RepeatCesiu /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Rectangular>> m_asCartesian2; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -152,6 +157,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>Cartesian2</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/RotationCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/RotationCesiumWriter.cs index 03710ad8..2ecbf266 100644 --- a/DotNet/CesiumLanguageWriter/Generated/RotationCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/RotationCesiumWriter.cs @@ -25,6 +25,11 @@ public class RotationCesiumWriter : CesiumInterpolatablePropertyWriter<RotationC /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<UnitQuaternion>> m_asUnitQuaternion; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -142,6 +147,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>UnitQuaternion</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/ScaleCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/ScaleCesiumWriter.cs index 58e8b7ad..78e5c34e 100644 --- a/DotNet/CesiumLanguageWriter/Generated/ScaleCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/ScaleCesiumWriter.cs @@ -25,6 +25,11 @@ public class ScaleCesiumWriter : CesiumInterpolatablePropertyWriter<ScaleCesiumW /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Cartesian>> m_asCartesian; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -142,6 +147,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>Cartesian</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/SensorVolumePortionToDisplayCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/SensorVolumePortionToDisplayCesiumWriter.cs index 6627b240..4e5a4d32 100644 --- a/DotNet/CesiumLanguageWriter/Generated/SensorVolumePortionToDisplayCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/SensorVolumePortionToDisplayCesiumWriter.cs @@ -24,6 +24,11 @@ public class SensorVolumePortionToDisplayCesiumWriter : CesiumPropertyWriter<Sen /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumValuePropertyWriter<CesiumSensorVolumePortionToDisplay>> m_asPortionToDisplay; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -123,6 +128,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumValuePropertyWriter{T}" /> to write a value in <c>PortionToDisplay</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/ShadowModeCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/ShadowModeCesiumWriter.cs index d6482fbf..71a399d1 100644 --- a/DotNet/CesiumLanguageWriter/Generated/ShadowModeCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/ShadowModeCesiumWriter.cs @@ -24,6 +24,11 @@ public class ShadowModeCesiumWriter : CesiumPropertyWriter<ShadowModeCesiumWrite /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumValuePropertyWriter<CesiumShadowMode>> m_asShadowMode; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -123,6 +128,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumValuePropertyWriter{T}" /> to write a value in <c>ShadowMode</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/StringCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/StringCesiumWriter.cs index f54f3d4c..44c0e9e8 100644 --- a/DotNet/CesiumLanguageWriter/Generated/StringCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/StringCesiumWriter.cs @@ -24,6 +24,11 @@ public class StringCesiumWriter : CesiumPropertyWriter<StringCesiumWriter> /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumValuePropertyWriter<string>> m_asString; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -123,6 +128,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumValuePropertyWriter{T}" /> to write a value in <c>String</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/StripeOrientationCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/StripeOrientationCesiumWriter.cs index 6584a11d..3401eb5b 100644 --- a/DotNet/CesiumLanguageWriter/Generated/StripeOrientationCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/StripeOrientationCesiumWriter.cs @@ -24,6 +24,11 @@ public class StripeOrientationCesiumWriter : CesiumPropertyWriter<StripeOrientat /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumValuePropertyWriter<CesiumStripeOrientation>> m_asStripeOrientation; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -123,6 +128,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumValuePropertyWriter{T}" /> to write a value in <c>StripeOrientation</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/TranslationCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/TranslationCesiumWriter.cs index 6923d940..d5dcee53 100644 --- a/DotNet/CesiumLanguageWriter/Generated/TranslationCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/TranslationCesiumWriter.cs @@ -25,6 +25,11 @@ public class TranslationCesiumWriter : CesiumInterpolatablePropertyWriter<Transl /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Cartesian>> m_asCartesian; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -142,6 +147,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>Cartesian</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/UriCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/UriCesiumWriter.cs index c1604876..9a7b5657 100644 --- a/DotNet/CesiumLanguageWriter/Generated/UriCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/UriCesiumWriter.cs @@ -25,6 +25,11 @@ public class UriCesiumWriter : CesiumPropertyWriter<UriCesiumWriter> /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumValuePropertyWriter<CesiumResource>> m_asUri; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -201,6 +206,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumValuePropertyWriter{T}" /> to write a value in <c>Uri</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/VerticalOriginCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/VerticalOriginCesiumWriter.cs index 7111bd49..03a3a621 100644 --- a/DotNet/CesiumLanguageWriter/Generated/VerticalOriginCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/VerticalOriginCesiumWriter.cs @@ -24,6 +24,11 @@ public class VerticalOriginCesiumWriter : CesiumPropertyWriter<VerticalOriginCes /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumValuePropertyWriter<CesiumVerticalOrigin>> m_asVerticalOrigin; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -123,6 +128,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumValuePropertyWriter{T}" /> to write a value in <c>VerticalOrigin</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriter/Generated/ViewFromCesiumWriter.cs b/DotNet/CesiumLanguageWriter/Generated/ViewFromCesiumWriter.cs index 4ce3e6a6..b5be6750 100644 --- a/DotNet/CesiumLanguageWriter/Generated/ViewFromCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriter/Generated/ViewFromCesiumWriter.cs @@ -25,6 +25,11 @@ public class ViewFromCesiumWriter : CesiumInterpolatablePropertyWriter<ViewFromC /// </summary> public const string ReferencePropertyName = "reference"; + /// <summary> + /// The name of the <c>delete</c> property. + /// </summary> + public const string DeletePropertyName = "delete"; + private readonly Lazy<ICesiumInterpolatableValuePropertyWriter<Cartesian>> m_asCartesian; private readonly Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -142,6 +147,18 @@ public void WriteReference(string identifier, string[] propertyNames) CesiumWritingHelper.WriteReference(Output, identifier, propertyNames); } + /// <summary> + /// Writes the value expressed as a <c>delete</c>, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + /// </summary> + /// <param name="value">The value.</param> + public void WriteDelete(bool value) + { + const string PropertyName = DeletePropertyName; + OpenIntervalIfNecessary(); + Output.WritePropertyName(PropertyName); + Output.WriteValue(value); + } + /// <summary> /// Returns a wrapper for this instance that implements <see cref="ICesiumInterpolatableValuePropertyWriter{T}" /> to write a value in <c>Cartesian</c> format. Because the returned instance is a wrapper for this instance, you may call <see cref="ICesiumElementWriter.Close" /> on either this instance or the wrapper, but you must not call it on both. /// </summary> diff --git a/DotNet/CesiumLanguageWriterTests/TestBillboardCesiumWriter.cs b/DotNet/CesiumLanguageWriterTests/TestBillboardCesiumWriter.cs index 36eb2ddf..049a0bbf 100644 --- a/DotNet/CesiumLanguageWriterTests/TestBillboardCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriterTests/TestBillboardCesiumWriter.cs @@ -8,17 +8,12 @@ namespace CesiumLanguageWriterTests [TestFixture] public class TestBillboardCesiumWriter : TestCesiumPropertyWriter<BillboardCesiumWriter> { - protected override CesiumPropertyWriter<BillboardCesiumWriter> CreatePropertyWriter(string propertyName) - { - return new BillboardCesiumWriter(propertyName); - } - [Test] public void TestShowProperty() { using (Packet) - using (BillboardCesiumWriter billboard = Packet.OpenBillboardProperty()) - using (BillboardCesiumWriter interval = billboard.OpenInterval()) + using (var billboard = Packet.OpenBillboardProperty()) + using (var interval = billboard.OpenInterval()) { interval.WriteShowProperty(true); } @@ -33,25 +28,23 @@ public void TestShowPropertyInterval() var stopDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 1, 0)); using (Packet) - using (var billboardWriter = Packet.OpenBillboardProperty()) - using (var showWriter = billboardWriter.OpenShowProperty()) + using (var billboard = Packet.OpenBillboardProperty()) + using (var show = billboard.OpenShowProperty()) + using (var showIntervals = show.OpenMultipleIntervals()) { - using (var intervalListWriter = showWriter.OpenMultipleIntervals()) + using (var interval = showIntervals.OpenInterval(startDate, startDate.AddSeconds(1))) { - using (var intervalWriter = intervalListWriter.OpenInterval(startDate, startDate.AddSeconds(1))) - { - intervalWriter.WriteBoolean(true); - } - - using (var intervalWriter = intervalListWriter.OpenInterval(startDate.AddSeconds(1), startDate.AddSeconds(2))) - { - intervalWriter.WriteBoolean(false); - } - - using (var intervalWriter = intervalListWriter.OpenInterval(startDate.AddSeconds(2), stopDate)) - { - intervalWriter.WriteBoolean(true); - } + interval.WriteBoolean(true); + } + + using (var interval = showIntervals.OpenInterval(startDate.AddSeconds(1), startDate.AddSeconds(2))) + { + interval.WriteBoolean(false); + } + + using (var interval = showIntervals.OpenInterval(startDate.AddSeconds(2), stopDate)) + { + interval.WriteBoolean(true); } } @@ -69,8 +62,8 @@ public void TestShowPropertyInterval() public void TestScaleByDistanceProperty() { using (Packet) - using (BillboardCesiumWriter billboard = Packet.OpenBillboardProperty()) - using (BillboardCesiumWriter interval = billboard.OpenInterval()) + using (var billboard = Packet.OpenBillboardProperty()) + using (var interval = billboard.OpenInterval()) { interval.WriteScaleByDistanceProperty(new NearFarScalar(100.0, 1.0, 200.0, 2.0)); } @@ -81,12 +74,12 @@ public void TestScaleByDistanceProperty() [Test] public void TestScaleByDistancePropertySamples() { - JulianDate startDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0)); + var startDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0)); using (Packet) - using (BillboardCesiumWriter billboard = Packet.OpenBillboardProperty()) - using (BillboardCesiumWriter interval = billboard.OpenInterval()) - using (NearFarScalarCesiumWriter scaleByDistance = interval.OpenScaleByDistanceProperty()) + using (var billboard = Packet.OpenBillboardProperty()) + using (var interval = billboard.OpenInterval()) + using (var scaleByDistance = interval.OpenScaleByDistanceProperty()) { var dates = new List<JulianDate>(); var values = new List<NearFarScalar>(); @@ -102,5 +95,36 @@ public void TestScaleByDistancePropertySamples() Assert.AreEqual("{\"billboard\":{\"scaleByDistance\":{\"epoch\":\"20120402T12Z\",\"nearFarScalar\":[0,100,1,200,2,60,200,1,300,2]}}}", StringWriter.ToString()); } + + [Test] + public void TestDeleteAlignedAxis() + { + using (Packet) + using (var billboard = Packet.OpenBillboardProperty()) + using (var alignedAxis = billboard.OpenAlignedAxisProperty()) + { + alignedAxis.WriteDelete(true); + } + + Assert.AreEqual("{\"billboard\":{\"alignedAxis\":{\"delete\":true}}}", StringWriter.ToString()); + } + + [Test] + public void TestDeleteScale() + { + using (Packet) + using (var billboard = Packet.OpenBillboardProperty()) + using (var scale = billboard.OpenScaleProperty()) + { + scale.WriteDelete(true); + } + + Assert.AreEqual("{\"billboard\":{\"scale\":{\"delete\":true}}}", StringWriter.ToString()); + } + + protected override CesiumPropertyWriter<BillboardCesiumWriter> CreatePropertyWriter(string propertyName) + { + return new BillboardCesiumWriter(propertyName); + } } } \ No newline at end of file diff --git a/DotNet/CesiumLanguageWriterTests/TestBooleanCesiumWriter.cs b/DotNet/CesiumLanguageWriterTests/TestBooleanCesiumWriter.cs index 3b9ae331..3531278a 100644 --- a/DotNet/CesiumLanguageWriterTests/TestBooleanCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriterTests/TestBooleanCesiumWriter.cs @@ -11,7 +11,7 @@ public class TestBooleanCesiumWriter : TestCesiumPropertyWriter<BooleanCesiumWri public void BooleanCanBeWrittenAsSimpleBoolean() { using (Packet) - using (BooleanCesiumWriter writer = new BooleanCesiumWriter("foo")) + using (var writer = new BooleanCesiumWriter("foo")) { writer.Open(OutputStream); writer.WriteBoolean(false); @@ -23,10 +23,10 @@ public void BooleanCanBeWrittenAsSimpleBoolean() [Test] public void BooleanCanBeWrittenInsideInterval() { - JulianDate startDate = new GregorianDate(2012, 6, 7, 12, 0, 0).ToJulianDate(); + var startDate = new GregorianDate(2012, 6, 7, 12, 0, 0).ToJulianDate(); using (Packet) - using (BooleanCesiumWriter writer = new BooleanCesiumWriter("foo")) + using (var writer = new BooleanCesiumWriter("foo")) { writer.Open(OutputStream); writer.WriteInterval(startDate, startDate.AddSeconds(100.0)); @@ -36,6 +36,44 @@ public void BooleanCanBeWrittenInsideInterval() Assert.AreEqual("{\"foo\":{\"interval\":\"20120607T12Z/20120607T120140Z\",\"boolean\":false}}", StringWriter.ToString()); } + [Test] + public void TestDeletePropertyWithStartAndStop() + { + var start = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0)); + var stop = start.AddDays(1.0); + + using (Packet) + { + Packet.WriteId("id"); + + using (var writer = new BooleanCesiumWriter("foo")) + { + writer.Open(OutputStream); + writer.WriteInterval(start, stop); + writer.WriteDelete(true); + } + } + + Assert.AreEqual("{\"id\":\"id\",\"foo\":{\"interval\":\"20120402T12Z/20120403T12Z\",\"delete\":true}}", StringWriter.ToString()); + } + + [Test] + public void TestDeletePropertyWithNoInterval() + { + using (Packet) + { + Packet.WriteId("id"); + + using (var writer = new BooleanCesiumWriter("foo")) + { + writer.Open(OutputStream); + writer.WriteDelete(true); + } + } + + Assert.AreEqual("{\"id\":\"id\",\"foo\":{\"delete\":true}}", StringWriter.ToString()); + } + protected override CesiumPropertyWriter<BooleanCesiumWriter> CreatePropertyWriter(string propertyName) { return new BooleanCesiumWriter(propertyName); diff --git a/DotNet/CesiumLanguageWriterTests/TestDoubleCesiumWriter.cs b/DotNet/CesiumLanguageWriterTests/TestDoubleCesiumWriter.cs index 290e11aa..ae0c4394 100644 --- a/DotNet/CesiumLanguageWriterTests/TestDoubleCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriterTests/TestDoubleCesiumWriter.cs @@ -11,7 +11,7 @@ public class TestDoubleCesiumWriter : TestCesiumPropertyWriter<DoubleCesiumWrite public void DoubleCanBeWrittenAsSimpleNumber() { using (Packet) - using (DoubleCesiumWriter writer = new DoubleCesiumWriter("foo")) + using (var writer = new DoubleCesiumWriter("foo")) { writer.Open(OutputStream); writer.WriteNumber(1.23); @@ -23,10 +23,10 @@ public void DoubleCanBeWrittenAsSimpleNumber() [Test] public void DoubleCanBeWrittenInsideInterval() { - JulianDate startDate = new GregorianDate(2012, 6, 7, 12, 0, 0).ToJulianDate(); + var startDate = new GregorianDate(2012, 6, 7, 12, 0, 0).ToJulianDate(); using (Packet) - using (DoubleCesiumWriter writer = new DoubleCesiumWriter("foo")) + using (var writer = new DoubleCesiumWriter("foo")) { writer.Open(OutputStream); writer.WriteInterval(startDate, startDate.AddSeconds(100.0)); @@ -36,6 +36,44 @@ public void DoubleCanBeWrittenInsideInterval() Assert.AreEqual("{\"foo\":{\"interval\":\"20120607T12Z/20120607T120140Z\",\"number\":1.23}}", StringWriter.ToString()); } + [Test] + public void TestDeletePropertyWithStartAndStop() + { + var start = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0)); + var stop = start.AddDays(1.0); + + using (Packet) + { + Packet.WriteId("id"); + + using (var writer = new DoubleCesiumWriter("foo")) + { + writer.Open(OutputStream); + writer.WriteInterval(start, stop); + writer.WriteDelete(true); + } + } + + Assert.AreEqual("{\"id\":\"id\",\"foo\":{\"interval\":\"20120402T12Z/20120403T12Z\",\"delete\":true}}", StringWriter.ToString()); + } + + [Test] + public void TestDeletePropertyWithNoInterval() + { + using (Packet) + { + Packet.WriteId("id"); + + using (var writer = new DoubleCesiumWriter("foo")) + { + writer.Open(OutputStream); + writer.WriteDelete(true); + } + } + + Assert.AreEqual("{\"id\":\"id\",\"foo\":{\"delete\":true}}", StringWriter.ToString()); + } + protected override CesiumPropertyWriter<DoubleCesiumWriter> CreatePropertyWriter(string propertyName) { return new DoubleCesiumWriter(propertyName); diff --git a/DotNet/CesiumLanguageWriterTests/TestOrientationCesiumWriter.cs b/DotNet/CesiumLanguageWriterTests/TestOrientationCesiumWriter.cs index 81b79ed1..e5f9009f 100644 --- a/DotNet/CesiumLanguageWriterTests/TestOrientationCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriterTests/TestOrientationCesiumWriter.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.IO; using CesiumLanguageWriter; using CesiumLanguageWriter.Advanced; using NUnit.Framework; @@ -13,90 +12,124 @@ public class TestOrientationCesiumWriter : TestCesiumInterpolatablePropertyWrite [Test] public void TestCompleteExample() { - using (var stringWriter = new StringWriter()) - { - var date = new JulianDate(2451545.0); + var date = new JulianDate(2451545.0); - const string id = "MyID"; - var availability = new TimeInterval(date, date.AddDays(2.0)); + const string id = "MyID"; + var availability = new TimeInterval(date, date.AddDays(2.0)); - var interval1 = new TimeInterval(date, date.AddDays(1.0)); + var interval1 = new TimeInterval(date, date.AddDays(1.0)); - var interval1Position = new Cartesian(1.0, 2.0, 3.0); - var interval1Orientation = new UnitQuaternion(1, 0, 0, 0); + var interval1Position = new Cartesian(1.0, 2.0, 3.0); + var interval1Orientation = new UnitQuaternion(1, 0, 0, 0); - var interval2 = new TimeInterval(date.AddDays(1.0), date.AddDays(2.0)); + var interval2 = new TimeInterval(date.AddDays(1.0), date.AddDays(2.0)); - var interval2SampleDates = new List<JulianDate> - { - date.AddDays(1.0), - date.AddDays(1.5), - date.AddDays(2.0) - }; + var interval2SampleDates = new List<JulianDate> + { + date.AddDays(1.0), + date.AddDays(1.5), + date.AddDays(2.0) + }; - var interval2SamplePositions = new List<Cartographic> - { - Cartographic.Zero, - new Cartographic(1.0, 0.0, 0.0), - new Cartographic(0.0, 1.0, 0.0) - }; - var interval2SampleOrientations = new List<UnitQuaternion> - { - UnitQuaternion.Identity, - new UnitQuaternion(0.0, 1.0, 0.0, 0.0), - new UnitQuaternion(0.0, 0.0, 1.0, 0.0) - }; + var interval2SamplePositions = new List<Cartographic> + { + Cartographic.Zero, + new Cartographic(1.0, 0.0, 0.0), + new Cartographic(0.0, 1.0, 0.0) + }; + var interval2SampleOrientations = new List<UnitQuaternion> + { + UnitQuaternion.Identity, + new UnitQuaternion(0.0, 1.0, 0.0, 0.0), + new UnitQuaternion(0.0, 0.0, 1.0, 0.0) + }; - const CesiumInterpolationAlgorithm orientationInterpolationAlgorithm = CesiumInterpolationAlgorithm.Linear; - const int orientationInterpolationDegree = 1; + const CesiumInterpolationAlgorithm orientationInterpolationAlgorithm = CesiumInterpolationAlgorithm.Linear; + const int orientationInterpolationDegree = 1; - var outputStream = new CesiumOutputStream(stringWriter) - { - PrettyFormatting = true - }; - var writer = new CesiumStreamWriter(); + var outputStream = new CesiumOutputStream(StringWriter) + { + PrettyFormatting = true + }; + var writer = new CesiumStreamWriter(); + + using (var packet = writer.OpenPacket(outputStream)) + { + packet.WriteId(id); + packet.WriteAvailability(availability); - using (var packet = writer.OpenPacket(outputStream)) + using (var positionWriter = packet.OpenPositionProperty()) + using (var intervalListWriter = positionWriter.OpenMultipleIntervals()) { - packet.WriteId(id); - packet.WriteAvailability(availability); + using (var interval = intervalListWriter.OpenInterval()) + { + interval.WriteInterval(interval1); + interval.WriteCartesian(interval1Position); + } + + using (var interval = intervalListWriter.OpenInterval(interval2.Start, interval2.Stop)) + { + interval.WriteCartographicRadians(interval2SampleDates, interval2SamplePositions); + } + } - using (var positionWriter = packet.OpenPositionProperty()) - using (var intervalListWriter = positionWriter.OpenMultipleIntervals()) + using (var orientationWriter = packet.OpenOrientationProperty()) + using (var intervalListWriter = orientationWriter.OpenMultipleIntervals()) + { + using (var interval = intervalListWriter.OpenInterval()) { - using (var interval = intervalListWriter.OpenInterval()) - { - interval.WriteInterval(interval1); - interval.WriteCartesian(interval1Position); - } - - using (var interval = intervalListWriter.OpenInterval(interval2.Start, interval2.Stop)) - { - interval.WriteCartographicRadians(interval2SampleDates, interval2SamplePositions); - } + interval.WriteInterval(interval1); + interval.WriteUnitQuaternion(interval1Orientation); } - using (var orientationWriter = packet.OpenOrientationProperty()) - using (var intervalListWriter = orientationWriter.OpenMultipleIntervals()) + using (var interval = intervalListWriter.OpenInterval(interval2.Start, interval2.Stop)) { - using (var interval = intervalListWriter.OpenInterval()) - { - interval.WriteInterval(interval1); - interval.WriteUnitQuaternion(interval1Orientation); - } - - using (var interval = intervalListWriter.OpenInterval(interval2.Start, interval2.Stop)) - { - interval.WriteInterpolationAlgorithm(orientationInterpolationAlgorithm); - interval.WriteInterpolationDegree(orientationInterpolationDegree); - - interval.WriteUnitQuaternion(interval2SampleDates, interval2SampleOrientations); - } + interval.WriteInterpolationAlgorithm(orientationInterpolationAlgorithm); + interval.WriteInterpolationDegree(orientationInterpolationDegree); + + interval.WriteUnitQuaternion(interval2SampleDates, interval2SampleOrientations); } } + } + + Console.WriteLine(StringWriter.ToString()); + } + + [Test] + public void TestDeletePropertyWithStartAndStop() + { + var start = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0)); + var stop = start.AddDays(1.0); + + using (Packet) + { + Packet.WriteId("id"); + + using (var orientation = Packet.OpenOrientationProperty()) + using (var interval = orientation.OpenInterval(start, stop)) + { + interval.WriteDelete(true); + } + } + + Assert.AreEqual("{\"id\":\"id\",\"orientation\":{\"interval\":\"20120402T12Z/20120403T12Z\",\"delete\":true}}", StringWriter.ToString()); + } + + [Test] + public void TestDeletePropertyWithNoInterval() + { + using (Packet) + { + Packet.WriteId("id"); - Console.WriteLine(stringWriter.ToString()); + using (var orientation = Packet.OpenOrientationProperty()) + using (var interval = orientation.OpenInterval()) + { + interval.WriteDelete(true); + } } + + Assert.AreEqual("{\"id\":\"id\",\"orientation\":{\"delete\":true}}", StringWriter.ToString()); } protected override CesiumPropertyWriter<OrientationCesiumWriter> CreatePropertyWriter(string propertyName) diff --git a/DotNet/CesiumLanguageWriterTests/TestPositionCesiumWriter.cs b/DotNet/CesiumLanguageWriterTests/TestPositionCesiumWriter.cs index 9892e9c6..c4f6196f 100644 --- a/DotNet/CesiumLanguageWriterTests/TestPositionCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriterTests/TestPositionCesiumWriter.cs @@ -12,8 +12,8 @@ public class TestPositionCesiumWriter : TestCesiumInterpolatablePropertyWriter<P public void ReferenceFrameValueWritesReferenceFrameProperty() { using (Packet) - using (PositionCesiumWriter position = Packet.OpenPositionProperty()) - using (PositionCesiumWriter interval = position.OpenInterval()) + using (var position = Packet.OpenPositionProperty()) + using (var interval = position.OpenInterval()) { interval.WriteReferenceFrame("myReferenceFrame"); } @@ -25,8 +25,8 @@ public void ReferenceFrameValueWritesReferenceFrameProperty() public void CartesianValueWritesSingleCartesianProperty() { using (Packet) - using (PositionCesiumWriter position = Packet.OpenPositionProperty()) - using (PositionCesiumWriter interval = position.OpenInterval()) + using (var position = Packet.OpenPositionProperty()) + using (var interval = position.OpenInterval()) { interval.WriteCartesian(new Cartesian(1.0, 2.0, 3.0)); } @@ -38,8 +38,8 @@ public void CartesianValueWritesSingleCartesianProperty() public void CartographicRadiansValueWritesSingleCartographicRadiansProperty() { using (Packet) - using (PositionCesiumWriter position = Packet.OpenPositionProperty()) - using (PositionCesiumWriter interval = position.OpenInterval()) + using (var position = Packet.OpenPositionProperty()) + using (var interval = position.OpenInterval()) { interval.WriteCartographicRadians(new Cartographic(1100.0, 2200.0, 3.0)); } @@ -50,11 +50,11 @@ public void CartographicRadiansValueWritesSingleCartographicRadiansProperty() [Test] public void CartesianValueWritesMultipleCartesianProperty() { - JulianDate startDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0)); + var startDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0)); using (Packet) - using (PositionCesiumWriter position = Packet.OpenPositionProperty()) - using (PositionCesiumWriter interval = position.OpenInterval()) + using (var position = Packet.OpenPositionProperty()) + using (var interval = position.OpenInterval()) { var dates = new List<JulianDate>(); var positions = new List<Cartesian>(); @@ -74,11 +74,11 @@ public void CartesianValueWritesMultipleCartesianProperty() [Test] public void CartesianValueSubsetWritesMultipleCartesianProperty() { - JulianDate startDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0)); + var startDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0)); using (Packet) - using (PositionCesiumWriter position = Packet.OpenPositionProperty()) - using (PositionCesiumWriter interval = position.OpenInterval()) + using (var position = Packet.OpenPositionProperty()) + using (var interval = position.OpenInterval()) { var dates = new List<JulianDate>(); var positions = new List<Cartesian>(); @@ -101,11 +101,11 @@ public void CartesianValueSubsetWritesMultipleCartesianProperty() [Test] public void CartographicRadiansValueWritesMultipleCartographicRadiansProperty() { - JulianDate startDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0)); + var startDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0)); using (Packet) - using (PositionCesiumWriter position = Packet.OpenPositionProperty()) - using (PositionCesiumWriter interval = position.OpenInterval()) + using (var position = Packet.OpenPositionProperty()) + using (var interval = position.OpenInterval()) { var dates = new List<JulianDate>(); var positions = new List<Cartographic>(); @@ -125,11 +125,11 @@ public void CartographicRadiansValueWritesMultipleCartographicRadiansProperty() [Test] public void CartographicRadiansValueSubsetWritesMultipleCartographicRadiansProperty() { - JulianDate startDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0)); + var startDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0)); using (Packet) - using (PositionCesiumWriter position = Packet.OpenPositionProperty()) - using (PositionCesiumWriter interval = position.OpenInterval()) + using (var position = Packet.OpenPositionProperty()) + using (var interval = position.OpenInterval()) { var dates = new List<JulianDate>(); var positions = new List<Cartographic>(); @@ -153,8 +153,8 @@ public void CartographicRadiansValueSubsetWritesMultipleCartographicRadiansPrope public void CartesianValueWritesEmptyArrayAndDoesNotWriteEpochWhenGivenAnEmptyCollection() { using (Packet) - using (PositionCesiumWriter position = Packet.OpenPositionProperty()) - using (PositionCesiumWriter interval = position.OpenInterval()) + using (var position = Packet.OpenPositionProperty()) + using (var interval = position.OpenInterval()) { var dates = new List<JulianDate>(); var positions = new List<Cartesian>(); @@ -168,8 +168,8 @@ public void CartesianValueWritesEmptyArrayAndDoesNotWriteEpochWhenGivenAnEmptyCo public void CartographicRadiansValueWritesEmptyArrayAndDoesNotWriteEpochWhenGivenAnEmptyCollection() { using (Packet) - using (PositionCesiumWriter position = Packet.OpenPositionProperty()) - using (PositionCesiumWriter interval = position.OpenInterval()) + using (var position = Packet.OpenPositionProperty()) + using (var interval = position.OpenInterval()) { var dates = new List<JulianDate>(); var positions = new List<Cartographic>(); @@ -179,6 +179,43 @@ public void CartographicRadiansValueWritesEmptyArrayAndDoesNotWriteEpochWhenGive Assert.AreEqual("{\"position\":{\"cartographicRadians\":[]}}", StringWriter.ToString()); } + [Test] + public void TestDeletePropertyWithStartAndStop() + { + var start = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0)); + var stop = start.AddDays(1.0); + + using (Packet) + { + Packet.WriteId("id"); + + using (var position = Packet.OpenPositionProperty()) + using (var interval = position.OpenInterval(start, stop)) + { + interval.WriteDelete(true); + } + } + + Assert.AreEqual("{\"id\":\"id\",\"position\":{\"interval\":\"20120402T12Z/20120403T12Z\",\"delete\":true}}", StringWriter.ToString()); + } + + [Test] + public void TestDeletePropertyWithNoInterval() + { + using (Packet) + { + Packet.WriteId("id"); + + using (var position = Packet.OpenPositionProperty()) + using (var interval = position.OpenInterval()) + { + interval.WriteDelete(true); + } + } + + Assert.AreEqual("{\"id\":\"id\",\"position\":{\"delete\":true}}", StringWriter.ToString()); + } + protected override CesiumPropertyWriter<PositionCesiumWriter> CreatePropertyWriter(string propertyName) { return new PositionCesiumWriter(propertyName); diff --git a/DotNet/CesiumLanguageWriterTests/TestStringCesiumWriter.cs b/DotNet/CesiumLanguageWriterTests/TestStringCesiumWriter.cs index 70135473..97f05aae 100644 --- a/DotNet/CesiumLanguageWriterTests/TestStringCesiumWriter.cs +++ b/DotNet/CesiumLanguageWriterTests/TestStringCesiumWriter.cs @@ -11,7 +11,7 @@ public class TestStringCesiumWriter : TestCesiumPropertyWriter<StringCesiumWrite public void StringCanBeWrittenAsSimpleString() { using (Packet) - using (StringCesiumWriter writer = new StringCesiumWriter("foo")) + using (var writer = new StringCesiumWriter("foo")) { writer.Open(OutputStream); writer.WriteString("bar"); @@ -23,10 +23,10 @@ public void StringCanBeWrittenAsSimpleString() [Test] public void StringCanBeWrittenInsideInterval() { - JulianDate startDate = new GregorianDate(2012, 6, 7, 12, 0, 0).ToJulianDate(); + var startDate = new GregorianDate(2012, 6, 7, 12, 0, 0).ToJulianDate(); using (Packet) - using (StringCesiumWriter writer = new StringCesiumWriter("foo")) + using (var writer = new StringCesiumWriter("foo")) { writer.Open(OutputStream); writer.WriteInterval(startDate, startDate.AddSeconds(100.0)); @@ -36,6 +36,44 @@ public void StringCanBeWrittenInsideInterval() Assert.AreEqual("{\"foo\":{\"interval\":\"20120607T12Z/20120607T120140Z\",\"string\":\"bar\"}}", StringWriter.ToString()); } + [Test] + public void TestDeletePropertyWithStartAndStop() + { + var start = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0)); + var stop = start.AddDays(1.0); + + using (Packet) + { + Packet.WriteId("id"); + + using (var writer = new StringCesiumWriter("foo")) + { + writer.Open(OutputStream); + writer.WriteInterval(start, stop); + writer.WriteDelete(true); + } + } + + Assert.AreEqual("{\"id\":\"id\",\"foo\":{\"interval\":\"20120402T12Z/20120403T12Z\",\"delete\":true}}", StringWriter.ToString()); + } + + [Test] + public void TestDeletePropertyWithNoInterval() + { + using (Packet) + { + Packet.WriteId("id"); + + using (var writer = new StringCesiumWriter("foo")) + { + writer.Open(OutputStream); + writer.WriteDelete(true); + } + } + + Assert.AreEqual("{\"id\":\"id\",\"foo\":{\"delete\":true}}", StringWriter.ToString()); + } + protected override CesiumPropertyWriter<StringCesiumWriter> CreatePropertyWriter(string propertyName) { return new StringCesiumWriter(propertyName); diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/AlignedAxisCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/AlignedAxisCesiumWriter.java index 43f4a910..48d8a5e9 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/AlignedAxisCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/AlignedAxisCesiumWriter.java @@ -51,6 +51,13 @@ public class AlignedAxisCesiumWriter extends CesiumInterpolatablePropertyWriter< */ public static final String VelocityReferencePropertyName = "velocityReference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<UnitCartesian>> m_asUnitCartesian; private Lazy<ICesiumInterpolatableValuePropertyWriter<UnitSpherical>> m_asUnitSpherical; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -368,6 +375,21 @@ public final void writeVelocityReference(String identifier, String[] propertyNam CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code UnitCartesian} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ArcTypeCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ArcTypeCesiumWriter.java index 385157ca..550f9c2b 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ArcTypeCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ArcTypeCesiumWriter.java @@ -35,6 +35,13 @@ public class ArcTypeCesiumWriter extends CesiumPropertyWriter<ArcTypeCesiumWrite */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumValuePropertyWriter<CesiumArcType>> m_asArcType; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -183,6 +190,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumValuePropertyWriter} to write a value in {@code ArcType} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/BackgroundPaddingCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/BackgroundPaddingCesiumWriter.java index 10576391..d22ccc66 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/BackgroundPaddingCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/BackgroundPaddingCesiumWriter.java @@ -36,6 +36,13 @@ public class BackgroundPaddingCesiumWriter extends CesiumInterpolatablePropertyW */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<Rectangular>> m_asCartesian2; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -228,6 +235,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code Cartesian2} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/BillboardCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/BillboardCesiumWriter.java index a3d85b12..0c027b0a 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/BillboardCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/BillboardCesiumWriter.java @@ -1569,7 +1569,7 @@ public final void writeHeightReferencePropertyReference(String identifier, Strin } /** - * Gets the writer for the {@code color} property. The returned instance must be opened by calling the {@link CesiumElementWriter#open} method before it can be used for writing. The {@code color} property defines the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + * Gets the writer for the {@code color} property. The returned instance must be opened by calling the {@link CesiumElementWriter#open} method before it can be used for writing. The {@code color} property defines the color of the billboard. This color value is multiplied with the values of the billboard's {@code image} to produce the final color. If not specified, the default value is white. */ @@ -1580,7 +1580,7 @@ public final ColorCesiumWriter getColorWriter() { /** * - Opens and returns the writer for the {@code color} property. The {@code color} property defines the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + Opens and returns the writer for the {@code color} property. The {@code color} property defines the color of the billboard. This color value is multiplied with the values of the billboard's {@code image} to produce the final color. If not specified, the default value is white. */ @@ -1592,7 +1592,7 @@ public final ColorCesiumWriter openColorProperty() { /** * - Writes a value for the {@code color} property as a {@code rgba} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + Writes a value for the {@code color} property as a {@code rgba} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's {@code image} to produce the final color. If not specified, the default value is white. @@ -1611,7 +1611,7 @@ public final void writeColorProperty(@Nonnull Color color) { /** * - Writes a value for the {@code color} property as a {@code rgba} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + Writes a value for the {@code color} property as a {@code rgba} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's {@code image} to produce the final color. If not specified, the default value is white. @@ -1636,7 +1636,7 @@ public final void writeColorProperty(int red, int green, int blue, int alpha) { /** * - Writes a value for the {@code color} property as a {@code rgba} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + Writes a value for the {@code color} property as a {@code rgba} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's {@code image} to produce the final color. If not specified, the default value is white. @@ -1657,7 +1657,7 @@ public final void writeColorProperty(List<JulianDate> dates, List<Color> values) /** * - Writes a value for the {@code color} property as a {@code rgba} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + Writes a value for the {@code color} property as a {@code rgba} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's {@code image} to produce the final color. If not specified, the default value is white. @@ -1682,7 +1682,7 @@ public final void writeColorProperty(List<JulianDate> dates, List<Color> colors, /** * - Writes a value for the {@code color} property as a {@code rgbaf} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + Writes a value for the {@code color} property as a {@code rgbaf} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's {@code image} to produce the final color. If not specified, the default value is white. @@ -1701,7 +1701,7 @@ public final void writeColorPropertyRgbaf(@Nonnull Color color) { /** * - Writes a value for the {@code color} property as a {@code rgbaf} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + Writes a value for the {@code color} property as a {@code rgbaf} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's {@code image} to produce the final color. If not specified, the default value is white. @@ -1726,7 +1726,7 @@ public final void writeColorPropertyRgbaf(float red, float green, float blue, fl /** * - Writes a value for the {@code color} property as a {@code rgbaf} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + Writes a value for the {@code color} property as a {@code rgbaf} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's {@code image} to produce the final color. If not specified, the default value is white. @@ -1747,7 +1747,7 @@ public final void writeColorPropertyRgbaf(List<JulianDate> dates, List<Color> va /** * - Writes a value for the {@code color} property as a {@code rgbaf} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + Writes a value for the {@code color} property as a {@code rgbaf} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's {@code image} to produce the final color. If not specified, the default value is white. @@ -1772,7 +1772,7 @@ public final void writeColorPropertyRgbaf(List<JulianDate> dates, List<Color> co /** * - Writes a value for the {@code color} property as a {@code reference} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + Writes a value for the {@code color} property as a {@code reference} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's {@code image} to produce the final color. If not specified, the default value is white. @@ -1791,7 +1791,7 @@ public final void writeColorPropertyReference(Reference value) { /** * - Writes a value for the {@code color} property as a {@code reference} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + Writes a value for the {@code color} property as a {@code reference} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's {@code image} to produce the final color. If not specified, the default value is white. @@ -1810,7 +1810,7 @@ public final void writeColorPropertyReference(String value) { /** * - Writes a value for the {@code color} property as a {@code reference} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + Writes a value for the {@code color} property as a {@code reference} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's {@code image} to produce the final color. If not specified, the default value is white. @@ -1831,7 +1831,7 @@ public final void writeColorPropertyReference(String identifier, String property /** * - Writes a value for the {@code color} property as a {@code reference} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's "image" to produce the final color. If not specified, the default value is white. + Writes a value for the {@code color} property as a {@code reference} value. The {@code color} property specifies the color of the billboard. This color value is multiplied with the values of the billboard's {@code image} to produce the final color. If not specified, the default value is white. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/BooleanCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/BooleanCesiumWriter.java index 4a8fd9f8..a9419c8a 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/BooleanCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/BooleanCesiumWriter.java @@ -34,6 +34,13 @@ public class BooleanCesiumWriter extends CesiumPropertyWriter<BooleanCesiumWrite */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumValuePropertyWriter<Boolean>> m_asBoolean; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -182,6 +189,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumValuePropertyWriter} to write a value in {@code Boolean} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/BoundingRectangleCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/BoundingRectangleCesiumWriter.java index fa12e550..de679598 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/BoundingRectangleCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/BoundingRectangleCesiumWriter.java @@ -36,6 +36,13 @@ public class BoundingRectangleCesiumWriter extends CesiumInterpolatablePropertyW */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<BoundingRectangle>> m_asBoundingRectangle; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -214,6 +221,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code BoundingRectangle} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/BoxDimensionsCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/BoxDimensionsCesiumWriter.java index cf70b32f..b912645f 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/BoxDimensionsCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/BoxDimensionsCesiumWriter.java @@ -36,6 +36,13 @@ public class BoxDimensionsCesiumWriter extends CesiumInterpolatablePropertyWrite */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<Cartesian>> m_asCartesian; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -214,6 +221,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code Cartesian} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ColorBlendModeCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ColorBlendModeCesiumWriter.java index afde557f..f86c7943 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ColorBlendModeCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ColorBlendModeCesiumWriter.java @@ -35,6 +35,13 @@ public class ColorBlendModeCesiumWriter extends CesiumPropertyWriter<ColorBlendM */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumValuePropertyWriter<CesiumColorBlendMode>> m_asColorBlendMode; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -183,6 +190,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumValuePropertyWriter} to write a value in {@code ColorBlendMode} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ColorCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ColorCesiumWriter.java index a345c936..52c5ff31 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ColorCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ColorCesiumWriter.java @@ -43,6 +43,13 @@ public class ColorCesiumWriter extends CesiumInterpolatablePropertyWriter<ColorC */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<Color>> m_asRgba; private Lazy<ICesiumInterpolatableValuePropertyWriter<Color>> m_asRgbaf; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -325,6 +332,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code Rgba} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/CornerTypeCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/CornerTypeCesiumWriter.java index d9389f53..d4316655 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/CornerTypeCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/CornerTypeCesiumWriter.java @@ -35,6 +35,13 @@ public class CornerTypeCesiumWriter extends CesiumPropertyWriter<CornerTypeCesiu */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumValuePropertyWriter<CesiumCornerType>> m_asCornerType; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -183,6 +190,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumValuePropertyWriter} to write a value in {@code CornerType} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/CustomPropertyCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/CustomPropertyCesiumWriter.java index cfc82a14..2118547b 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/CustomPropertyCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/CustomPropertyCesiumWriter.java @@ -224,6 +224,13 @@ public class CustomPropertyCesiumWriter extends CesiumInterpolatablePropertyWrit */ public static final String VerticalOriginPropertyName = "verticalOrigin"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumValuePropertyWriter<Boolean>> m_asBoolean; private Lazy<ICesiumInterpolatableValuePropertyWriter<BoundingRectangle>> m_asBoundingRectangle; private Lazy<ICesiumInterpolatableValuePropertyWriter<Cartesian>> m_asCartesian; @@ -1703,6 +1710,21 @@ public final void writeVerticalOrigin(@Nonnull CesiumVerticalOrigin value) { getOutput().writeValue(CesiumFormattingHelper.verticalOriginToString(value)); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumValuePropertyWriter} to write a value in {@code Boolean} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/DirectionCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/DirectionCesiumWriter.java index b08d3010..556e6763 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/DirectionCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/DirectionCesiumWriter.java @@ -60,6 +60,13 @@ public class DirectionCesiumWriter extends CesiumInterpolatablePropertyWriter<Di */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<Spherical>> m_asSpherical; private Lazy<ICesiumInterpolatableValuePropertyWriter<UnitSpherical>> m_asUnitSpherical; private Lazy<ICesiumInterpolatableValuePropertyWriter<Cartesian>> m_asCartesian; @@ -424,6 +431,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code Spherical} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/DirectionListCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/DirectionListCesiumWriter.java index 00652655..6aef2d96 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/DirectionListCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/DirectionListCesiumWriter.java @@ -47,6 +47,13 @@ public class DirectionListCesiumWriter extends CesiumPropertyWriter<DirectionLis */ public static final String UnitCartesianPropertyName = "unitCartesian"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumValuePropertyWriter<Iterable<Spherical>>> m_asSpherical; private Lazy<ICesiumValuePropertyWriter<Iterable<UnitSpherical>>> m_asUnitSpherical; private Lazy<ICesiumValuePropertyWriter<Iterable<Cartesian>>> m_asCartesian; @@ -198,6 +205,21 @@ public final void writeUnitCartesian(Iterable<UnitCartesian> values) { CesiumWritingHelper.writeUnitCartesian3List(getOutput(), values); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumValuePropertyWriter} to write a value in {@code Spherical} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/DistanceDisplayConditionCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/DistanceDisplayConditionCesiumWriter.java index 96f8e275..554d83e6 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/DistanceDisplayConditionCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/DistanceDisplayConditionCesiumWriter.java @@ -36,6 +36,13 @@ public class DistanceDisplayConditionCesiumWriter extends CesiumInterpolatablePr */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<Bounds>> m_asDistanceDisplayCondition; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -228,6 +235,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code DistanceDisplayCondition} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/DoubleCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/DoubleCesiumWriter.java index 96cf1599..87680869 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/DoubleCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/DoubleCesiumWriter.java @@ -35,6 +35,13 @@ public class DoubleCesiumWriter extends CesiumInterpolatablePropertyWriter<Doubl */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<Double>> m_asNumber; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -217,6 +224,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code Number} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/DoubleListCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/DoubleListCesiumWriter.java index 88b659fd..b35e84c4 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/DoubleListCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/DoubleListCesiumWriter.java @@ -33,6 +33,13 @@ public class DoubleListCesiumWriter extends CesiumPropertyWriter<DoubleListCesiu */ public static final String ReferencesPropertyName = "references"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumValuePropertyWriter<Iterable<Double>>> m_asArray; private Lazy<ICesiumValuePropertyWriter<Iterable<Reference>>> m_asReferences; @@ -128,6 +135,21 @@ public final void writeReferences(Iterable<Reference> references) { CesiumWritingHelper.writeReferences(getOutput(), references); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumValuePropertyWriter} to write a value in {@code Array} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/EllipsoidRadiiCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/EllipsoidRadiiCesiumWriter.java index ff26d93a..f890280b 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/EllipsoidRadiiCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/EllipsoidRadiiCesiumWriter.java @@ -36,6 +36,13 @@ public class EllipsoidRadiiCesiumWriter extends CesiumInterpolatablePropertyWrit */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<Cartesian>> m_asCartesian; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -214,6 +221,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code Cartesian} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/EyeOffsetCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/EyeOffsetCesiumWriter.java index b811dade..fcc8179a 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/EyeOffsetCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/EyeOffsetCesiumWriter.java @@ -36,6 +36,13 @@ public class EyeOffsetCesiumWriter extends CesiumInterpolatablePropertyWriter<Ey */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<Cartesian>> m_asCartesian; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -214,6 +221,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code Cartesian} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/FontCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/FontCesiumWriter.java index d71933d5..139737e3 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/FontCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/FontCesiumWriter.java @@ -34,6 +34,13 @@ public class FontCesiumWriter extends CesiumPropertyWriter<FontCesiumWriter> { */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumValuePropertyWriter<String>> m_asFont; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -180,6 +187,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumValuePropertyWriter} to write a value in {@code Font} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/HeightReferenceCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/HeightReferenceCesiumWriter.java index e16e429f..f494c7d0 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/HeightReferenceCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/HeightReferenceCesiumWriter.java @@ -35,6 +35,13 @@ public class HeightReferenceCesiumWriter extends CesiumPropertyWriter<HeightRefe */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumValuePropertyWriter<CesiumHeightReference>> m_asHeightReference; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -183,6 +190,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumValuePropertyWriter} to write a value in {@code HeightReference} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/HorizontalOriginCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/HorizontalOriginCesiumWriter.java index 77234da2..a1f0c858 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/HorizontalOriginCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/HorizontalOriginCesiumWriter.java @@ -35,6 +35,13 @@ public class HorizontalOriginCesiumWriter extends CesiumPropertyWriter<Horizonta */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumValuePropertyWriter<CesiumHorizontalOrigin>> m_asHorizontalOrigin; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -183,6 +190,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumValuePropertyWriter} to write a value in {@code HorizontalOrigin} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/IntegerCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/IntegerCesiumWriter.java index 97f7ae4e..5be9b497 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/IntegerCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/IntegerCesiumWriter.java @@ -35,6 +35,13 @@ public class IntegerCesiumWriter extends CesiumInterpolatablePropertyWriter<Inte */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<Integer>> m_asNumber; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -217,6 +224,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code Number} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/LabelStyleCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/LabelStyleCesiumWriter.java index b657defa..779dd4fc 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/LabelStyleCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/LabelStyleCesiumWriter.java @@ -35,6 +35,13 @@ public class LabelStyleCesiumWriter extends CesiumPropertyWriter<LabelStyleCesiu */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumValuePropertyWriter<CesiumLabelStyle>> m_asLabelStyle; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -183,6 +190,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumValuePropertyWriter} to write a value in {@code LabelStyle} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/LineCountCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/LineCountCesiumWriter.java index 422f3148..65bb4cac 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/LineCountCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/LineCountCesiumWriter.java @@ -36,6 +36,13 @@ public class LineCountCesiumWriter extends CesiumInterpolatablePropertyWriter<Li */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<Rectangular>> m_asCartesian2; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -228,6 +235,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code Cartesian2} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/LineOffsetCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/LineOffsetCesiumWriter.java index ce1aaaf8..67f05aa2 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/LineOffsetCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/LineOffsetCesiumWriter.java @@ -36,6 +36,13 @@ public class LineOffsetCesiumWriter extends CesiumInterpolatablePropertyWriter<L */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<Rectangular>> m_asCartesian2; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -228,6 +235,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code Cartesian2} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/LineThicknessCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/LineThicknessCesiumWriter.java index 4b10113c..dabe043e 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/LineThicknessCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/LineThicknessCesiumWriter.java @@ -36,6 +36,13 @@ public class LineThicknessCesiumWriter extends CesiumInterpolatablePropertyWrite */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<Rectangular>> m_asCartesian2; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -228,6 +235,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code Cartesian2} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/NearFarScalarCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/NearFarScalarCesiumWriter.java index 5aa2da51..decea509 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/NearFarScalarCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/NearFarScalarCesiumWriter.java @@ -36,6 +36,13 @@ public class NearFarScalarCesiumWriter extends CesiumInterpolatablePropertyWrite */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<NearFarScalar>> m_asNearFarScalar; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -232,6 +239,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code NearFarScalar} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/OrientationCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/OrientationCesiumWriter.java index 1c7ec15d..bbbb34e4 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/OrientationCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/OrientationCesiumWriter.java @@ -43,6 +43,13 @@ public class OrientationCesiumWriter extends CesiumInterpolatablePropertyWriter< */ public static final String VelocityReferencePropertyName = "velocityReference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<UnitQuaternion>> m_asUnitQuaternion; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asVelocityReference; @@ -298,6 +305,21 @@ public final void writeVelocityReference(String identifier, String[] propertyNam CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code UnitQuaternion} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/PixelOffsetCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/PixelOffsetCesiumWriter.java index 97471a5a..41a3c80d 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/PixelOffsetCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/PixelOffsetCesiumWriter.java @@ -36,6 +36,13 @@ public class PixelOffsetCesiumWriter extends CesiumInterpolatablePropertyWriter< */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<Rectangular>> m_asCartesian2; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -228,6 +235,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code Cartesian2} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/PositionCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/PositionCesiumWriter.java index 89d3de16..d943eff8 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/PositionCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/PositionCesiumWriter.java @@ -66,6 +66,13 @@ public class PositionCesiumWriter extends CesiumInterpolatablePropertyWriter<Pos */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<Cartesian>> m_asCartesian; private Lazy<ICesiumInterpolatableValuePropertyWriter<Cartographic>> m_asCartographicRadians; private Lazy<ICesiumInterpolatableValuePropertyWriter<Cartographic>> m_asCartographicDegrees; @@ -445,6 +452,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code Cartesian} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/PositionListCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/PositionListCesiumWriter.java index c2a9b2cf..acd4317f 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/PositionListCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/PositionListCesiumWriter.java @@ -54,6 +54,13 @@ public class PositionListCesiumWriter extends CesiumPropertyWriter<PositionListC */ public static final String ReferencesPropertyName = "references"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumValuePropertyWriter<Iterable<Cartesian>>> m_asCartesian; private Lazy<ICesiumValuePropertyWriter<Iterable<Cartographic>>> m_asCartographicRadians; private Lazy<ICesiumValuePropertyWriter<Iterable<Cartographic>>> m_asCartographicDegrees; @@ -220,6 +227,21 @@ public final void writeReferences(Iterable<Reference> references) { CesiumWritingHelper.writeReferences(getOutput(), references); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumValuePropertyWriter} to write a value in {@code Cartesian} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/RectangleCoordinatesCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/RectangleCoordinatesCesiumWriter.java index fa5e82a9..da7edc69 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/RectangleCoordinatesCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/RectangleCoordinatesCesiumWriter.java @@ -43,6 +43,13 @@ public class RectangleCoordinatesCesiumWriter extends CesiumInterpolatableProper */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<CartographicExtent>> m_asWsen; private Lazy<ICesiumInterpolatableValuePropertyWriter<CartographicExtent>> m_asWsenDegrees; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -319,6 +326,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code Wsen} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/RepeatCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/RepeatCesiumWriter.java index b13750d4..81504a96 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/RepeatCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/RepeatCesiumWriter.java @@ -36,6 +36,13 @@ public class RepeatCesiumWriter extends CesiumInterpolatablePropertyWriter<Repea */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<Rectangular>> m_asCartesian2; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -228,6 +235,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code Cartesian2} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/RotationCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/RotationCesiumWriter.java index acc60c3a..665bc318 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/RotationCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/RotationCesiumWriter.java @@ -36,6 +36,13 @@ public class RotationCesiumWriter extends CesiumInterpolatablePropertyWriter<Rot */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<UnitQuaternion>> m_asUnitQuaternion; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -214,6 +221,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code UnitQuaternion} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ScaleCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ScaleCesiumWriter.java index c5e681ad..076e270b 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ScaleCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ScaleCesiumWriter.java @@ -36,6 +36,13 @@ public class ScaleCesiumWriter extends CesiumInterpolatablePropertyWriter<ScaleC */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<Cartesian>> m_asCartesian; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -214,6 +221,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code Cartesian} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/SensorVolumePortionToDisplayCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/SensorVolumePortionToDisplayCesiumWriter.java index d4bcdc73..aed07a11 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/SensorVolumePortionToDisplayCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/SensorVolumePortionToDisplayCesiumWriter.java @@ -35,6 +35,13 @@ public class SensorVolumePortionToDisplayCesiumWriter extends CesiumPropertyWrit */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumValuePropertyWriter<CesiumSensorVolumePortionToDisplay>> m_asPortionToDisplay; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -183,6 +190,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumValuePropertyWriter} to write a value in {@code PortionToDisplay} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ShadowModeCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ShadowModeCesiumWriter.java index 441106b1..17dae591 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ShadowModeCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ShadowModeCesiumWriter.java @@ -35,6 +35,13 @@ public class ShadowModeCesiumWriter extends CesiumPropertyWriter<ShadowModeCesiu */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumValuePropertyWriter<CesiumShadowMode>> m_asShadowMode; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -183,6 +190,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumValuePropertyWriter} to write a value in {@code ShadowMode} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/StringCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/StringCesiumWriter.java index f2e9515b..1ef78bf3 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/StringCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/StringCesiumWriter.java @@ -34,6 +34,13 @@ public class StringCesiumWriter extends CesiumPropertyWriter<StringCesiumWriter> */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumValuePropertyWriter<String>> m_asString; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -182,6 +189,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumValuePropertyWriter} to write a value in {@code String} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/StripeOrientationCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/StripeOrientationCesiumWriter.java index 02c1da70..99e2efec 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/StripeOrientationCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/StripeOrientationCesiumWriter.java @@ -35,6 +35,13 @@ public class StripeOrientationCesiumWriter extends CesiumPropertyWriter<StripeOr */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumValuePropertyWriter<CesiumStripeOrientation>> m_asStripeOrientation; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -183,6 +190,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumValuePropertyWriter} to write a value in {@code StripeOrientation} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/TranslationCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/TranslationCesiumWriter.java index 67c912fc..91aa769b 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/TranslationCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/TranslationCesiumWriter.java @@ -36,6 +36,13 @@ public class TranslationCesiumWriter extends CesiumInterpolatablePropertyWriter< */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<Cartesian>> m_asCartesian; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -214,6 +221,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code Cartesian} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/UriCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/UriCesiumWriter.java index 5df34dd9..d5dd6e90 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/UriCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/UriCesiumWriter.java @@ -37,6 +37,13 @@ public class UriCesiumWriter extends CesiumPropertyWriter<UriCesiumWriter> { */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumValuePropertyWriter<CesiumResource>> m_asUri; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -281,6 +288,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumValuePropertyWriter} to write a value in {@code Uri} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/VerticalOriginCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/VerticalOriginCesiumWriter.java index d3eda7d6..6470c376 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/VerticalOriginCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/VerticalOriginCesiumWriter.java @@ -35,6 +35,13 @@ public class VerticalOriginCesiumWriter extends CesiumPropertyWriter<VerticalOri */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumValuePropertyWriter<CesiumVerticalOrigin>> m_asVerticalOrigin; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -183,6 +190,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumValuePropertyWriter} to write a value in {@code VerticalOrigin} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ViewFromCesiumWriter.java b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ViewFromCesiumWriter.java index 2017ee8d..d06759d8 100644 --- a/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ViewFromCesiumWriter.java +++ b/Java/CesiumLanguageWriter/translatedSrc/cesiumlanguagewriter/ViewFromCesiumWriter.java @@ -36,6 +36,13 @@ public class ViewFromCesiumWriter extends CesiumInterpolatablePropertyWriter<Vie */ public static final String ReferencePropertyName = "reference"; + /** + * + The name of the {@code delete} property. + + + */ + public static final String DeletePropertyName = "delete"; private Lazy<ICesiumInterpolatableValuePropertyWriter<Cartesian>> m_asCartesian; private Lazy<ICesiumValuePropertyWriter<Reference>> m_asReference; @@ -214,6 +221,21 @@ public final void writeReference(String identifier, String[] propertyNames) { CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); } + /** + * + Writes the value expressed as a {@code delete}, which is whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored. + + + + * @param value The value. + */ + public final void writeDelete(boolean value) { + final String PropertyName = DeletePropertyName; + openIntervalIfNecessary(); + getOutput().writePropertyName(PropertyName); + getOutput().writeValue(value); + } + /** * Returns a wrapper for this instance that implements {@link ICesiumInterpolatableValuePropertyWriter} to write a value in {@code Cartesian} format. Because the returned instance is a wrapper for this instance, you may call {@link ICesiumElementWriter#close} on either this instance or the wrapper, but you must not call it on both. diff --git a/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestBillboardCesiumWriter.java b/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestBillboardCesiumWriter.java index f624c23b..a7d0d8c5 100644 --- a/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestBillboardCesiumWriter.java +++ b/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestBillboardCesiumWriter.java @@ -23,21 +23,16 @@ }) @FixMethodOrder(MethodSorters.NAME_ASCENDING) public class TestBillboardCesiumWriter extends TestCesiumPropertyWriter<BillboardCesiumWriter> { - @Override - protected CesiumPropertyWriter<BillboardCesiumWriter> createPropertyWriter(String propertyName) { - return new BillboardCesiumWriter(propertyName); - } - @Test public final void testShowProperty() { { final PacketCesiumWriter usingExpression_0 = (getPacket()); try { { - BillboardCesiumWriter billboard = getPacket().openBillboardProperty(); + cesiumlanguagewriter.BillboardCesiumWriter billboard = getPacket().openBillboardProperty(); try { { - BillboardCesiumWriter interval = billboard.openInterval(); + cesiumlanguagewriter.BillboardCesiumWriter interval = billboard.openInterval(); try { interval.writeShowProperty(true); } finally { @@ -63,48 +58,48 @@ public final void testShowPropertyInterval() { final PacketCesiumWriter usingExpression_1 = (getPacket()); try { { - cesiumlanguagewriter.BillboardCesiumWriter billboardWriter = getPacket().openBillboardProperty(); + cesiumlanguagewriter.BillboardCesiumWriter billboard = getPacket().openBillboardProperty(); try { { - cesiumlanguagewriter.BooleanCesiumWriter showWriter = billboardWriter.openShowProperty(); + cesiumlanguagewriter.BooleanCesiumWriter show = billboard.openShowProperty(); try { { - cesiumlanguagewriter.CesiumIntervalListWriter<cesiumlanguagewriter.BooleanCesiumWriter> intervalListWriter = showWriter.openMultipleIntervals(); + cesiumlanguagewriter.CesiumIntervalListWriter<cesiumlanguagewriter.BooleanCesiumWriter> showIntervals = show.openMultipleIntervals(); try { { - cesiumlanguagewriter.BooleanCesiumWriter intervalWriter = intervalListWriter.openInterval(startDate, startDate.addSeconds(1D)); + cesiumlanguagewriter.BooleanCesiumWriter interval = showIntervals.openInterval(startDate, startDate.addSeconds(1D)); try { - intervalWriter.writeBoolean(true); + interval.writeBoolean(true); } finally { - DisposeHelper.dispose(intervalWriter); + DisposeHelper.dispose(interval); } } { - cesiumlanguagewriter.BooleanCesiumWriter intervalWriter = intervalListWriter.openInterval(startDate.addSeconds(1D), startDate.addSeconds(2D)); + cesiumlanguagewriter.BooleanCesiumWriter interval = showIntervals.openInterval(startDate.addSeconds(1D), startDate.addSeconds(2D)); try { - intervalWriter.writeBoolean(false); + interval.writeBoolean(false); } finally { - DisposeHelper.dispose(intervalWriter); + DisposeHelper.dispose(interval); } } { - cesiumlanguagewriter.BooleanCesiumWriter intervalWriter = intervalListWriter.openInterval(startDate.addSeconds(2D), stopDate); + cesiumlanguagewriter.BooleanCesiumWriter interval = showIntervals.openInterval(startDate.addSeconds(2D), stopDate); try { - intervalWriter.writeBoolean(true); + interval.writeBoolean(true); } finally { - DisposeHelper.dispose(intervalWriter); + DisposeHelper.dispose(interval); } } } finally { - DisposeHelper.dispose(intervalListWriter); + DisposeHelper.dispose(showIntervals); } } } finally { - DisposeHelper.dispose(showWriter); + DisposeHelper.dispose(show); } } } finally { - DisposeHelper.dispose(billboardWriter); + DisposeHelper.dispose(billboard); } } } finally { @@ -124,10 +119,10 @@ public final void testScaleByDistanceProperty() { final PacketCesiumWriter usingExpression_2 = (getPacket()); try { { - BillboardCesiumWriter billboard = getPacket().openBillboardProperty(); + cesiumlanguagewriter.BillboardCesiumWriter billboard = getPacket().openBillboardProperty(); try { { - BillboardCesiumWriter interval = billboard.openInterval(); + cesiumlanguagewriter.BillboardCesiumWriter interval = billboard.openInterval(); try { interval.writeScaleByDistanceProperty(new NearFarScalar(100.0, 1.0, 200.0, 2.0)); } finally { @@ -147,18 +142,18 @@ public final void testScaleByDistanceProperty() { @Test public final void testScaleByDistancePropertySamples() { - JulianDate startDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0D)); + cesiumlanguagewriter.JulianDate startDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0D)); { final PacketCesiumWriter usingExpression_3 = (getPacket()); try { { - BillboardCesiumWriter billboard = getPacket().openBillboardProperty(); + cesiumlanguagewriter.BillboardCesiumWriter billboard = getPacket().openBillboardProperty(); try { { - BillboardCesiumWriter interval = billboard.openInterval(); + cesiumlanguagewriter.BillboardCesiumWriter interval = billboard.openInterval(); try { { - NearFarScalarCesiumWriter scaleByDistance = interval.openScaleByDistanceProperty(); + cesiumlanguagewriter.NearFarScalarCesiumWriter scaleByDistance = interval.openScaleByDistanceProperty(); try { ArrayList<cesiumlanguagewriter.JulianDate> dates = new ArrayList<cesiumlanguagewriter.JulianDate>(); ArrayList<cesiumlanguagewriter.NearFarScalar> values = new ArrayList<cesiumlanguagewriter.NearFarScalar>(); @@ -186,6 +181,65 @@ public final void testScaleByDistancePropertySamples() { Assert.assertEquals("{\"billboard\":{\"scaleByDistance\":{\"epoch\":\"20120402T12Z\",\"nearFarScalar\":[0,100,1,200,2,60,200,1,300,2]}}}", getStringWriter().toString()); } + @Test + public final void testDeleteAlignedAxis() { + { + final PacketCesiumWriter usingExpression_4 = (getPacket()); + try { + { + cesiumlanguagewriter.BillboardCesiumWriter billboard = getPacket().openBillboardProperty(); + try { + { + cesiumlanguagewriter.AlignedAxisCesiumWriter alignedAxis = billboard.openAlignedAxisProperty(); + try { + alignedAxis.writeDelete(true); + } finally { + DisposeHelper.dispose(alignedAxis); + } + } + } finally { + DisposeHelper.dispose(billboard); + } + } + } finally { + DisposeHelper.dispose(usingExpression_4); + } + } + Assert.assertEquals("{\"billboard\":{\"alignedAxis\":{\"delete\":true}}}", getStringWriter().toString()); + } + + @Test + public final void testDeleteScale() { + { + final PacketCesiumWriter usingExpression_5 = (getPacket()); + try { + { + cesiumlanguagewriter.BillboardCesiumWriter billboard = getPacket().openBillboardProperty(); + try { + { + cesiumlanguagewriter.DoubleCesiumWriter scale = billboard.openScaleProperty(); + try { + scale.writeDelete(true); + } finally { + DisposeHelper.dispose(scale); + } + } + } finally { + DisposeHelper.dispose(billboard); + } + } + } finally { + DisposeHelper.dispose(usingExpression_5); + } + } + Assert.assertEquals("{\"billboard\":{\"scale\":{\"delete\":true}}}", getStringWriter().toString()); + } + + @Override + protected CesiumPropertyWriter<BillboardCesiumWriter> createPropertyWriter(String propertyName) { + return new BillboardCesiumWriter(propertyName); + } + @Nonnull private final TestContextRule rule$testContext = new TestContextRule(); diff --git a/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestBooleanCesiumWriter.java b/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestBooleanCesiumWriter.java index 5a89dddd..df85a32b 100644 --- a/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestBooleanCesiumWriter.java +++ b/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestBooleanCesiumWriter.java @@ -27,7 +27,7 @@ public final void booleanCanBeWrittenAsSimpleBoolean() { final PacketCesiumWriter usingExpression_0 = (getPacket()); try { { - BooleanCesiumWriter writer = new BooleanCesiumWriter("foo"); + cesiumlanguagewriter.BooleanCesiumWriter writer = new BooleanCesiumWriter("foo"); try { writer.open(getOutputStream()); writer.writeBoolean(false); @@ -44,12 +44,12 @@ public final void booleanCanBeWrittenAsSimpleBoolean() { @Test public final void booleanCanBeWrittenInsideInterval() { - JulianDate startDate = new GregorianDate(2012, 6, 7, 12, 0, 0D).toJulianDate(); + cesiumlanguagewriter.JulianDate startDate = new GregorianDate(2012, 6, 7, 12, 0, 0D).toJulianDate(); { final PacketCesiumWriter usingExpression_1 = (getPacket()); try { { - BooleanCesiumWriter writer = new BooleanCesiumWriter("foo"); + cesiumlanguagewriter.BooleanCesiumWriter writer = new BooleanCesiumWriter("foo"); try { writer.open(getOutputStream()); writer.writeInterval(startDate, startDate.addSeconds(100.0)); @@ -65,6 +65,53 @@ public final void booleanCanBeWrittenInsideInterval() { Assert.assertEquals("{\"foo\":{\"interval\":\"20120607T12Z/20120607T120140Z\",\"boolean\":false}}", getStringWriter().toString()); } + @Test + public final void testDeletePropertyWithStartAndStop() { + cesiumlanguagewriter.JulianDate start = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0D)); + cesiumlanguagewriter.JulianDate stop = start.addDays(1.0); + { + final PacketCesiumWriter usingExpression_2 = (getPacket()); + try { + getPacket().writeId("id"); + { + cesiumlanguagewriter.BooleanCesiumWriter writer = new BooleanCesiumWriter("foo"); + try { + writer.open(getOutputStream()); + writer.writeInterval(start, stop); + writer.writeDelete(true); + } finally { + DisposeHelper.dispose(writer); + } + } + } finally { + DisposeHelper.dispose(usingExpression_2); + } + } + Assert.assertEquals("{\"id\":\"id\",\"foo\":{\"interval\":\"20120402T12Z/20120403T12Z\",\"delete\":true}}", getStringWriter().toString()); + } + + @Test + public final void testDeletePropertyWithNoInterval() { + { + final PacketCesiumWriter usingExpression_3 = (getPacket()); + try { + getPacket().writeId("id"); + { + cesiumlanguagewriter.BooleanCesiumWriter writer = new BooleanCesiumWriter("foo"); + try { + writer.open(getOutputStream()); + writer.writeDelete(true); + } finally { + DisposeHelper.dispose(writer); + } + } + } finally { + DisposeHelper.dispose(usingExpression_3); + } + } + Assert.assertEquals("{\"id\":\"id\",\"foo\":{\"delete\":true}}", getStringWriter().toString()); + } + @Override protected CesiumPropertyWriter<BooleanCesiumWriter> createPropertyWriter(String propertyName) { return new BooleanCesiumWriter(propertyName); diff --git a/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestDoubleCesiumWriter.java b/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestDoubleCesiumWriter.java index 2adb3894..e20ffb32 100644 --- a/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestDoubleCesiumWriter.java +++ b/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestDoubleCesiumWriter.java @@ -27,7 +27,7 @@ public final void doubleCanBeWrittenAsSimpleNumber() { final PacketCesiumWriter usingExpression_0 = (getPacket()); try { { - DoubleCesiumWriter writer = new DoubleCesiumWriter("foo"); + cesiumlanguagewriter.DoubleCesiumWriter writer = new DoubleCesiumWriter("foo"); try { writer.open(getOutputStream()); writer.writeNumber(1.23); @@ -44,12 +44,12 @@ public final void doubleCanBeWrittenAsSimpleNumber() { @Test public final void doubleCanBeWrittenInsideInterval() { - JulianDate startDate = new GregorianDate(2012, 6, 7, 12, 0, 0D).toJulianDate(); + cesiumlanguagewriter.JulianDate startDate = new GregorianDate(2012, 6, 7, 12, 0, 0D).toJulianDate(); { final PacketCesiumWriter usingExpression_1 = (getPacket()); try { { - DoubleCesiumWriter writer = new DoubleCesiumWriter("foo"); + cesiumlanguagewriter.DoubleCesiumWriter writer = new DoubleCesiumWriter("foo"); try { writer.open(getOutputStream()); writer.writeInterval(startDate, startDate.addSeconds(100.0)); @@ -65,6 +65,53 @@ public final void doubleCanBeWrittenInsideInterval() { Assert.assertEquals("{\"foo\":{\"interval\":\"20120607T12Z/20120607T120140Z\",\"number\":1.23}}", getStringWriter().toString()); } + @Test + public final void testDeletePropertyWithStartAndStop() { + cesiumlanguagewriter.JulianDate start = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0D)); + cesiumlanguagewriter.JulianDate stop = start.addDays(1.0); + { + final PacketCesiumWriter usingExpression_2 = (getPacket()); + try { + getPacket().writeId("id"); + { + cesiumlanguagewriter.DoubleCesiumWriter writer = new DoubleCesiumWriter("foo"); + try { + writer.open(getOutputStream()); + writer.writeInterval(start, stop); + writer.writeDelete(true); + } finally { + DisposeHelper.dispose(writer); + } + } + } finally { + DisposeHelper.dispose(usingExpression_2); + } + } + Assert.assertEquals("{\"id\":\"id\",\"foo\":{\"interval\":\"20120402T12Z/20120403T12Z\",\"delete\":true}}", getStringWriter().toString()); + } + + @Test + public final void testDeletePropertyWithNoInterval() { + { + final PacketCesiumWriter usingExpression_3 = (getPacket()); + try { + getPacket().writeId("id"); + { + cesiumlanguagewriter.DoubleCesiumWriter writer = new DoubleCesiumWriter("foo"); + try { + writer.open(getOutputStream()); + writer.writeDelete(true); + } finally { + DisposeHelper.dispose(writer); + } + } + } finally { + DisposeHelper.dispose(usingExpression_3); + } + } + Assert.assertEquals("{\"id\":\"id\",\"foo\":{\"delete\":true}}", getStringWriter().toString()); + } + @Override protected CesiumPropertyWriter<DoubleCesiumWriter> createPropertyWriter(String propertyName) { return new DoubleCesiumWriter(propertyName); diff --git a/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestOrientationCesiumWriter.java b/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestOrientationCesiumWriter.java index dbf2137d..c9421ca0 100644 --- a/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestOrientationCesiumWriter.java +++ b/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestOrientationCesiumWriter.java @@ -11,6 +11,7 @@ import java.util.ArrayList; import java.util.Collection; import javax.annotation.Nonnull; +import org.junit.Assert; import org.junit.FixMethodOrder; import org.junit.Rule; import org.junit.runners.MethodSorters; @@ -25,115 +26,166 @@ public class TestOrientationCesiumWriter extends TestCesiumInterpolatablePropertyWriter<OrientationCesiumWriter> { @Test public final void testCompleteExample() { + cesiumlanguagewriter.JulianDate date = new JulianDate(2451545.0); + final String id = "MyID"; + cesiumlanguagewriter.TimeInterval availability = new TimeInterval(date, date.addDays(2.0)); + cesiumlanguagewriter.TimeInterval interval1 = new TimeInterval(date, date.addDays(1.0)); + cesiumlanguagewriter.Cartesian interval1Position = new Cartesian(1.0, 2.0, 3.0); + cesiumlanguagewriter.UnitQuaternion interval1Orientation = new UnitQuaternion(1D, 0D, 0D, 0D); + cesiumlanguagewriter.TimeInterval interval2 = new TimeInterval(date.addDays(1.0), date.addDays(2.0)); + final ArrayList<cesiumlanguagewriter.JulianDate> tempCollection$0 = new ArrayList<cesiumlanguagewriter.JulianDate>(); + tempCollection$0.add(date.addDays(1.0)); + tempCollection$0.add(date.addDays(1.5)); + tempCollection$0.add(date.addDays(2.0)); + ArrayList<cesiumlanguagewriter.JulianDate> interval2SampleDates = tempCollection$0; + final ArrayList<cesiumlanguagewriter.Cartographic> tempCollection$1 = new ArrayList<cesiumlanguagewriter.Cartographic>(); + tempCollection$1.add(Cartographic.getZero()); + tempCollection$1.add(new Cartographic(1.0, 0.0, 0.0)); + tempCollection$1.add(new Cartographic(0.0, 1.0, 0.0)); + ArrayList<cesiumlanguagewriter.Cartographic> interval2SamplePositions = tempCollection$1; + final ArrayList<cesiumlanguagewriter.UnitQuaternion> tempCollection$2 = new ArrayList<cesiumlanguagewriter.UnitQuaternion>(); + tempCollection$2.add(UnitQuaternion.getIdentity()); + tempCollection$2.add(new UnitQuaternion(0.0, 1.0, 0.0, 0.0)); + tempCollection$2.add(new UnitQuaternion(0.0, 0.0, 1.0, 0.0)); + ArrayList<cesiumlanguagewriter.UnitQuaternion> interval2SampleOrientations = tempCollection$2; + final CesiumInterpolationAlgorithm orientationInterpolationAlgorithm = CesiumInterpolationAlgorithm.LINEAR; + final int orientationInterpolationDegree = 1; + final CesiumOutputStream tempObj$0 = new CesiumOutputStream(getStringWriter()); + tempObj$0.setPrettyFormatting(true); + cesiumlanguagewriter.CesiumOutputStream outputStream = tempObj$0; + cesiumlanguagewriter.CesiumStreamWriter writer = new CesiumStreamWriter(); { - StringWriter stringWriter = new StringWriter(); + cesiumlanguagewriter.PacketCesiumWriter packet = writer.openPacket(outputStream); try { - cesiumlanguagewriter.JulianDate date = new JulianDate(2451545.0); - final String id = "MyID"; - cesiumlanguagewriter.TimeInterval availability = new TimeInterval(date, date.addDays(2.0)); - cesiumlanguagewriter.TimeInterval interval1 = new TimeInterval(date, date.addDays(1.0)); - cesiumlanguagewriter.Cartesian interval1Position = new Cartesian(1.0, 2.0, 3.0); - cesiumlanguagewriter.UnitQuaternion interval1Orientation = new UnitQuaternion(1D, 0D, 0D, 0D); - cesiumlanguagewriter.TimeInterval interval2 = new TimeInterval(date.addDays(1.0), date.addDays(2.0)); - final ArrayList<cesiumlanguagewriter.JulianDate> tempCollection$0 = new ArrayList<cesiumlanguagewriter.JulianDate>(); - tempCollection$0.add(date.addDays(1.0)); - tempCollection$0.add(date.addDays(1.5)); - tempCollection$0.add(date.addDays(2.0)); - ArrayList<cesiumlanguagewriter.JulianDate> interval2SampleDates = tempCollection$0; - final ArrayList<cesiumlanguagewriter.Cartographic> tempCollection$1 = new ArrayList<cesiumlanguagewriter.Cartographic>(); - tempCollection$1.add(Cartographic.getZero()); - tempCollection$1.add(new Cartographic(1.0, 0.0, 0.0)); - tempCollection$1.add(new Cartographic(0.0, 1.0, 0.0)); - ArrayList<cesiumlanguagewriter.Cartographic> interval2SamplePositions = tempCollection$1; - final ArrayList<cesiumlanguagewriter.UnitQuaternion> tempCollection$2 = new ArrayList<cesiumlanguagewriter.UnitQuaternion>(); - tempCollection$2.add(UnitQuaternion.getIdentity()); - tempCollection$2.add(new UnitQuaternion(0.0, 1.0, 0.0, 0.0)); - tempCollection$2.add(new UnitQuaternion(0.0, 0.0, 1.0, 0.0)); - ArrayList<cesiumlanguagewriter.UnitQuaternion> interval2SampleOrientations = tempCollection$2; - final CesiumInterpolationAlgorithm orientationInterpolationAlgorithm = CesiumInterpolationAlgorithm.LINEAR; - final int orientationInterpolationDegree = 1; - final CesiumOutputStream tempObj$0 = new CesiumOutputStream(stringWriter); - tempObj$0.setPrettyFormatting(true); - cesiumlanguagewriter.CesiumOutputStream outputStream = tempObj$0; - cesiumlanguagewriter.CesiumStreamWriter writer = new CesiumStreamWriter(); + packet.writeId(id); + packet.writeAvailability(availability); { - cesiumlanguagewriter.PacketCesiumWriter packet = writer.openPacket(outputStream); + cesiumlanguagewriter.PositionCesiumWriter positionWriter = packet.openPositionProperty(); try { - packet.writeId(id); - packet.writeAvailability(availability); { - cesiumlanguagewriter.PositionCesiumWriter positionWriter = packet.openPositionProperty(); + cesiumlanguagewriter.CesiumIntervalListWriter<cesiumlanguagewriter.PositionCesiumWriter> intervalListWriter = positionWriter.openMultipleIntervals(); try { { - cesiumlanguagewriter.CesiumIntervalListWriter<cesiumlanguagewriter.PositionCesiumWriter> intervalListWriter = positionWriter.openMultipleIntervals(); + cesiumlanguagewriter.PositionCesiumWriter interval = intervalListWriter.openInterval(); try { - { - cesiumlanguagewriter.PositionCesiumWriter interval = intervalListWriter.openInterval(); - try { - interval.writeInterval(interval1); - interval.writeCartesian(interval1Position); - } finally { - DisposeHelper.dispose(interval); - } - } - { - cesiumlanguagewriter.PositionCesiumWriter interval = intervalListWriter.openInterval(interval2.getStart(), interval2.getStop()); - try { - interval.writeCartographicRadians(interval2SampleDates, interval2SamplePositions); - } finally { - DisposeHelper.dispose(interval); - } - } + interval.writeInterval(interval1); + interval.writeCartesian(interval1Position); } finally { - DisposeHelper.dispose(intervalListWriter); + DisposeHelper.dispose(interval); + } + } + { + cesiumlanguagewriter.PositionCesiumWriter interval = intervalListWriter.openInterval(interval2.getStart(), interval2.getStop()); + try { + interval.writeCartographicRadians(interval2SampleDates, interval2SamplePositions); + } finally { + DisposeHelper.dispose(interval); } } } finally { - DisposeHelper.dispose(positionWriter); + DisposeHelper.dispose(intervalListWriter); } } + } finally { + DisposeHelper.dispose(positionWriter); + } + } + { + cesiumlanguagewriter.OrientationCesiumWriter orientationWriter = packet.openOrientationProperty(); + try { { - cesiumlanguagewriter.OrientationCesiumWriter orientationWriter = packet.openOrientationProperty(); + cesiumlanguagewriter.CesiumIntervalListWriter<cesiumlanguagewriter.OrientationCesiumWriter> intervalListWriter = orientationWriter.openMultipleIntervals(); try { { - cesiumlanguagewriter.CesiumIntervalListWriter<cesiumlanguagewriter.OrientationCesiumWriter> intervalListWriter = orientationWriter.openMultipleIntervals(); + cesiumlanguagewriter.OrientationCesiumWriter interval = intervalListWriter.openInterval(); + try { + interval.writeInterval(interval1); + interval.writeUnitQuaternion(interval1Orientation); + } finally { + DisposeHelper.dispose(interval); + } + } + { + cesiumlanguagewriter.OrientationCesiumWriter interval = intervalListWriter.openInterval(interval2.getStart(), interval2.getStop()); try { - { - cesiumlanguagewriter.OrientationCesiumWriter interval = intervalListWriter.openInterval(); - try { - interval.writeInterval(interval1); - interval.writeUnitQuaternion(interval1Orientation); - } finally { - DisposeHelper.dispose(interval); - } - } - { - cesiumlanguagewriter.OrientationCesiumWriter interval = intervalListWriter.openInterval(interval2.getStart(), interval2.getStop()); - try { - interval.writeInterpolationAlgorithm(orientationInterpolationAlgorithm); - interval.writeInterpolationDegree(orientationInterpolationDegree); - interval.writeUnitQuaternion(interval2SampleDates, interval2SampleOrientations); - } finally { - DisposeHelper.dispose(interval); - } - } + interval.writeInterpolationAlgorithm(orientationInterpolationAlgorithm); + interval.writeInterpolationDegree(orientationInterpolationDegree); + interval.writeUnitQuaternion(interval2SampleDates, interval2SampleOrientations); } finally { - DisposeHelper.dispose(intervalListWriter); + DisposeHelper.dispose(interval); } } } finally { - DisposeHelper.dispose(orientationWriter); + DisposeHelper.dispose(intervalListWriter); + } + } + } finally { + DisposeHelper.dispose(orientationWriter); + } + } + } finally { + DisposeHelper.dispose(packet); + } + } + ConsoleHelper.writeLine(getStringWriter().toString()); + } + + @Test + public final void testDeletePropertyWithStartAndStop() { + cesiumlanguagewriter.JulianDate start = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0D)); + cesiumlanguagewriter.JulianDate stop = start.addDays(1.0); + { + final PacketCesiumWriter usingExpression_0 = (getPacket()); + try { + getPacket().writeId("id"); + { + cesiumlanguagewriter.OrientationCesiumWriter orientation = getPacket().openOrientationProperty(); + try { + { + cesiumlanguagewriter.OrientationCesiumWriter interval = orientation.openInterval(start, stop); + try { + interval.writeDelete(true); + } finally { + DisposeHelper.dispose(interval); + } + } + } finally { + DisposeHelper.dispose(orientation); + } + } + } finally { + DisposeHelper.dispose(usingExpression_0); + } + } + Assert.assertEquals("{\"id\":\"id\",\"orientation\":{\"interval\":\"20120402T12Z/20120403T12Z\",\"delete\":true}}", getStringWriter().toString()); + } + + @Test + public final void testDeletePropertyWithNoInterval() { + { + final PacketCesiumWriter usingExpression_1 = (getPacket()); + try { + getPacket().writeId("id"); + { + cesiumlanguagewriter.OrientationCesiumWriter orientation = getPacket().openOrientationProperty(); + try { + { + cesiumlanguagewriter.OrientationCesiumWriter interval = orientation.openInterval(); + try { + interval.writeDelete(true); + } finally { + DisposeHelper.dispose(interval); } } } finally { - DisposeHelper.dispose(packet); + DisposeHelper.dispose(orientation); } } - ConsoleHelper.writeLine(stringWriter.toString()); } finally { - DisposeHelper.dispose(stringWriter); + DisposeHelper.dispose(usingExpression_1); } } + Assert.assertEquals("{\"id\":\"id\",\"orientation\":{\"delete\":true}}", getStringWriter().toString()); } @Override diff --git a/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestPositionCesiumWriter.java b/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestPositionCesiumWriter.java index cf2d1d11..5b23b59a 100644 --- a/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestPositionCesiumWriter.java +++ b/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestPositionCesiumWriter.java @@ -29,10 +29,10 @@ public final void referenceFrameValueWritesReferenceFrameProperty() { final PacketCesiumWriter usingExpression_0 = (getPacket()); try { { - PositionCesiumWriter position = getPacket().openPositionProperty(); + cesiumlanguagewriter.PositionCesiumWriter position = getPacket().openPositionProperty(); try { { - PositionCesiumWriter interval = position.openInterval(); + cesiumlanguagewriter.PositionCesiumWriter interval = position.openInterval(); try { interval.writeReferenceFrame("myReferenceFrame"); } finally { @@ -56,10 +56,10 @@ public final void cartesianValueWritesSingleCartesianProperty() { final PacketCesiumWriter usingExpression_1 = (getPacket()); try { { - PositionCesiumWriter position = getPacket().openPositionProperty(); + cesiumlanguagewriter.PositionCesiumWriter position = getPacket().openPositionProperty(); try { { - PositionCesiumWriter interval = position.openInterval(); + cesiumlanguagewriter.PositionCesiumWriter interval = position.openInterval(); try { interval.writeCartesian(new Cartesian(1.0, 2.0, 3.0)); } finally { @@ -83,10 +83,10 @@ public final void cartographicRadiansValueWritesSingleCartographicRadiansPropert final PacketCesiumWriter usingExpression_2 = (getPacket()); try { { - PositionCesiumWriter position = getPacket().openPositionProperty(); + cesiumlanguagewriter.PositionCesiumWriter position = getPacket().openPositionProperty(); try { { - PositionCesiumWriter interval = position.openInterval(); + cesiumlanguagewriter.PositionCesiumWriter interval = position.openInterval(); try { interval.writeCartographicRadians(new Cartographic(1100.0, 2200.0, 3.0)); } finally { @@ -106,15 +106,15 @@ public final void cartographicRadiansValueWritesSingleCartographicRadiansPropert @Test public final void cartesianValueWritesMultipleCartesianProperty() { - JulianDate startDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0D)); + cesiumlanguagewriter.JulianDate startDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0D)); { final PacketCesiumWriter usingExpression_3 = (getPacket()); try { { - PositionCesiumWriter position = getPacket().openPositionProperty(); + cesiumlanguagewriter.PositionCesiumWriter position = getPacket().openPositionProperty(); try { { - PositionCesiumWriter interval = position.openInterval(); + cesiumlanguagewriter.PositionCesiumWriter interval = position.openInterval(); try { ArrayList<cesiumlanguagewriter.JulianDate> dates = new ArrayList<cesiumlanguagewriter.JulianDate>(); ArrayList<cesiumlanguagewriter.Cartesian> positions = new ArrayList<cesiumlanguagewriter.Cartesian>(); @@ -140,15 +140,15 @@ public final void cartesianValueWritesMultipleCartesianProperty() { @Test public final void cartesianValueSubsetWritesMultipleCartesianProperty() { - JulianDate startDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0D)); + cesiumlanguagewriter.JulianDate startDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0D)); { final PacketCesiumWriter usingExpression_4 = (getPacket()); try { { - PositionCesiumWriter position = getPacket().openPositionProperty(); + cesiumlanguagewriter.PositionCesiumWriter position = getPacket().openPositionProperty(); try { { - PositionCesiumWriter interval = position.openInterval(); + cesiumlanguagewriter.PositionCesiumWriter interval = position.openInterval(); try { ArrayList<cesiumlanguagewriter.JulianDate> dates = new ArrayList<cesiumlanguagewriter.JulianDate>(); ArrayList<cesiumlanguagewriter.Cartesian> positions = new ArrayList<cesiumlanguagewriter.Cartesian>(); @@ -176,15 +176,15 @@ public final void cartesianValueSubsetWritesMultipleCartesianProperty() { @Test public final void cartographicRadiansValueWritesMultipleCartographicRadiansProperty() { - JulianDate startDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0D)); + cesiumlanguagewriter.JulianDate startDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0D)); { final PacketCesiumWriter usingExpression_5 = (getPacket()); try { { - PositionCesiumWriter position = getPacket().openPositionProperty(); + cesiumlanguagewriter.PositionCesiumWriter position = getPacket().openPositionProperty(); try { { - PositionCesiumWriter interval = position.openInterval(); + cesiumlanguagewriter.PositionCesiumWriter interval = position.openInterval(); try { ArrayList<cesiumlanguagewriter.JulianDate> dates = new ArrayList<cesiumlanguagewriter.JulianDate>(); ArrayList<cesiumlanguagewriter.Cartographic> positions = new ArrayList<cesiumlanguagewriter.Cartographic>(); @@ -210,15 +210,15 @@ public final void cartographicRadiansValueWritesMultipleCartographicRadiansPrope @Test public final void cartographicRadiansValueSubsetWritesMultipleCartographicRadiansProperty() { - JulianDate startDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0D)); + cesiumlanguagewriter.JulianDate startDate = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0D)); { final PacketCesiumWriter usingExpression_6 = (getPacket()); try { { - PositionCesiumWriter position = getPacket().openPositionProperty(); + cesiumlanguagewriter.PositionCesiumWriter position = getPacket().openPositionProperty(); try { { - PositionCesiumWriter interval = position.openInterval(); + cesiumlanguagewriter.PositionCesiumWriter interval = position.openInterval(); try { ArrayList<cesiumlanguagewriter.JulianDate> dates = new ArrayList<cesiumlanguagewriter.JulianDate>(); ArrayList<cesiumlanguagewriter.Cartographic> positions = new ArrayList<cesiumlanguagewriter.Cartographic>(); @@ -250,10 +250,10 @@ public final void cartesianValueWritesEmptyArrayAndDoesNotWriteEpochWhenGivenAnE final PacketCesiumWriter usingExpression_7 = (getPacket()); try { { - PositionCesiumWriter position = getPacket().openPositionProperty(); + cesiumlanguagewriter.PositionCesiumWriter position = getPacket().openPositionProperty(); try { { - PositionCesiumWriter interval = position.openInterval(); + cesiumlanguagewriter.PositionCesiumWriter interval = position.openInterval(); try { ArrayList<cesiumlanguagewriter.JulianDate> dates = new ArrayList<cesiumlanguagewriter.JulianDate>(); ArrayList<cesiumlanguagewriter.Cartesian> positions = new ArrayList<cesiumlanguagewriter.Cartesian>(); @@ -279,10 +279,10 @@ public final void cartographicRadiansValueWritesEmptyArrayAndDoesNotWriteEpochWh final PacketCesiumWriter usingExpression_8 = (getPacket()); try { { - PositionCesiumWriter position = getPacket().openPositionProperty(); + cesiumlanguagewriter.PositionCesiumWriter position = getPacket().openPositionProperty(); try { { - PositionCesiumWriter interval = position.openInterval(); + cesiumlanguagewriter.PositionCesiumWriter interval = position.openInterval(); try { ArrayList<cesiumlanguagewriter.JulianDate> dates = new ArrayList<cesiumlanguagewriter.JulianDate>(); ArrayList<cesiumlanguagewriter.Cartographic> positions = new ArrayList<cesiumlanguagewriter.Cartographic>(); @@ -302,6 +302,64 @@ public final void cartographicRadiansValueWritesEmptyArrayAndDoesNotWriteEpochWh Assert.assertEquals("{\"position\":{\"cartographicRadians\":[]}}", getStringWriter().toString()); } + @Test + public final void testDeletePropertyWithStartAndStop() { + cesiumlanguagewriter.JulianDate start = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0D)); + cesiumlanguagewriter.JulianDate stop = start.addDays(1.0); + { + final PacketCesiumWriter usingExpression_9 = (getPacket()); + try { + getPacket().writeId("id"); + { + cesiumlanguagewriter.PositionCesiumWriter position = getPacket().openPositionProperty(); + try { + { + cesiumlanguagewriter.PositionCesiumWriter interval = position.openInterval(start, stop); + try { + interval.writeDelete(true); + } finally { + DisposeHelper.dispose(interval); + } + } + } finally { + DisposeHelper.dispose(position); + } + } + } finally { + DisposeHelper.dispose(usingExpression_9); + } + } + Assert.assertEquals("{\"id\":\"id\",\"position\":{\"interval\":\"20120402T12Z/20120403T12Z\",\"delete\":true}}", getStringWriter().toString()); + } + + @Test + public final void testDeletePropertyWithNoInterval() { + { + final PacketCesiumWriter usingExpression_10 = (getPacket()); + try { + getPacket().writeId("id"); + { + cesiumlanguagewriter.PositionCesiumWriter position = getPacket().openPositionProperty(); + try { + { + cesiumlanguagewriter.PositionCesiumWriter interval = position.openInterval(); + try { + interval.writeDelete(true); + } finally { + DisposeHelper.dispose(interval); + } + } + } finally { + DisposeHelper.dispose(position); + } + } + } finally { + DisposeHelper.dispose(usingExpression_10); + } + } + Assert.assertEquals("{\"id\":\"id\",\"position\":{\"delete\":true}}", getStringWriter().toString()); + } + @Override protected CesiumPropertyWriter<PositionCesiumWriter> createPropertyWriter(String propertyName) { return new PositionCesiumWriter(propertyName); diff --git a/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestStringCesiumWriter.java b/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestStringCesiumWriter.java index bf957851..292c0f79 100644 --- a/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestStringCesiumWriter.java +++ b/Java/CesiumLanguageWriterTests/translatedSrc/cesiumlanguagewritertests/TestStringCesiumWriter.java @@ -27,7 +27,7 @@ public final void stringCanBeWrittenAsSimpleString() { final PacketCesiumWriter usingExpression_0 = (getPacket()); try { { - StringCesiumWriter writer = new StringCesiumWriter("foo"); + cesiumlanguagewriter.StringCesiumWriter writer = new StringCesiumWriter("foo"); try { writer.open(getOutputStream()); writer.writeString("bar"); @@ -44,12 +44,12 @@ public final void stringCanBeWrittenAsSimpleString() { @Test public final void stringCanBeWrittenInsideInterval() { - JulianDate startDate = new GregorianDate(2012, 6, 7, 12, 0, 0D).toJulianDate(); + cesiumlanguagewriter.JulianDate startDate = new GregorianDate(2012, 6, 7, 12, 0, 0D).toJulianDate(); { final PacketCesiumWriter usingExpression_1 = (getPacket()); try { { - StringCesiumWriter writer = new StringCesiumWriter("foo"); + cesiumlanguagewriter.StringCesiumWriter writer = new StringCesiumWriter("foo"); try { writer.open(getOutputStream()); writer.writeInterval(startDate, startDate.addSeconds(100.0)); @@ -65,6 +65,53 @@ public final void stringCanBeWrittenInsideInterval() { Assert.assertEquals("{\"foo\":{\"interval\":\"20120607T12Z/20120607T120140Z\",\"string\":\"bar\"}}", getStringWriter().toString()); } + @Test + public final void testDeletePropertyWithStartAndStop() { + cesiumlanguagewriter.JulianDate start = new JulianDate(new GregorianDate(2012, 4, 2, 12, 0, 0D)); + cesiumlanguagewriter.JulianDate stop = start.addDays(1.0); + { + final PacketCesiumWriter usingExpression_2 = (getPacket()); + try { + getPacket().writeId("id"); + { + cesiumlanguagewriter.StringCesiumWriter writer = new StringCesiumWriter("foo"); + try { + writer.open(getOutputStream()); + writer.writeInterval(start, stop); + writer.writeDelete(true); + } finally { + DisposeHelper.dispose(writer); + } + } + } finally { + DisposeHelper.dispose(usingExpression_2); + } + } + Assert.assertEquals("{\"id\":\"id\",\"foo\":{\"interval\":\"20120402T12Z/20120403T12Z\",\"delete\":true}}", getStringWriter().toString()); + } + + @Test + public final void testDeletePropertyWithNoInterval() { + { + final PacketCesiumWriter usingExpression_3 = (getPacket()); + try { + getPacket().writeId("id"); + { + cesiumlanguagewriter.StringCesiumWriter writer = new StringCesiumWriter("foo"); + try { + writer.open(getOutputStream()); + writer.writeDelete(true); + } finally { + DisposeHelper.dispose(writer); + } + } + } finally { + DisposeHelper.dispose(usingExpression_3); + } + } + Assert.assertEquals("{\"id\":\"id\",\"foo\":{\"delete\":true}}", getStringWriter().toString()); + } + @Override protected CesiumPropertyWriter<StringCesiumWriter> createPropertyWriter(String propertyName) { return new StringCesiumWriter(propertyName); diff --git a/Schema/AlignedAxis.json b/Schema/AlignedAxis.json index 7eb8ad89..973c7582 100644 --- a/Schema/AlignedAxis.json +++ b/Schema/AlignedAxis.json @@ -33,6 +33,10 @@ "$ref": "ReferenceValue.json", "description": "The axis specified as the normalized velocity vector of a position property. The reference must be to a `position` property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/ArcType.json b/Schema/ArcType.json index c893877d..7e88fd00 100644 --- a/Schema/ArcType.json +++ b/Schema/ArcType.json @@ -21,6 +21,10 @@ "$ref": "ReferenceValue.json", "description": "The arc type specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/BackgroundPadding.json b/Schema/BackgroundPadding.json index 9875e0ba..79f22d14 100644 --- a/Schema/BackgroundPadding.json +++ b/Schema/BackgroundPadding.json @@ -23,6 +23,10 @@ "$ref": "ReferenceValue.json", "description": "The background padding specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/Billboard.json b/Schema/Billboard.json index 0740677f..8c71d732 100644 --- a/Schema/Billboard.json +++ b/Schema/Billboard.json @@ -55,7 +55,7 @@ }, "color": { "$ref": "Color.json", - "description": "The color of the billboard. This color value is multiplied with the values of the billboard's \"image\" to produce the final color.", + "description": "The color of the billboard. This color value is multiplied with the values of the billboard's `image` to produce the final color.", "default": "white" }, "rotation": { diff --git a/Schema/Boolean.json b/Schema/Boolean.json index 807392ef..08c35eb0 100644 --- a/Schema/Boolean.json +++ b/Schema/Boolean.json @@ -21,6 +21,10 @@ "$ref": "ReferenceValue.json", "description": "The boolean specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/BoundingRectangle.json b/Schema/BoundingRectangle.json index ec4d9a9e..9e5bcbb3 100644 --- a/Schema/BoundingRectangle.json +++ b/Schema/BoundingRectangle.json @@ -23,6 +23,10 @@ "$ref": "ReferenceValue.json", "description": "The bounding rectangle specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/BoxDimensions.json b/Schema/BoxDimensions.json index 3c76c72f..b7be60f4 100644 --- a/Schema/BoxDimensions.json +++ b/Schema/BoxDimensions.json @@ -23,6 +23,10 @@ "$ref": "ReferenceValue.json", "description": "The dimensions specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/Color.json b/Schema/Color.json index 6171c233..5b74a722 100644 --- a/Schema/Color.json +++ b/Schema/Color.json @@ -28,6 +28,10 @@ "$ref": "ReferenceValue.json", "description": "The color specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/ColorBlendMode.json b/Schema/ColorBlendMode.json index 85d09209..ac66ff55 100644 --- a/Schema/ColorBlendMode.json +++ b/Schema/ColorBlendMode.json @@ -21,6 +21,10 @@ "$ref": "ReferenceValue.json", "description": "The color blend mode specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/CornerType.json b/Schema/CornerType.json index 33a9d6e7..6e249837 100644 --- a/Schema/CornerType.json +++ b/Schema/CornerType.json @@ -21,6 +21,10 @@ "$ref": "ReferenceValue.json", "description": "The corner style specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/CustomProperty.json b/Schema/CustomProperty.json index 9888d069..c63cd675 100644 --- a/Schema/CustomProperty.json +++ b/Schema/CustomProperty.json @@ -143,6 +143,10 @@ "$ref": "VerticalOriginValue.json", "description": "The property specified as a vertical origin.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/Direction.json b/Schema/Direction.json index 74c15fd8..fe2a46ad 100644 --- a/Schema/Direction.json +++ b/Schema/Direction.json @@ -38,6 +38,10 @@ "$ref": "ReferenceValue.json", "description": "The direction specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/DirectionList.json b/Schema/DirectionList.json index fc444d72..a2863a9e 100644 --- a/Schema/DirectionList.json +++ b/Schema/DirectionList.json @@ -30,6 +30,10 @@ "$ref": "UnitCartesian3ListValue.json", "description": "The list of directions specified as three-dimensional unit magnitude Cartesian values, `[X, Y, Z, X, Y, Z, ...]`, in world coordinates in meters.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/DistanceDisplayCondition.json b/Schema/DistanceDisplayCondition.json index 8f30706c..0dbd29cb 100644 --- a/Schema/DistanceDisplayCondition.json +++ b/Schema/DistanceDisplayCondition.json @@ -23,6 +23,10 @@ "$ref": "ReferenceValue.json", "description": "The value specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/Double.json b/Schema/Double.json index 813d9f07..ad1b3826 100644 --- a/Schema/Double.json +++ b/Schema/Double.json @@ -24,6 +24,10 @@ "$ref": "ReferenceValue.json", "description": "The number specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/DoubleList.json b/Schema/DoubleList.json index 38c1f179..b68328fe 100644 --- a/Schema/DoubleList.json +++ b/Schema/DoubleList.json @@ -20,6 +20,10 @@ "$ref": "ReferenceListValue.json", "description": "The list of values specified as references. Each reference is to a property that defines a single value, which may change with time.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/EllipsoidRadii.json b/Schema/EllipsoidRadii.json index ae29951c..df195d23 100644 --- a/Schema/EllipsoidRadii.json +++ b/Schema/EllipsoidRadii.json @@ -23,6 +23,10 @@ "$ref": "ReferenceValue.json", "description": "The radii specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/Extensions/AGI/SensorVolumePortionToDisplay.json b/Schema/Extensions/AGI/SensorVolumePortionToDisplay.json index 6ac7756e..075c6e61 100644 --- a/Schema/Extensions/AGI/SensorVolumePortionToDisplay.json +++ b/Schema/Extensions/AGI/SensorVolumePortionToDisplay.json @@ -21,6 +21,10 @@ "$ref": "../../ReferenceValue.json", "description": "The part of a sensor to display, specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/EyeOffset.json b/Schema/EyeOffset.json index 4d98725f..1ac02fbe 100644 --- a/Schema/EyeOffset.json +++ b/Schema/EyeOffset.json @@ -23,6 +23,10 @@ "$ref": "ReferenceValue.json", "description": "The eye offset specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/Font.json b/Schema/Font.json index a3f7515a..2d891138 100644 --- a/Schema/Font.json +++ b/Schema/Font.json @@ -21,6 +21,10 @@ "$ref": "ReferenceValue.json", "description": "The font specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/HeightReference.json b/Schema/HeightReference.json index e5739c8e..0fc0bda8 100644 --- a/Schema/HeightReference.json +++ b/Schema/HeightReference.json @@ -21,6 +21,10 @@ "$ref": "ReferenceValue.json", "description": "The height reference specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/HorizontalOrigin.json b/Schema/HorizontalOrigin.json index b1d077b3..118d0337 100644 --- a/Schema/HorizontalOrigin.json +++ b/Schema/HorizontalOrigin.json @@ -21,6 +21,10 @@ "$ref": "ReferenceValue.json", "description": "The horizontal origin specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/Integer.json b/Schema/Integer.json index 93ca4e24..cfc8808d 100644 --- a/Schema/Integer.json +++ b/Schema/Integer.json @@ -24,6 +24,10 @@ "$ref": "ReferenceValue.json", "description": "The integer specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/LabelStyle.json b/Schema/LabelStyle.json index 23dd4412..39d7c9e8 100644 --- a/Schema/LabelStyle.json +++ b/Schema/LabelStyle.json @@ -21,6 +21,10 @@ "$ref": "ReferenceValue.json", "description": "The label style specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/LineCount.json b/Schema/LineCount.json index cee6e7b6..b0a09298 100644 --- a/Schema/LineCount.json +++ b/Schema/LineCount.json @@ -23,6 +23,10 @@ "$ref": "ReferenceValue.json", "description": "The number of grid lines along each axis specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/LineOffset.json b/Schema/LineOffset.json index a39fdaa1..117aa7fc 100644 --- a/Schema/LineOffset.json +++ b/Schema/LineOffset.json @@ -23,6 +23,10 @@ "$ref": "ReferenceValue.json", "description": "The offset of grid lines along each axis specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/LineThickness.json b/Schema/LineThickness.json index 8b444d0e..c30cbc35 100644 --- a/Schema/LineThickness.json +++ b/Schema/LineThickness.json @@ -23,6 +23,10 @@ "$ref": "ReferenceValue.json", "description": "The thickness specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/NearFarScalar.json b/Schema/NearFarScalar.json index 5b9a7acd..36515623 100644 --- a/Schema/NearFarScalar.json +++ b/Schema/NearFarScalar.json @@ -23,6 +23,10 @@ "$ref": "ReferenceValue.json", "description": "The value specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/Orientation.json b/Schema/Orientation.json index e99a8070..8785e823 100644 --- a/Schema/Orientation.json +++ b/Schema/Orientation.json @@ -32,6 +32,10 @@ "$ref": "ReferenceValue.json", "description": "The orientation specified as the normalized velocity vector of a position property. The reference must be to a `position` property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/PixelOffset.json b/Schema/PixelOffset.json index 608b175d..cb696279 100644 --- a/Schema/PixelOffset.json +++ b/Schema/PixelOffset.json @@ -23,6 +23,10 @@ "$ref": "ReferenceValue.json", "description": "The pixel offset specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/Position.json b/Schema/Position.json index 86a23939..3ea4a21e 100644 --- a/Schema/Position.json +++ b/Schema/Position.json @@ -49,6 +49,10 @@ "$ref": "ReferenceValue.json", "description": "The position specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/PositionList.json b/Schema/PositionList.json index cab7c18f..1cdf107b 100644 --- a/Schema/PositionList.json +++ b/Schema/PositionList.json @@ -35,6 +35,10 @@ "$ref": "ReferenceListValue.json", "description": "The list of positions specified as references. Each reference is to a property that defines a single position, which may change with time.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/RectangleCoordinates.json b/Schema/RectangleCoordinates.json index 4be5ec14..be6d209f 100644 --- a/Schema/RectangleCoordinates.json +++ b/Schema/RectangleCoordinates.json @@ -28,6 +28,10 @@ "$ref": "ReferenceValue.json", "description": "The set of coordinates specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/Repeat.json b/Schema/Repeat.json index e269f61a..c0e23851 100644 --- a/Schema/Repeat.json +++ b/Schema/Repeat.json @@ -23,6 +23,10 @@ "$ref": "ReferenceValue.json", "description": "The number of times the image repeats specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/Rotation.json b/Schema/Rotation.json index 0454cfb1..0abd4bca 100644 --- a/Schema/Rotation.json +++ b/Schema/Rotation.json @@ -27,6 +27,10 @@ "$ref": "ReferenceValue.json", "description": "The rotation specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/Scale.json b/Schema/Scale.json index 52a37a6a..aeda2fe0 100644 --- a/Schema/Scale.json +++ b/Schema/Scale.json @@ -23,6 +23,10 @@ "$ref": "ReferenceValue.json", "description": "The scale specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/ShadowMode.json b/Schema/ShadowMode.json index 7885ce05..9e415beb 100644 --- a/Schema/ShadowMode.json +++ b/Schema/ShadowMode.json @@ -21,6 +21,10 @@ "$ref": "ReferenceValue.json", "description": "The shadow mode specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/String.json b/Schema/String.json index bf98e3c6..7dac2c57 100644 --- a/Schema/String.json +++ b/Schema/String.json @@ -21,6 +21,10 @@ "$ref": "ReferenceValue.json", "description": "The string specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/StripeOrientation.json b/Schema/StripeOrientation.json index 053adab7..a6cb845f 100644 --- a/Schema/StripeOrientation.json +++ b/Schema/StripeOrientation.json @@ -21,6 +21,10 @@ "$ref": "ReferenceValue.json", "description": "The orientation of stripes specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/Translation.json b/Schema/Translation.json index 51399559..a4068038 100644 --- a/Schema/Translation.json +++ b/Schema/Translation.json @@ -23,6 +23,10 @@ "$ref": "ReferenceValue.json", "description": "The translation specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/Uri.json b/Schema/Uri.json index bcd53f93..323b4bcc 100644 --- a/Schema/Uri.json +++ b/Schema/Uri.json @@ -24,6 +24,10 @@ "$ref": "ReferenceValue.json", "description": "The URI specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/VerticalOrigin.json b/Schema/VerticalOrigin.json index a12f3da1..a3c59dd6 100644 --- a/Schema/VerticalOrigin.json +++ b/Schema/VerticalOrigin.json @@ -21,6 +21,10 @@ "$ref": "ReferenceValue.json", "description": "The vertical origin specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file diff --git a/Schema/ViewFrom.json b/Schema/ViewFrom.json index 74da8dee..ba70cf5f 100644 --- a/Schema/ViewFrom.json +++ b/Schema/ViewFrom.json @@ -26,6 +26,10 @@ "$ref": "ReferenceValue.json", "description": "The offset specified as a reference to another property.", "czmlValue": true + }, + "delete": { + "description": "Whether the client should delete existing samples or interval data for this property. Data will be deleted for the containing interval, or if there is no containing interval, then all data. If true, all other properties in this property will be ignored.", + "type": "boolean" } } } \ No newline at end of file