/// get function - right val in assignment
Origin origin() const;
- /// set function - left val in assignment
- Origin & origin();
-
- /// set function - can be chained
- Package & origin(const Origin & origin);
-
/// set function - can be chained
Package & router(const Router &router);
return m_origin;
}
-mp::Origin & mp::Package::origin()
-{
- return m_origin;
-}
-
-mp::Package & mp::Package::origin(const Origin & origin)
-{
- m_origin = origin;
- return *this;
-}
-
mp::Package & mp::Package::router(const mp::Router &router)
{
m_route_pos = router.createpos();