XRootD
XrdOucXAttr< T > Class Template Reference

#include <XrdOucXAttr.hh>

+ Collaboration diagram for XrdOucXAttr< T >:

Public Member Functions

 XrdOucXAttr ()
 
 ~XrdOucXAttr ()
 
int Del (const char *Path, int fd=-1)
 
int Get (const char *Path, int fd=-1)
 
int Set (const char *Path, int fd=-1)
 

Public Attributes

Attr
 

Detailed Description

template<class T>
class XrdOucXAttr< T >

Definition at line 108 of file XrdOucXAttr.hh.

Constructor & Destructor Documentation

◆ XrdOucXAttr()

template<class T >
XrdOucXAttr< T >::XrdOucXAttr ( )
inline

Definition at line 145 of file XrdOucXAttr.hh.

145 {}

◆ ~XrdOucXAttr()

template<class T >
XrdOucXAttr< T >::~XrdOucXAttr ( )
inline

Definition at line 146 of file XrdOucXAttr.hh.

146 {}

Member Function Documentation

◆ Del()

template<class T >
int XrdOucXAttr< T >::Del ( const char *  Path,
int  fd = -1 
)
inline

Definition at line 119 of file XrdOucXAttr.hh.

120  {return XrdSysFAttr::Xat->Del(Attr.Name(), Path, fd);}
XrdOucString Path
static XrdSysXAttr * Xat
Definition: XrdSysFAttr.hh:51
virtual int Del(const char *Aname, const char *Path, int fd=-1)=0

References XrdOucXAttr< T >::Attr, XrdSysXAttr::Del(), Path, and XrdSysFAttr::Xat.

+ Here is the call graph for this function:

◆ Get()

template<class T >
int XrdOucXAttr< T >::Get ( const char *  Path,
int  fd = -1 
)
inline

Definition at line 128 of file XrdOucXAttr.hh.

129  {return Attr.postGet(XrdSysFAttr::Xat->Get(Attr.Name(), &Attr,
130  Attr.sizeGet(), Path, fd));
131  }
int Get(const char *Path, int fd=-1)
Definition: XrdOucXAttr.hh:128

References XrdOucXAttr< T >::Attr, Path, and XrdSysFAttr::Xat.

Referenced by XrdFrmFileset::Refresh(), and XrdFrmFileset::setCpyTime().

+ Here is the caller graph for this function:

◆ Set()

template<class T >
int XrdOucXAttr< T >::Set ( const char *  Path,
int  fd = -1 
)
inline

Definition at line 139 of file XrdOucXAttr.hh.

140  {T xA;
141  return XrdSysFAttr::Xat->Set(Attr.Name(), Attr.preSet(xA),
142  Attr.sizeSet(), Path, fd);
143  }
virtual int Set(const char *Aname, const void *Aval, int Avsz, const char *Path, int fd=-1, int isNew=0)=0

References XrdOucXAttr< T >::Attr, Path, XrdSysXAttr::Set(), and XrdSysFAttr::Xat.

Referenced by XrdOssSys::SetFattr(), and XrdFrcUtils::updtCpy().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ Attr


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