libtld/tld_object.cpp
std::string tld_object::country() const
{
    // std::string doesn't like NULL as a parameter
    //
    if(f_info.f_country == nullptr)
    {
        return std::string();
    }
    return f_info.f_country;
}
/** \brief The name of the country linked to that TLD.
 *
 * This TLD represents a country and this is its name.
 *
 * If the TLD does not represent a country then this function returns an
 * empty string. If category() returns TLD_CATEGORY_COUNTRY then this
 * function should always return a valid name.
 *
 * \note
 * At a later time we may also include other names such as the language, group, or
 * region that the TLD represents. At that time we'll certainly rename the function
 * and field.
 *
 * \return The name of the country or "" if undefined.
 */
\brief The name of the country linked to that TLD.
This TLD represents a country and this is its name.

If the TLD does not represent a country then this function returns an
empty string. If category() returns TLD_CATEGORY_COUNTRY then this
function should always return a valid name.

\note
At a later time we may also include other names such as the language, group, or
region that the TLD represents. At that time we'll certainly rename the function
and field.

\return The name of the country or "" if undefined.
\ brief The name of the country linked to that TLD . This TLD represents a country and this is its name . If the TLD does not represent a country then this function returns an empty string . If category () returns TLD_CATEGORY_COUNTRY then this function should always return a valid name . \ note At a later time we may also include other names such as the language group or region that the TLD represents . At that time we ' ll certainly rename the function and field . \ return The name of the country or " " if undefined .
std::string tld_object::country() const
{
    if(f_info.f_country == nullptr)
    {
        return std::string();
    }
    return f_info.f_country;
}
std :: string tld_object :: country ( ) const { if ( f_info . f_country == nullptr ) { return std :: string ( ) ; } return f_info . f_country ; }
\brief The name of the country linked to that TLD.
\ brief The name of the country linked to that TLD .
// std::string doesn't like NULL as a parameter //