45 Device(std::string combinedTag,
int footprint);
53 void draw(AcGePoint3d origin,
bool flip)
const;
64 std::string
getTag()
const;
96 static int footprintFromCells(
const std::string& combinedTag,
const std::string& instrumentSpec);
static int footprintFromCells(const std::string &combinedTag, const std::string &instrumentSpec)
Calculate and return the footprint from a combined tag and instrument specification.
Definition Device.cpp:110
bool operator<(const Device &rhs) const
Compare this device with another based on their combined tags.
Definition Device.cpp:132
std::string getCombinedTag() const
Retrieve the combined tag and number for the device.
Definition Device.cpp:102
void draw(AcGePoint3d origin, bool flip) const
Draw the device starting from a given origin.
Definition Device.cpp:28
int getTerminalFootprint() const
Get the terminal footprint of the device.
Definition Device.cpp:106
std::string getTag() const
Retrieve the device's tag.
Definition Device.cpp:94
std::string getNumber() const
Retrieve the device's number or identifier.
Definition Device.cpp:98
Device(std::string combinedTag, int footprint)
Construct a Device object with combined tag and footprint.
Definition Device.cpp:21
Interface for helper functions related to database operations.