src/core/thread/mle_tlvs.hpp
void Get(LeaderData &aLeaderData) const
    {
        aLeaderData.SetPartitionId(HostSwap32(mPartitionId));
        aLeaderData.SetWeighting(mWeighting);
        aLeaderData.SetDataVersion(mDataVersion);
        aLeaderData.SetStableDataVersion(mStableDataVersion);
        aLeaderData.SetLeaderRouterId(mLeaderRouterId);
    }
/**
     * This method gets the Leader Data info from TLV.
     *
     * @param[out] aLeaderData   A reference to output Leader Data info.
     *
     */
This method gets the Leader Data info from TLV.
@param[out] aLeaderData   A reference to output Leader Data info.
This method gets the Leader Data info from TLV . @param [ out ] aLeaderData A reference to output Leader Data info .
void Get(LeaderData &aLeaderData) const
    {
        aLeaderData.SetPartitionId(HostSwap32(mPartitionId));
        aLeaderData.SetWeighting(mWeighting);
        aLeaderData.SetDataVersion(mDataVersion);
        aLeaderData.SetStableDataVersion(mStableDataVersion);
        aLeaderData.SetLeaderRouterId(mLeaderRouterId);
    }
void Get ( LeaderData & aLeaderData ) const { aLeaderData . SetPartitionId ( HostSwap32 ( mPartitionId ) ) ; aLeaderData . SetWeighting ( mWeighting ) ; aLeaderData . SetDataVersion ( mDataVersion ) ; aLeaderData . SetStableDataVersion ( mStableDataVersion ) ; aLeaderData . SetLeaderRouterId ( mLeaderRouterId ) ; }
This method gets the Leader Data info from TLV.
This method gets the Leader Data info from TLV .