Public Types | Public Member Functions

Swift::CapsInfo Class Reference

Inheritance diagram for Swift::CapsInfo:
Collaboration diagram for Swift::CapsInfo:

List of all members.

Public Types

typedef boost::shared_ptr
< CapsInfo

Public Member Functions

 CapsInfo (const std::string &node="", const std::string &version="", const std::string &hash="sha-1")
bool operator== (const CapsInfo &o) const
bool operator< (const CapsInfo &o) const
const std::string & getNode () const
void setNode (const std::string &node)
const std::string & getVersion () const
void setVersion (const std::string &version)
const std::string & getHash () const
void setHash (const std::string &hash)

Detailed Description

Definition at line 15 of file CapsInfo.h.

Member Typedef Documentation

typedef boost::shared_ptr<CapsInfo> Swift::CapsInfo::ref

Reimplemented from Swift::Payload.

Definition at line 17 of file CapsInfo.h.

Constructor & Destructor Documentation

Swift::CapsInfo::CapsInfo ( const std::string &  node = "",
const std::string &  version = "",
const std::string &  hash = "sha-1" 
) [inline]

Definition at line 19 of file CapsInfo.h.

Member Function Documentation

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

Definition at line 49 of file CapsInfo.h.

const std::string& Swift::CapsInfo::getNode (  )  const [inline]

Definition at line 39 of file CapsInfo.h.

const std::string& Swift::CapsInfo::getVersion (  )  const [inline]

Definition at line 44 of file CapsInfo.h.

bool Swift::CapsInfo::operator< ( const CapsInfo o  )  const [inline]

Definition at line 25 of file CapsInfo.h.

bool Swift::CapsInfo::operator== ( const CapsInfo o  )  const [inline]

Definition at line 21 of file CapsInfo.h.

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

Definition at line 50 of file CapsInfo.h.

void Swift::CapsInfo::setNode ( const std::string &  node  )  [inline]

Definition at line 40 of file CapsInfo.h.

void Swift::CapsInfo::setVersion ( const std::string &  version  )  [inline]

Definition at line 45 of file CapsInfo.h.