XRootD
XrdOucTList Class Reference

#include <XrdOucTList.hh>

+ Collaboration diagram for XrdOucTList:

Public Member Functions

 XrdOucTList (const char *tval, char cv[8], XrdOucTList *np=0)
 
 XrdOucTList (const char *tval, int iv[2], XrdOucTList *np=0)
 
 XrdOucTList (const char *tval, long long *dv, XrdOucTList *np=0)
 
 XrdOucTList (const char *tval, short sv[4], XrdOucTList *np=0)
 
 XrdOucTList (const char *tval=0, int num=0, XrdOucTList *np=0)
 
 ~XrdOucTList ()
 

Public Attributes

union {
char cval [8]
 
long long dval
 
int ival [2]
 
short sval [4]
 
int val
 
}; 
 
XrdOucTListnext
 
char * text
 

Detailed Description

Definition at line 41 of file XrdOucTList.hh.

Constructor & Destructor Documentation

◆ XrdOucTList() [1/5]

XrdOucTList::XrdOucTList ( const char *  tval,
long long *  dv,
XrdOucTList np = 0 
)
inline

Definition at line 56 of file XrdOucTList.hh.

57  {next=np; text = (tval ? strdup(tval) : 0); dval=*dv;}
XrdOucTList * next
Definition: XrdOucTList.hh:45
char * text
Definition: XrdOucTList.hh:46

References next, and text.

◆ XrdOucTList() [2/5]

XrdOucTList::XrdOucTList ( const char *  tval = 0,
int  num = 0,
XrdOucTList np = 0 
)
inline

Definition at line 59 of file XrdOucTList.hh.

60  {next=np; text = (tval ? strdup(tval) : 0); val=num;}

References next, and text.

◆ XrdOucTList() [3/5]

XrdOucTList::XrdOucTList ( const char *  tval,
int  iv[2],
XrdOucTList np = 0 
)
inline

Definition at line 62 of file XrdOucTList.hh.

63  {next=np; text = (tval ? strdup(tval) : 0);
64  memcpy(ival, iv, sizeof(ival));}

References next, and text.

◆ XrdOucTList() [4/5]

XrdOucTList::XrdOucTList ( const char *  tval,
short  sv[4],
XrdOucTList np = 0 
)
inline

Definition at line 66 of file XrdOucTList.hh.

67  {next=np; text = (tval ? strdup(tval) : 0);
68  memcpy(sval, sv, sizeof(sval));}

References next, and text.

◆ XrdOucTList() [5/5]

XrdOucTList::XrdOucTList ( const char *  tval,
char  cv[8],
XrdOucTList np = 0 
)
inline

Definition at line 70 of file XrdOucTList.hh.

71  {text = (tval ? strdup(tval) : 0); next=np;
72  memcpy(cval, cv, sizeof(cval));}

References next, and text.

◆ ~XrdOucTList()

XrdOucTList::~XrdOucTList ( )
inline

Definition at line 74 of file XrdOucTList.hh.

74 {if (text) free(text);}

References text.

Member Data Documentation

◆ 

union { ... }

◆ next

◆ text


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