src/core/thread/mle_tlvs.hpp
void Set(const LeaderData &aLeaderData)
    {
        mPartitionId       = HostSwap32(aLeaderData.GetPartitionId());
        mWeighting         = aLeaderData.GetWeighting();
        mDataVersion       = aLeaderData.GetDataVersion();
        mStableDataVersion = aLeaderData.GetStableDataVersion();
        mLeaderRouterId    = aLeaderData.GetLeaderRouterId();
    }
/**
     * This method sets the Leader Data.
     *
     * @param[in] aLeaderData   A Leader Data.
     *
     */
This method sets the Leader Data.
@param[in] aLeaderData   A Leader Data.
This method sets the Leader Data . @param [ in ] aLeaderData A Leader Data .
void Set(const LeaderData &aLeaderData)
    {
        mPartitionId       = HostSwap32(aLeaderData.GetPartitionId());
        mWeighting         = aLeaderData.GetWeighting();
        mDataVersion       = aLeaderData.GetDataVersion();
        mStableDataVersion = aLeaderData.GetStableDataVersion();
        mLeaderRouterId    = aLeaderData.GetLeaderRouterId();
    }
void Set ( const LeaderData & aLeaderData ) { mPartitionId = HostSwap32 ( aLeaderData . GetPartitionId ( ) ) ; mWeighting = aLeaderData . GetWeighting ( ) ; mDataVersion = aLeaderData . GetDataVersion ( ) ; mStableDataVersion = aLeaderData . GetStableDataVersion ( ) ; mLeaderRouterId = aLeaderData . GetLeaderRouterId ( ) ; }
This method sets the Leader Data.
This method sets the Leader Data .