![]() |
VR-Forces Developer's Guide
|
One SVG override entry loaded from sidc_svg_overrides.json.
Each entry carries either a 7-field entity-type pattern or a 10-field SIDC pattern, plus a normal SVG string and an optional highlight SVG string. A -1 in any pattern field acts as a wildcard.
Public Member Functions | |
| DtMilStdOverrideEntry () | |
| bool | matchesAnyStatus () const |
Public Attributes | |
| std::array< int, 7 > | myEntityTypeFields |
| std::array< int, 10 > | mySidcFields |
| bool | myUseEntityType = false |
| std::string | mySvgContent |
| std::string | mySvgHighlightContent |
| int | myForce = -1 |
|
inline |
|
inline |
True when this entry matches regardless of the symbol's status.
An entity-type entry matches any status (status never participates in entity-type matching), as does a SIDC entry whose slot 3 (the status slot) is the -1 wildcard.
| std::array<int, 7> makVrv::DtMilStdOverrideEntry::myEntityTypeFields |
kind:domain:country:category:subcategory:specific:extra. All -1 for SIDC patterns.
| std::array<int, 10> makVrv::DtMilStdOverrideEntry::mySidcFields |
Ten 2-char SIDC slots as integers; all -1 for entity-type patterns.
| bool makVrv::DtMilStdOverrideEntry::myUseEntityType = false |
true when myEntityTypeFields is the active discriminator.
| std::string makVrv::DtMilStdOverrideEntry::mySvgContent |
Normal SVG document string.
| std::string makVrv::DtMilStdOverrideEntry::mySvgHighlightContent |
Highlight SVG document string. Empty = fall back to mySvgContent.
| int makVrv::DtMilStdOverrideEntry::myForce = -1 |
VRV/VRF force ID (the raw integer assigned via DtMilStdIconVisualizer::setForceId()) this override applies to. NOT the MIL-STD-2525 standard identity. -1 means match any force; 0 is a valid specific force value.