16 lines
381 B
C++
16 lines
381 B
C++
#include "TargetPinDescriptor.hpp"
|
|
|
|
#include "src/Services/StringService.hpp"
|
|
|
|
namespace Targets
|
|
{
|
|
TargetPinDescriptor::TargetPinDescriptor(
|
|
const std::string& position,
|
|
const std::optional<std::string>& padKey
|
|
)
|
|
: position(position)
|
|
, numericPosition(Services::StringService::toUint16(this->position, 10))
|
|
, padKey(padKey)
|
|
{}
|
|
}
|