MCPcopy Create free account
hub / github.com/dds-bridge/dds / get_version

Method get_version

library/src/system/system.cpp:313–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311//////////////////////////////////////////////////////////////////////
312
313string System::get_version(
314 int& major,
315 int& minor,
316 int& patch) const
317{
318 major = DDS_VERSION / 10000;
319 minor = (DDS_VERSION - major * 10000) / 100;
320 patch = DDS_VERSION % 100;
321
322 string st = to_string(major) + "." + to_string(minor) +
323 "." + to_string(patch);
324 return st;
325}
326
327
328string System::get_system(int& sys) const

Callers 1

GetDDSInfoFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected