wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
VersionInfo Namespace Reference

Functions

bool hasAppearanceNames (const QVersionNumber &v)
 V2.7: Pixmap appearance names stored in file.
bool hasAudio (const QVersionNumber &v)
 V2.4: Audio element support (Buzzer, AudioBox).
bool hasClock (const QVersionNumber &v)
 V1.1: Clock element added.
bool hasCompressedPayload (const QVersionNumber &v)
bool hasConnectionQMap (const QVersionNumber &v)
 V4.7: Connection uses QMap-based serialization format.
bool hasDelayFix (const QVersionNumber &v)
 V4.3: Clock delay format corrected.
bool hasDisplay7Color (const QVersionNumber &v)
 V1.6: Display7 first color support.
bool hasDisplay7ExtColor (const QVersionNumber &v)
 V1.7: Display7 additional color support.
bool hasDolphinFilename (const QVersionNumber &v)
 V3.0: Dolphin waveform filename stored in file header.
bool hasDolphinSentinelFix (const QVersionNumber &v)
 V3.3: "none" sentinel normalised to empty string for dolphin filename.
bool hasLabels (const QVersionNumber &v)
 V1.2: Labels added to elements; IC filename field.
bool hasLockState (const QVersionNumber &v)
 V3.1: Lock state for input elements; color for some display/button types.
bool hasMetadata (const QVersionNumber &v)
 V4.5: File-level metadata map and embedded IC blob registry.
bool hasPortSizes (const QVersionNumber &v)
 V1.3: Port-size constraints stored in file.
bool hasQMapFormat (const QVersionNumber &v)
 V4.1: Format changed from flat binary to keyed QMap; port serial IDs; rotation fix.
bool hasSceneRect (const QVersionNumber &v)
 V1.4: Scene rectangle stored in file.
bool hasSlimPortablePayload (const QVersionNumber &v)
bool hasTrigger (const QVersionNumber &v)
 V1.9: Keyboard trigger sequences added.
bool hasTruthTableData (const QVersionNumber &v)
 V4.2: TruthTable output data stored in file.
bool hasUnifiedMetadata (const QVersionNumber &v)
 V4.6: Dolphin filename moved into metadata map; scene rect no longer stored.
bool hasUnusedPriority (const QVersionNumber &v)
 V4.0.1: Unused priority field in old format.
bool hasVersionedBlobRegistry (const QVersionNumber &v)
bool hasWirelessMode (const QVersionNumber &v)
 V4.4: Node wireless mode stored in file.

Function Documentation

◆ hasAppearanceNames()

bool VersionInfo::hasAppearanceNames ( const QVersionNumber & v)
inline

V2.7: Pixmap appearance names stored in file.

Definition at line 45 of file VersionInfo.h.

References Versions::V_2_7.

◆ hasAudio()

bool VersionInfo::hasAudio ( const QVersionNumber & v)
inline

V2.4: Audio element support (Buzzer, AudioBox).

Definition at line 42 of file VersionInfo.h.

References Versions::V_2_4.

Referenced by AudioBox::load(), and Buzzer::load().

◆ hasClock()

bool VersionInfo::hasClock ( const QVersionNumber & v)
inline

V1.1: Clock element added.

Definition at line 21 of file VersionInfo.h.

References Versions::V_1_1.

Referenced by Clock::load(), and Led::load().

◆ hasCompressedPayload()

bool VersionInfo::hasCompressedPayload ( const QVersionNumber & v)
inline

Rev100: the circuit payload (metadata + elements + connections, everything after the header) is zlib-compressed via Serialization::writePayload()/readPayload().

Definition at line 87 of file VersionInfo.h.

References Versions::Rev100.

Referenced by Serialization::readPayload().

◆ hasConnectionQMap()

bool VersionInfo::hasConnectionQMap ( const QVersionNumber & v)
inline

V4.7: Connection uses QMap-based serialization format.

Definition at line 78 of file VersionInfo.h.

References Versions::V_4_7.

Referenced by ConnectionSerializer::load().

◆ hasDelayFix()

bool VersionInfo::hasDelayFix ( const QVersionNumber & v)
inline

V4.3: Clock delay format corrected.

Definition at line 66 of file VersionInfo.h.

References Versions::V_4_3.

Referenced by Clock::load().

◆ hasDisplay7Color()

bool VersionInfo::hasDisplay7Color ( const QVersionNumber & v)
inline

V1.6: Display7 first color support.

Definition at line 33 of file VersionInfo.h.

References Versions::V_1_6.

Referenced by Display7::load().

◆ hasDisplay7ExtColor()

bool VersionInfo::hasDisplay7ExtColor ( const QVersionNumber & v)
inline

V1.7: Display7 additional color support.

Definition at line 36 of file VersionInfo.h.

References Versions::V_1_7.

Referenced by Display7::load().

◆ hasDolphinFilename()

bool VersionInfo::hasDolphinFilename ( const QVersionNumber & v)
inline

V3.0: Dolphin waveform filename stored in file header.

Definition at line 48 of file VersionInfo.h.

References Versions::V_3_0.

Referenced by Serialization::loadDolphinFileName().

◆ hasDolphinSentinelFix()

bool VersionInfo::hasDolphinSentinelFix ( const QVersionNumber & v)
inline

V3.3: "none" sentinel normalised to empty string for dolphin filename.

Definition at line 54 of file VersionInfo.h.

References Versions::V_3_3.

Referenced by Serialization::loadDolphinFileName().

◆ hasLabels()

bool VersionInfo::hasLabels ( const QVersionNumber & v)
inline

V1.2: Labels added to elements; IC filename field.

Definition at line 24 of file VersionInfo.h.

References Versions::V_1_2.

Referenced by IC::load().

◆ hasLockState()

bool VersionInfo::hasLockState ( const QVersionNumber & v)
inline

V3.1: Lock state for input elements; color for some display/button types.

Definition at line 51 of file VersionInfo.h.

References Versions::V_3_1.

Referenced by Clock::load(), Display14::load(), Display16::load(), Display7::load(), InputButton::load(), InputRotary::load(), and InputSwitch::load().

◆ hasMetadata()

bool VersionInfo::hasMetadata ( const QVersionNumber & v)
inline

V4.5: File-level metadata map and embedded IC blob registry.

Definition at line 72 of file VersionInfo.h.

References Versions::V_4_5.

Referenced by Serialization::copyPandaFile(), WorkSpace::load(), and Serialization::readPreamble().

◆ hasPortSizes()

bool VersionInfo::hasPortSizes ( const QVersionNumber & v)
inline

V1.3: Port-size constraints stored in file.

Definition at line 27 of file VersionInfo.h.

References Versions::V_1_3.

◆ hasQMapFormat()

bool VersionInfo::hasQMapFormat ( const QVersionNumber & v)
inline

V4.1: Format changed from flat binary to keyed QMap; port serial IDs; rotation fix.

Definition at line 60 of file VersionInfo.h.

References Versions::V_4_1.

Referenced by AudioBox::load(), Buzzer::load(), Clock::load(), Display14::load(), Display16::load(), Display7::load(), GraphicElementSerializer::load(), IC::load(), InputButton::load(), InputRotary::load(), InputSwitch::load(), and Led::load().

◆ hasSceneRect()

bool VersionInfo::hasSceneRect ( const QVersionNumber & v)
inline

V1.4: Scene rectangle stored in file.

Definition at line 30 of file VersionInfo.h.

References Versions::V_1_4.

Referenced by Serialization::loadRect().

◆ hasSlimPortablePayload()

bool VersionInfo::hasSlimPortablePayload ( const QVersionNumber & v)
inline

Rev101: portable payloads elide defaults, derive port serialIds, and omit non-IC port names and resource-path appearance slots. No load site branches on this today: the loader is deliberately content-tolerant (explicit serialIds take precedence and elided keys are contains()-guarded), so fat Rev100 and slim Rev101 files both load through the same code. The predicate names the format boundary for future gates.

Definition at line 94 of file VersionInfo.h.

References Versions::Rev101.

◆ hasTrigger()

bool VersionInfo::hasTrigger ( const QVersionNumber & v)
inline

V1.9: Keyboard trigger sequences added.

Definition at line 39 of file VersionInfo.h.

References Versions::V_1_9.

◆ hasTruthTableData()

bool VersionInfo::hasTruthTableData ( const QVersionNumber & v)
inline

V4.2: TruthTable output data stored in file.

Definition at line 63 of file VersionInfo.h.

References Versions::V_4_2.

Referenced by TruthTable::load().

◆ hasUnifiedMetadata()

bool VersionInfo::hasUnifiedMetadata ( const QVersionNumber & v)
inline

V4.6: Dolphin filename moved into metadata map; scene rect no longer stored.

Definition at line 75 of file VersionInfo.h.

References Versions::V_4_6.

Referenced by WorkSpace::load(), and Serialization::readPreamble().

◆ hasUnusedPriority()

bool VersionInfo::hasUnusedPriority ( const QVersionNumber & v)
inline

V4.0.1: Unused priority field in old format.

Definition at line 57 of file VersionInfo.h.

References Versions::V_4_0_1.

◆ hasVersionedBlobRegistry()

bool VersionInfo::hasVersionedBlobRegistry ( const QVersionNumber & v)
inline

V5.1: Embedded IC blob registry serialized with explicit QDataStream::Qt_5_12 version. Files before this used an unversioned QDataStream whose encoding depended on the Qt default at build time (changed from UTF-16 to UTF-8 in Qt 6.6).

Definition at line 83 of file VersionInfo.h.

References Versions::V_5_1.

Referenced by Serialization::deserializeBlobRegistry().

◆ hasWirelessMode()

bool VersionInfo::hasWirelessMode ( const QVersionNumber & v)
inline

V4.4: Node wireless mode stored in file.

Definition at line 69 of file VersionInfo.h.

References Versions::V_4_4.

Referenced by Node::load().