src/core/net/dns_headers.hpp
/**
     * This method sets the type of the query.
     *
     * @param[in]  aType The type of the query.
     *
     */
This method sets the type of the query.
@param[in]  aType The type of the query.
This method sets the type of the query . @param [ in ] aType The type of the query .
void SetQueryType(QueryType aType)
    {
        mFlags[0] &= ~kOpCodeMask;
        mFlags[0] |= static_cast<uint8_t>(aType) << kOpCodeOffset;
    }
void SetQueryType ( QueryType aType ) { mFlags [ 0 ] &= ~ kOpCodeMask ; mFlags [ 0 ] |= static_cast < uint8_t > ( aType ) << kOpCodeOffset ; }
This method sets the type of the query.
This method sets the type of the query .