org.omg.space.xtce.schema.doc.SpaceSystemV1.2-27Feb2014-mods_ComparisonType.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xtcetools Show documentation
Show all versions of xtcetools Show documentation
This project contains software to support the Object Management Group (OMG) Space Domain Task Force (SDTF) maintained XML Telemetry and Command Exchange (XTCE) specification.
SpaceSystemV1.2-27Feb2014-mods - ComparisonType
complexType
ComparisonType
diagram
namespace
http://www.omg.org/space/xtce
type
extension of xtce:ParameterInstanceRefType
properties
base xtce:ParameterInstanceRefType
used by
elements CommandVerifierType/ComparisonList/Comparison CommandVerifierType/Comparison MatchCriteriaType/Comparison MatchCriteriaType/ComparisonList/Comparison
attributes
Name Type Use Default Fixed Annotation parameterRef xtce:NameReferenceType required instance integer 0 useCalibratedValue boolean true comparisonOperator xtce:ComparisonOperatorsType == value string required
annotation
documentation A simple ParameterInstanceRef to value comparison. The string supplied in the value attribute needs to be converted to a type matching the Parameter being compared to. Numerical values are assumed to be base 10 unless proceeded by 0x (hexadecimal), 0o (octal), or 0b (binary). The value is truncated to use the least significant bits that match the bit size of the Parameter being compared to.
source
<complexType name="ComparisonType">
<annotation>
<documentation xml:lang="en">A simple ParameterInstanceRef to value comparison. The string supplied in the value attribute needs to be converted to a type matching the Parameter being compared to. Numerical values are assumed to be base 10 unless proceeded by 0x (hexadecimal), 0o (octal), or 0b (binary). The value is truncated to use the least significant bits that match the bit size of the Parameter being compared to.</documentation>
</annotation>
<complexContent>
<extension base="xtce:ParameterInstanceRefType">
<attribute name="comparisonOperator" type="xtce:ComparisonOperatorsType" default="=="/>
<attribute name="value" type="string" use="required"/>
</extension>
</complexContent>
</complexType>
attribute
ComparisonType/@comparisonOperator
type
xtce:ComparisonOperatorsType
properties
default ==
facets
Kind Value Annotation enumeration == enumeration != enumeration < enumeration <= enumeration > enumeration >=
source
<attribute name="comparisonOperator" type="xtce:ComparisonOperatorsType" default="=="/>
attribute
ComparisonType/@value
type
string
properties
use required
source
<attribute name="value" type="string" use="required"/>
XML Schema documentation generated by
XMLSpy
Schema Editor
http://www.altova.com/xmlspy