xrootd
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
XrdPfc::Print Class Reference

#include <XrdPfcPrint.hh>

Collaboration diagram for XrdPfc::Print:
Collaboration graph
[legend]

Public Member Functions

 Print (XrdOss *oss, char u, bool v, bool j, int i, const char *path)
 Constructor.
 

Private Member Functions

bool isInfoFile (const char *path)
 file system user
 
void printFileJson (const std::string &path)
 Print information in meta-data file in json format.
 
void printFile (const std::string &path)
 Print information in meta-data file.
 
void printDir (XrdOssDF *iOssDF, const std::string &path)
 Print information in meta-data file recursivly.
 

Private Attributes

XrdOssm_oss
 
XrdOucEnv m_env
 file system
 
int m_unit_shift
 env used by file system
 
int m_unit_width
 bitshift for byte-size fields
 
char m_unit [3]
 width of byte-size fields
 
bool m_verbose
 unit for regular printout (not JSON)
 
bool m_json
 print each block
 
int m_indent
 print in json format
 
const char * m_ossUser
 indent for json dump
 

Constructor & Destructor Documentation

◆ Print()

XrdPfc::Print::Print ( XrdOss oss,
char  u,
bool  v,
bool  j,
int  i,
const char *  path 
)

Constructor.

Member Function Documentation

◆ isInfoFile()

bool XrdPfc::Print::isInfoFile ( const char *  path)
private

file system user

Check file ends with *.cinfo suffix

◆ printDir()

void XrdPfc::Print::printDir ( XrdOssDF iOssDF,
const std::string &  path 
)
private

Print information in meta-data file recursivly.

◆ printFile()

void XrdPfc::Print::printFile ( const std::string &  path)
private

Print information in meta-data file.

◆ printFileJson()

void XrdPfc::Print::printFileJson ( const std::string &  path)
private

Print information in meta-data file in json format.

Member Data Documentation

◆ m_env

XrdOucEnv XrdPfc::Print::m_env
private

file system

◆ m_indent

int XrdPfc::Print::m_indent
private

print in json format

◆ m_json

bool XrdPfc::Print::m_json
private

print each block

◆ m_oss

XrdOss* XrdPfc::Print::m_oss
private

◆ m_ossUser

const char* XrdPfc::Print::m_ossUser
private

indent for json dump

◆ m_unit

char XrdPfc::Print::m_unit[3]
private

width of byte-size fields

◆ m_unit_shift

int XrdPfc::Print::m_unit_shift
private

env used by file system

◆ m_unit_width

int XrdPfc::Print::m_unit_width
private

bitshift for byte-size fields

◆ m_verbose

bool XrdPfc::Print::m_verbose
private

unit for regular printout (not JSON)


The documentation for this class was generated from the following file: