Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

JobCommand.cxx File Reference

#include <cstdlib>
#include "JobControl/JobCommand.h"
#include "MessageService/MsgService.h"
#include "Registry/Registry.h"

Go to the source code of this file.

Functions

 CVSID ("$Id: JobCommand.cxx,v 1.24 2009/07/24 07:52:19 nwest Exp $")
ostream & operator<< (ostream &os, const JobCommand &jc)


Function Documentation

CVSID "$Id: JobCommand cxx,
v 1.24 2009/07/24 07:52:19 nwest Exp $" 
 

ostream& operator<< ostream &  os,
const JobCommand jc
 

Definition at line 19 of file JobCommand.cxx.

References jc.

00020 {
00021   vector<string>::const_iterator itrend(jc.fCmdList.end());
00022   vector<string>::const_iterator itr;
00023   bool ifirst = true;
00024   for (itr = jc.fCmdList.begin(); itr!= itrend; ++itr) {
00025     if (ifirst) { os << (*itr); ifirst = false; }
00026     else os << "/" << (*itr);
00027   }
00028   itrend = jc.fOptList.end();
00029   for (itr = jc.fOptList.begin(); itr!= itrend; ++itr) {
00030     os << " " << (*itr);
00031   }
00032   return os;
00033 }


Generated on Mon Feb 15 11:08:01 2010 for loon by  doxygen 1.3.9.1