LibrePCB Developers Documentation
Loading...
Searching...
No Matches
SchematicClipboardData::Bus Struct Reference

#include <schematicclipboarddata.h>

+ Collaboration diagram for SchematicClipboardData::Bus:

Public Member Functions

 Bus (const Uuid &uuid, const BusName &name, bool prefixNetNames, const std::optional< UnsignedLength > &maxTraceLengthDifference)
 
 Bus (const SExpression &node)
 
const UuidgetUuid () const noexcept
 
void serialize (SExpression &root) const
 
bool operator!= (const Bus &rhs) noexcept
 

Public Attributes

Uuid uuid
 
BusName name
 
bool prefixNetNames
 
std::optional< UnsignedLengthmaxTraceLengthDifference
 
Signal< BusonEdited
 Dummy event, not used.
 

Static Public Attributes

static constexpr const char * tagname = "bus"
 

Constructor & Destructor Documentation

◆ Bus() [1/2]

Bus ( const Uuid uuid,
const BusName name,
bool  prefixNetNames,
const std::optional< UnsignedLength > &  maxTraceLengthDifference 
)
inlineexplicit

◆ Bus() [2/2]

Bus ( const SExpression node)
inlineexplicit

Member Function Documentation

◆ getUuid()

const Uuid & getUuid ( ) const
inlinenoexcept

◆ serialize()

void serialize ( SExpression root) const
inline
+ Here is the call graph for this function:

◆ operator!=()

bool operator!= ( const Bus rhs)
inlinenoexcept

Member Data Documentation

◆ tagname

constexpr const char* tagname = "bus"
staticconstexpr

◆ uuid

Uuid uuid

◆ name

BusName name

◆ prefixNetNames

bool prefixNetNames

◆ maxTraceLengthDifference

std::optional<UnsignedLength> maxTraceLengthDifference

◆ onEdited

Signal<Bus> onEdited

Dummy event, not used.


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