IoTivity C++ SDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OC::MessageContainer Class Reference

Public Member Functions

void setPayload (const OCPayload *rep)
 
void setPayload (const OCRepPayload *rep)
 
OCRepPayloadgetPayload () const
 
const std::vector
< OCRepresentation > & 
representations () const
 
void addRepresentation (const OCRepresentation &rep)
 
const OCRepresentationoperator[] (int index) const
 
const OCRepresentationback () const
 

Member Function Documentation

void OC::MessageContainer::addRepresentation ( const OCRepresentation rep)
const OCRepresentation& OC::MessageContainer::back ( ) const
inline
OCRepPayload* OC::MessageContainer::getPayload ( ) const
const OCRepresentation& OC::MessageContainer::operator[] ( int  index) const
inline
const std::vector<OCRepresentation>& OC::MessageContainer::representations ( ) const
void OC::MessageContainer::setPayload ( const OCPayload rep)
void OC::MessageContainer::setPayload ( const OCRepPayload rep)

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