Public Types | Public Member Functions

Swift::StreamInitiationFileInfo Class Reference

Inheritance diagram for Swift::StreamInitiationFileInfo:
Collaboration diagram for Swift::StreamInitiationFileInfo:

List of all members.

Public Types

typedef boost::shared_ptr
< StreamInitiationFileInfo
ref

Public Member Functions

 StreamInitiationFileInfo (const std::string &name="", const std::string &description="", int size=0, const std::string &hash="", const boost::posix_time::ptime &date=boost::posix_time::ptime(), const std::string &algo="md5")
void setName (const std::string &name)
const std::string & getName () const
void setDescription (const std::string &description)
const std::string & getDescription () const
void setSize (const boost::uintmax_t size)
boost::uintmax_t getSize () const
void setHash (const std::string &hash)
const std::string & getHash () const
void setDate (const boost::posix_time::ptime &date)
const boost::posix_time::ptime & getDate () const
void setAlgo (const std::string &algo)
const std::string & getAlgo () const
void setSupportsRangeRequests (const bool supportsIt)
bool getSupportsRangeRequests () const
void setRangeOffset (const int offset)
boost::uintmax_t getRangeOffset () const

Detailed Description

Definition at line 17 of file StreamInitiationFileInfo.h.


Member Typedef Documentation

Reimplemented from Swift::Payload.

Definition at line 19 of file StreamInitiationFileInfo.h.


Constructor & Destructor Documentation

Swift::StreamInitiationFileInfo::StreamInitiationFileInfo ( const std::string &  name = "",
const std::string &  description = "",
int  size = 0,
const std::string &  hash = "",
const boost::posix_time::ptime &  date = boost::posix_time::ptime(),
const std::string &  algo = "md5" 
) [inline]

Definition at line 22 of file StreamInitiationFileInfo.h.


Member Function Documentation

const std::string& Swift::StreamInitiationFileInfo::getAlgo (  )  const [inline]

Definition at line 70 of file StreamInitiationFileInfo.h.

const boost::posix_time::ptime& Swift::StreamInitiationFileInfo::getDate (  )  const [inline]

Definition at line 62 of file StreamInitiationFileInfo.h.

const std::string& Swift::StreamInitiationFileInfo::getDescription (  )  const [inline]

Definition at line 38 of file StreamInitiationFileInfo.h.

const std::string& Swift::StreamInitiationFileInfo::getHash (  )  const [inline]

Definition at line 54 of file StreamInitiationFileInfo.h.

const std::string& Swift::StreamInitiationFileInfo::getName (  )  const [inline]

Definition at line 30 of file StreamInitiationFileInfo.h.

boost::uintmax_t Swift::StreamInitiationFileInfo::getRangeOffset (  )  const [inline]

Definition at line 87 of file StreamInitiationFileInfo.h.

boost::uintmax_t Swift::StreamInitiationFileInfo::getSize (  )  const [inline]

Definition at line 46 of file StreamInitiationFileInfo.h.

bool Swift::StreamInitiationFileInfo::getSupportsRangeRequests (  )  const [inline]

Definition at line 78 of file StreamInitiationFileInfo.h.

void Swift::StreamInitiationFileInfo::setAlgo ( const std::string &  algo  )  [inline]

Definition at line 66 of file StreamInitiationFileInfo.h.

void Swift::StreamInitiationFileInfo::setDate ( const boost::posix_time::ptime &  date  )  [inline]

Definition at line 58 of file StreamInitiationFileInfo.h.

void Swift::StreamInitiationFileInfo::setDescription ( const std::string &  description  )  [inline]

Definition at line 34 of file StreamInitiationFileInfo.h.

void Swift::StreamInitiationFileInfo::setHash ( const std::string &  hash  )  [inline]

Definition at line 50 of file StreamInitiationFileInfo.h.

void Swift::StreamInitiationFileInfo::setName ( const std::string &  name  )  [inline]

Definition at line 26 of file StreamInitiationFileInfo.h.

void Swift::StreamInitiationFileInfo::setRangeOffset ( const int  offset  )  [inline]

Definition at line 82 of file StreamInitiationFileInfo.h.

void Swift::StreamInitiationFileInfo::setSize ( const boost::uintmax_t  size  )  [inline]

Definition at line 42 of file StreamInitiationFileInfo.h.

void Swift::StreamInitiationFileInfo::setSupportsRangeRequests ( const bool  supportsIt  )  [inline]

Definition at line 74 of file StreamInitiationFileInfo.h.