xrootd
XrdFileCachePrint.hh
Go to the documentation of this file.
1//----------------------------------------------------------------------------------
2// Copyright (c) 2014 by Board of Trustees of the Leland Stanford, Jr., University
3// Author: Alja Mrak-Tadel
4//----------------------------------------------------------------------------------
5// XRootD is free software: you can redistribute it and/or modify
6// it under the terms of the GNU Lesser General Public License as published by
7// the Free Software Foundation, either version 3 of the License, or
8// (at your option) any later version.
9//
10// XRootD is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// You should have received a copy of the GNU Lesser General Public License
16// along with XRootD. If not, see <http://www.gnu.org/licenses/>.
17//----------------------------------------------------------------------------------
18
19#include "XrdOuc/XrdOucEnv.hh"
20
21class XrdOss;
22class XrdOssDF;
23
24namespace XrdFileCache
25{
26class Print {
27public:
28 //------------------------------------------------------------------------
30 //------------------------------------------------------------------------
31 Print(XrdOss* oss, bool v, const char* path);
32
33private:
36 bool m_verbose;
37 const char* m_ossUser;
38
39 //---------------------------------------------------------------------
41 //---------------------------------------------------------------------
42 bool isInfoFile(const char* path);
43
44 //---------------------------------------------------------------------
46 //---------------------------------------------------------------------
47 void printFile(const std::string& path);
48
49 //---------------------------------------------------------------------
51 //---------------------------------------------------------------------
52 void printDir(XrdOssDF* iOssDF, const std::string& path);
53};
54}
Definition: XrdFileCachePrint.hh:26
void printDir(XrdOssDF *iOssDF, const std::string &path)
Print information in meta-data file recursivly.
bool isInfoFile(const char *path)
file system user
Print(XrdOss *oss, bool v, const char *path)
Constructor.
XrdOucEnv m_env
file system
Definition: XrdFileCachePrint.hh:35
bool m_verbose
env used by file system
Definition: XrdFileCachePrint.hh:36
void printFile(const std::string &path)
Print information in meta-data file.
const char * m_ossUser
print each block
Definition: XrdFileCachePrint.hh:37
XrdOss * m_oss
Definition: XrdFileCachePrint.hh:34
Definition: XrdOss.hh:60
Definition: XrdOss.hh:174
Definition: XrdOucEnv.hh:42
Definition: XrdFileCache.hh:40