rsked/source.cc
/// Resets all the fields of Source to default values.
///
Resets all the fields of Source to default values.
Resets all the fields of Source to default values .
void Source::clear()
{
    m_name.clear();
    m_alternate = OFF_SOURCE;
    m_failedp = false;
    m_last_fail = 0;
    m_src_retry_secs = 60*60;
    m_medium = Medium::off;
    m_encoding = Encoding::none;
    m_duration = 0;
    m_announcementp = false;
    m_text.clear();
    m_quiet_okay = true;
    m_repeatp = false;
    m_dynamic = false;
    m_freq_hz = 0;
    m_last_fail = 0;
    m_resource.clear();
    m_res_path.clear();
}
void Source :: clear ( ) { m_name . clear ( ) ; m_alternate = OFF_SOURCE ; m_failedp = false ; m_last_fail = 0 ; m_src_retry_secs = 60 * 60 ; m_medium = Medium :: off ; m_encoding = Encoding :: none ; m_duration = 0 ; m_announcementp = false ; m_text . clear ( ) ; m_quiet_okay = true ; m_repeatp = false ; m_dynamic = false ; m_freq_hz = 0 ; m_last_fail = 0 ; m_resource . clear ( ) ; m_res_path . clear ( ) ; }
Resets all the fields of Source to default values.
Resets all the fields of Source to default values .
//