XRootD
Loading...
Searching...
No Matches
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);}
int Del(const char *Path, int fd=-1)

References Attr, Path, and XrdSysFAttr::Xat.

◆ 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)

References Attr, Get(), Path, and XrdSysFAttr::Xat.

Referenced by Get().

Here is the call graph for this function:
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 }
int Set(const char *Path, int fd=-1)

References Attr, Path, and XrdSysFAttr::Xat.

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

Here is the caller graph for this function:

Member Data Documentation

◆ Attr

template<class T>
T XrdOucXAttr< T >::Attr

Definition at line 112 of file XrdOucXAttr.hh.

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


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