File: insert.cc

package info (click to toggle)
ssh-cron 2.00.00-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 840 kB
  • sloc: cpp: 1,372; fortran: 200; makefile: 99; sh: 36; ansic: 10
file content (20 lines) | stat: -rw-r--r-- 375 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "cronentry.ih"

    // by operatorinsert.cc
ostream &CronEntry::insert(ostream &out) const
{
    showSet(out, d_minutes);
    out << "    ";

    showSet(out, d_hours);
    out << "    ";

    showSet(out, d_dayOfMonth);
    out << "    ";

    showSet(out, d_monthOfYear);
    out << "    ";

    showSet(out, d_dayOfWeek);
    return out << "    " << d_command;
}