xrootd
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
XrdCksData Class Reference

#include <XrdCksData.hh>

Collaboration diagram for XrdCksData:
Collaboration graph
[legend]

Public Member Functions

int operator== (const XrdCksData &oth)
 
int operator!= (const XrdCksData &oth)
 
int Get (char *Buff, int Blen)
 
int Set (const char *csName)
 
int Set (const void *csVal, int csLen)
 
int Set (const char *csVal, int csLen)
 
void Reset ()
 
 XrdCksData ()
 
bool HasValue ()
 

Public Attributes

char Name [NameSize]
 
union { 
 
   long long   fmTime 
 
   XrdOucEnv *   envP 
 
};  
 
int csTime
 
short Rsvd1
 
char Rsvd2
 
char Length
 
char Value [ValuSize]
 

Static Public Attributes

static const int NameSize = 16
 
static const int ValuSize = 64
 

Constructor & Destructor Documentation

◆ XrdCksData()

XrdCksData::XrdCksData ( )
inline

References Reset().

Member Function Documentation

◆ Get()

int XrdCksData::Get ( char *  Buff,
int  Blen 
)
inline

References Length, and Value.

Referenced by XrdCl::CheckSumHelper::GetCheckSum().

◆ HasValue()

bool XrdCksData::HasValue ( )
inline

References Value.

◆ operator!=()

int XrdCksData::operator!= ( const XrdCksData oth)
inline

References Length, Name, NameSize, and Value.

◆ operator==()

int XrdCksData::operator== ( const XrdCksData oth)
inline

References Length, Name, NameSize, and Value.

◆ Reset()

void XrdCksData::Reset ( )
inline

References csTime, fmTime, Length, Name, Rsvd1, Rsvd2, and Value.

Referenced by XrdCksData().

◆ Set() [1/3]

int XrdCksData::Set ( const char *  csName)
inline

References Name.

Referenced by XrdCl::CheckSumHelper::GetCheckSum().

◆ Set() [2/3]

int XrdCksData::Set ( const char *  csVal,
int  csLen 
)
inline

References Length, and Value.

◆ Set() [3/3]

int XrdCksData::Set ( const void *  csVal,
int  csLen 
)
inline

References Length, Value, and ValuSize.

Member Data Documentation

◆ [union]

union { ... } XrdCksData

◆ csTime

int XrdCksData::csTime

◆ envP

XrdOucEnv* XrdCksData::envP

◆ fmTime

long long XrdCksData::fmTime

◆ Length

char XrdCksData::Length

Referenced by Get(), operator!=(), operator==(), Reset(), Set(), and Set().

◆ Name

char XrdCksData::Name[NameSize]

◆ NameSize

const int XrdCksData::NameSize = 16
static

Referenced by operator!=(), and operator==().

◆ Rsvd1

short XrdCksData::Rsvd1

Referenced by Reset().

◆ Rsvd2

char XrdCksData::Rsvd2

Referenced by Reset().

◆ Value

char XrdCksData::Value[ValuSize]

◆ ValuSize

const int XrdCksData::ValuSize = 64
static

Referenced by Set().


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