VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
makVrv::DtMilStdOverrideEntry Struct Reference

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
 

Constructor & Destructor Documentation

makVrv::DtMilStdOverrideEntry::DtMilStdOverrideEntry ( )
inline

Member Function Documentation

bool makVrv::DtMilStdOverrideEntry::matchesAnyStatus ( ) const
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.

Returns
true when the entry matches any status; false when the entry pins an exact status value - it only matches that state and the author's SVG art is authoritative for it, so the manager does not composite the standard status marks on top.

Member Data Documentation

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.


The documentation for this struct was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)