xrootd
Main Page
Namespaces
Classes
Files
File List
File Members
src
XrdCns
XrdCnsSsiSay.hh
Go to the documentation of this file.
1
#ifndef __XRDCnsSsiSay_H_
2
#define __XRDCnsSsiSay_H_
3
/******************************************************************************/
4
/* */
5
/* X r d C n s S a y . h h */
6
/* */
7
/* (c) 2009 by the Board of Trustees of the Leland Stanford, Jr., University */
8
/* All Rights Reserved */
9
/* Produced by Andrew Hanushevsky for Stanford University under contract */
10
/* DE-AC02-76-SFO0515 with the Department of Energy */
11
/******************************************************************************/
12
13
// $Id$
14
15
#include "
XrdSys/XrdSysError.hh
"
16
17
class
XrdCnsSsiSay
18
{
19
public
:
20
21
inline
void
M
(
const
char
*txt1,
const
char
*txt2=0,
const
char
*txt3=0,
22
const
char
*txt4=0,
const
char
*txt5=0)
23
{
eDest
->
Say
(
"cns_ssi: "
, txt1, txt2, txt3, txt4, txt5);}
24
25
inline
void
V
(
const
char
*txt1,
const
char
*txt2=0,
const
char
*txt3=0,
26
const
char
*txt4=0,
const
char
*txt5=0)
27
{
if
(
Verbose
)
M
(txt1, txt2, txt3, txt4, txt5);}
28
29
inline
void
setV
(
int
val) {
Verbose
= val;}
30
31
XrdCnsSsiSay
(
XrdSysError
*erp) :
eDest
(erp),
Verbose
(0) {}
32
~XrdCnsSsiSay
() {}
33
34
private
:
35
36
XrdSysError
*
eDest
;
37
int
Verbose
;
38
};
39
#endif
Generated by
1.8.1.2