wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
Enums.h File Reference

Central enumeration types for element types, groups, and signal status. More...

#include <QObject>
Include dependency graph for Enums.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Enums
 Preferred way to indicate the element types and groups (input, output, etc). More...

Typedefs

using ElementGroup = Enums::ElementGroup
using ElementType = Enums::ElementType
using Status = Enums::Status
using WirelessMode = Enums::WirelessMode

Functions

ElementTypeoperator++ (ElementType &type)
 Pre-increment operator; advances type to the next ElementType in sequence.
QDataStream & operator<< (QDataStream &stream, const ElementType &type)
 Serializes type into stream.
QDataStream & operator>> (QDataStream &stream, ElementType &type)
 Deserializes an ElementType from stream into type.

Detailed Description

Central enumeration types for element types, groups, and signal status.

Definition in file Enums.h.

Typedef Documentation

◆ ElementGroup

Definition at line 108 of file Enums.h.

◆ ElementType

Definition at line 107 of file Enums.h.

◆ Status

Definition at line 106 of file Enums.h.

◆ WirelessMode

Definition at line 109 of file Enums.h.

Function Documentation

◆ operator++()

ElementType & operator++ ( ElementType & type)

Pre-increment operator; advances type to the next ElementType in sequence.

Definition at line 67 of file Enums.cpp.

◆ operator<<()

QDataStream & operator<< ( QDataStream & stream,
const ElementType & type )

Serializes type into stream.

Definition at line 83 of file Enums.cpp.

◆ operator>>()

QDataStream & operator>> ( QDataStream & stream,
ElementType & type )

Deserializes an ElementType from stream into type.

Definition at line 74 of file Enums.cpp.