fipa_acl  1.4
Public Member Functions | List of all members
fipa::acl::BitefficientEnvelopeFormat Class Reference

#include <bitefficient_envelope_format.h>

Inherits fipa::acl::EnvelopeFormat.

Public Member Functions

virtual ~BitefficientEnvelopeFormat ()
 
std::string apply (const ACLEnvelope &envelope) const
 
- Public Member Functions inherited from fipa::acl::EnvelopeFormat
virtual ~EnvelopeFormat ()
 

Detailed Description

Definition at line 9 of file bitefficient_envelope_format.h.

Constructor & Destructor Documentation

virtual fipa::acl::BitefficientEnvelopeFormat::~BitefficientEnvelopeFormat ( )
inlinevirtual

Definition at line 40 of file bitefficient_envelope_format.h.

40 {}

Member Function Documentation

std::string fipa::acl::BitefficientEnvelopeFormat::apply ( const ACLEnvelope envelope) const
virtual

Applies the format to the envelope

Returns
the formatted envelope object

Implements fipa::acl::EnvelopeFormat.

Definition at line 12 of file bitefficient_envelope_format.cpp.

13 {
14  std::string msg = getAllExternalEnvelopes(envelope) + getBaseEnvelope(envelope.getBaseEnvelope()) + envelope.getPayload();
15 
16  return msg;
17 }

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