Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
Public Member Functions | Static Public Attributes | Friends | List of all members
qpid::framing::FileProperties Class Reference

#include <qpid/framing/FileProperties.h>

Public Member Functions

 FileProperties (const std::string &_contentType, const std::string &_contentEncoding, const FieldTable &_headers, uint8_t _priority, const std::string &_replyTo, const std::string &_messageId, const std::string &_filename, uint64_t _timestamp, const std::string &_clusterId)
 
 FileProperties ()
 
void setContentType (const std::string &_contentType)
 
const std::string & getContentType () const
 
bool hasContentType () const
 
void clearContentTypeFlag ()
 
void setContentEncoding (const std::string &_contentEncoding)
 
const std::string & getContentEncoding () const
 
bool hasContentEncoding () const
 
void clearContentEncodingFlag ()
 
void setHeaders (const FieldTable &_headers)
 
const FieldTable & getHeaders () const
 
FieldTable & getHeaders ()
 
bool hasHeaders () const
 
void clearHeadersFlag ()
 
void setPriority (uint8_t _priority)
 
uint8_t getPriority () const
 
bool hasPriority () const
 
void clearPriorityFlag ()
 
void setReplyTo (const std::string &_replyTo)
 
const std::string & getReplyTo () const
 
bool hasReplyTo () const
 
void clearReplyToFlag ()
 
void setMessageId (const std::string &_messageId)
 
const std::string & getMessageId () const
 
bool hasMessageId () const
 
void clearMessageIdFlag ()
 
void setFilename (const std::string &_filename)
 
const std::string & getFilename () const
 
bool hasFilename () const
 
void clearFilenameFlag ()
 
void setTimestamp (uint64_t _timestamp)
 
uint64_t getTimestamp () const
 
bool hasTimestamp () const
 
void clearTimestampFlag ()
 
void setClusterId (const std::string &_clusterId)
 
const std::string & getClusterId () const
 
bool hasClusterId () const
 
void clearClusterIdFlag ()
 
void encode (Buffer &) const
 
void decode (Buffer &, uint32_t=0)
 
void encodeStructBody (Buffer &) const
 
void decodeStructBody (Buffer &, uint32_t=0)
 
uint32_t encodedSize () const
 
uint32_t bodySize () const
 
void print (std::ostream &out) const
 

Static Public Attributes

static const uint16_t TYPE = 2305
 

Friends

std::ostream & operator<< (std::ostream &, const FileProperties &)
 

Detailed Description

Definition at line 39 of file FileProperties.h.

Constructor & Destructor Documentation

◆ FileProperties() [1/2]

qpid::framing::FileProperties::FileProperties ( const std::string &  _contentType,
const std::string &  _contentEncoding,
const FieldTable &  _headers,
uint8_t  _priority,
const std::string &  _replyTo,
const std::string &  _messageId,
const std::string &  _filename,
uint64_t  _timestamp,
const std::string &  _clusterId 
)
inline

Definition at line 52 of file FileProperties.h.

◆ FileProperties() [2/2]

qpid::framing::FileProperties::FileProperties ( )
inline

Member Function Documentation

◆ bodySize()

uint32_t qpid::framing::FileProperties::bodySize ( ) const

◆ clearClusterIdFlag()

void qpid::framing::FileProperties::clearClusterIdFlag ( )

◆ clearContentEncodingFlag()

void qpid::framing::FileProperties::clearContentEncodingFlag ( )

◆ clearContentTypeFlag()

void qpid::framing::FileProperties::clearContentTypeFlag ( )

◆ clearFilenameFlag()

void qpid::framing::FileProperties::clearFilenameFlag ( )

◆ clearHeadersFlag()

void qpid::framing::FileProperties::clearHeadersFlag ( )

◆ clearMessageIdFlag()

void qpid::framing::FileProperties::clearMessageIdFlag ( )

◆ clearPriorityFlag()

void qpid::framing::FileProperties::clearPriorityFlag ( )

◆ clearReplyToFlag()

void qpid::framing::FileProperties::clearReplyToFlag ( )

◆ clearTimestampFlag()

void qpid::framing::FileProperties::clearTimestampFlag ( )

◆ decode()

void qpid::framing::FileProperties::decode ( Buffer &  ,
uint32_t  = 0 
)

◆ decodeStructBody()

void qpid::framing::FileProperties::decodeStructBody ( Buffer &  ,
uint32_t  = 0 
)

◆ encode()

void qpid::framing::FileProperties::encode ( Buffer &  ) const

◆ encodedSize()

uint32_t qpid::framing::FileProperties::encodedSize ( ) const

◆ encodeStructBody()

void qpid::framing::FileProperties::encodeStructBody ( Buffer &  ) const

◆ getClusterId()

const std::string& qpid::framing::FileProperties::getClusterId ( ) const

◆ getContentEncoding()

const std::string& qpid::framing::FileProperties::getContentEncoding ( ) const

◆ getContentType()

const std::string& qpid::framing::FileProperties::getContentType ( ) const

◆ getFilename()

const std::string& qpid::framing::FileProperties::getFilename ( ) const

◆ getHeaders() [1/2]

const FieldTable& qpid::framing::FileProperties::getHeaders ( ) const

◆ getHeaders() [2/2]

FieldTable& qpid::framing::FileProperties::getHeaders ( )

◆ getMessageId()

const std::string& qpid::framing::FileProperties::getMessageId ( ) const

◆ getPriority()

uint8_t qpid::framing::FileProperties::getPriority ( ) const

◆ getReplyTo()

const std::string& qpid::framing::FileProperties::getReplyTo ( ) const

◆ getTimestamp()

uint64_t qpid::framing::FileProperties::getTimestamp ( ) const

◆ hasClusterId()

bool qpid::framing::FileProperties::hasClusterId ( ) const

◆ hasContentEncoding()

bool qpid::framing::FileProperties::hasContentEncoding ( ) const

◆ hasContentType()

bool qpid::framing::FileProperties::hasContentType ( ) const

◆ hasFilename()

bool qpid::framing::FileProperties::hasFilename ( ) const

◆ hasHeaders()

bool qpid::framing::FileProperties::hasHeaders ( ) const

◆ hasMessageId()

bool qpid::framing::FileProperties::hasMessageId ( ) const

◆ hasPriority()

bool qpid::framing::FileProperties::hasPriority ( ) const

◆ hasReplyTo()

bool qpid::framing::FileProperties::hasReplyTo ( ) const

◆ hasTimestamp()

bool qpid::framing::FileProperties::hasTimestamp ( ) const

◆ print()

void qpid::framing::FileProperties::print ( std::ostream &  out) const

◆ setClusterId()

void qpid::framing::FileProperties::setClusterId ( const std::string &  _clusterId)

◆ setContentEncoding()

void qpid::framing::FileProperties::setContentEncoding ( const std::string &  _contentEncoding)

◆ setContentType()

void qpid::framing::FileProperties::setContentType ( const std::string &  _contentType)

◆ setFilename()

void qpid::framing::FileProperties::setFilename ( const std::string &  _filename)

◆ setHeaders()

void qpid::framing::FileProperties::setHeaders ( const FieldTable &  _headers)

◆ setMessageId()

void qpid::framing::FileProperties::setMessageId ( const std::string &  _messageId)

◆ setPriority()

void qpid::framing::FileProperties::setPriority ( uint8_t  _priority)

◆ setReplyTo()

void qpid::framing::FileProperties::setReplyTo ( const std::string &  _replyTo)

◆ setTimestamp()

void qpid::framing::FileProperties::setTimestamp ( uint64_t  _timestamp)

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  ,
const FileProperties  
)
friend

Member Data Documentation

◆ TYPE

const uint16_t qpid::framing::FileProperties::TYPE = 2305
static

Definition at line 51 of file FileProperties.h.


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

Qpid C++ API Reference
Generated on Fri May 19 2017 for Qpid C++ Client API by doxygen 1.8.13