ROOT
6.10/09
Reference Guide
net
alien
src
TAlienJobStatusList.cxx
Go to the documentation of this file.
1
// @(#)root/alien:$Id$
2
// Author: Andreas-Joachim Peters 10/12/2006
3
4
/*************************************************************************
5
* Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
//////////////////////////////////////////////////////////////////////////
13
// //
14
// TAlienJobStatusList //
15
// //
16
// Alien implementation of TGridJobStatusList //
17
// //
18
//////////////////////////////////////////////////////////////////////////
19
20
#include "
TAlienJobStatusList.h
"
21
#include "
TAlienJobStatus.h
"
22
#include "
TROOT.h
"
23
24
ClassImp
(
TAlienJobStatusList
)
25
26
////////////////////////////////////////////////////////////////////////////////
27
/// Print information about jobs.
28
29
void
TAlienJobStatusList
::PrintCollectionEntry(
TObject
* entry,
Option_t
*
/*option*/
,
30
Int_t
/*recurse*/
)
const
31
{
32
TAlienJobStatus
* jobstatus = (
TAlienJobStatus
*) entry;
33
TString
split(jobstatus->
GetKey
(
"split"
));
34
TString
queueid(jobstatus->
GetKey
(
"queueId"
));
35
TROOT::IndentLevel
();
36
printf(
"JobId = %s Split = %s\n"
, queueid.Data(), split.Data());
37
}
TAlienJobStatus.h
Option_t
const char Option_t
Definition:
RtypesCore.h:62
TString
Basic string class.
Definition:
TString.h:129
Int_t
int Int_t
Definition:
RtypesCore.h:41
TROOT.h
TROOT::IndentLevel
static void IndentLevel()
Functions used by ls() to indent an object hierarchy.
Definition:
TROOT.cxx:2632
TAlienJobStatusList
Definition:
TAlienJobStatusList.h:27
TAlienJobStatusList.h
ClassImp
#define ClassImp(name)
Definition:
Rtypes.h:336
TObject
Mother of all ROOT objects.
Definition:
TObject.h:37
TAlienJobStatus::GetKey
const char * GetKey(const char *key)
Return a key.
Definition:
TAlienJobStatus.cxx:127
void
typedef void((*Func_t)())
TAlienJobStatus
Definition:
TAlienJobStatus.h:30