packagepath.cpp
Go to the documentation of this file.
1 #include "packagepath.h"
2 
3 #include <RobotAPI/libraries/aron/common/aron/PackagePath.aron.generated.h>
4 
5 /* PackagePath */
6 
7 void
8 armarx::aron::packagepath::fromAron(const arondto::PackagePath& dto, PackagePath& bo)
9 {
10  bo = {dto.package, dto.path};
11 }
12 
13 void
14 armarx::aron::packagepath::toAron(arondto::PackagePath& dto, const PackagePath& bo)
15 {
16  const armarx::data::PackagePath icedto = bo.serialize();
17  dto.package = icedto.package;
18  dto.path = icedto.path;
19 }
packagepath.h
armarx::aron::packagepath::fromAron
void fromAron(const arondto::PackagePath &dto, PackagePath &bo)
Definition: packagepath.cpp:8
armarx::aron::packagepath::toAron
void toAron(arondto::PackagePath &dto, const PackagePath &bo)
Definition: packagepath.cpp:14
armarx::PackagePath
Definition: PackagePath.h:55
armarx::aron::bo
const std::optional< BoT > & bo
Definition: aron_conversions.h:166