SILICON
Loading...
Searching...
No Matches
WireEndpointEdit Struct Reference

#include <diagramSceneEdit.hpp>

Classes

struct  NetState
struct  NetChange
struct  TopologyChange

Public Types

using ContactList = std::vector<WireManager::ExplicitContact>

Public Member Functions

bool changesTopology () const
 Returns whether a segment edit records contact, topology, or net changes.
const ContactList & contacts (const bool useAfter) const
 Borrows the contact snapshot selected for undo or redo.

Public Attributes

uint64_t segmentId = 0
ContactList beforeContacts
ContactList afterContacts
std::vector< TopologyChange > topologyChanges
std::vector< NetChange > netChanges

Detailed Description

Definition at line 43 of file diagramSceneEdit.hpp.

Member Typedef Documentation

◆ ContactList

Definition at line 58 of file diagramSceneEdit.hpp.

Member Function Documentation

◆ changesTopology()

bool changesTopology ( ) const
inlinenodiscard

Returns whether a segment edit records contact, topology, or net changes.

Definition at line 67 of file diagramSceneEdit.hpp.

◆ contacts()

const ContactList & contacts ( const bool useAfter) const
inlinenodiscard

Borrows the contact snapshot selected for undo or redo.

Parameters
useAfterTrue selects the after state; false selects the before state.

Definition at line 77 of file diagramSceneEdit.hpp.

Member Data Documentation

◆ afterContacts

ContactList afterContacts

Definition at line 62 of file diagramSceneEdit.hpp.

◆ beforeContacts

ContactList beforeContacts

Definition at line 61 of file diagramSceneEdit.hpp.

◆ netChanges

std::vector<NetChange> netChanges

Definition at line 64 of file diagramSceneEdit.hpp.

◆ segmentId

uint64_t segmentId = 0

Definition at line 60 of file diagramSceneEdit.hpp.

◆ topologyChanges

std::vector<TopologyChange> topologyChanges

Definition at line 63 of file diagramSceneEdit.hpp.


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