xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ( )
inline

References Reset().

Member Function Documentation

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

References Length, and Value.

bool XrdCksData::HasValue ( )
inline

References Value.

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

References Length, Name, NameSize, and Value.

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

References Length, Name, NameSize, and Value.

void XrdCksData::Reset ( )
inline

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

Referenced by XrdCksData().

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

References Name.

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

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

References Length, Value, and ValuSize.

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

References Length, and Value.

Member Data Documentation

union { ... }
int XrdCksData::csTime
XrdOucEnv* XrdCksData::envP
long long XrdCksData::fmTime
char XrdCksData::Length

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

char XrdCksData::Name[NameSize]
const int XrdCksData::NameSize = 16
static

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

short XrdCksData::Rsvd1

Referenced by Reset().

char XrdCksData::Rsvd2

Referenced by Reset().

char XrdCksData::Value[ValuSize]
const int XrdCksData::ValuSize = 64
static

Referenced by Set().


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