reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::AttributeHelper Class Reference

#include <SdpContents.hxx>

Public Member Functions

 RESIP_HeapCount (AttributeHelper)
 
 AttributeHelper ()
 
 AttributeHelper (const AttributeHelper &rhs)
 
AttributeHelper & operator= (const AttributeHelper &rhs)
 
bool exists (const Data &key) const
 
const std::list< Data > & getValues (const Data &key) const
 
EncodeStream & encode (EncodeStream &s) const
 
void parse (ParseBuffer &pb)
 
void addAttribute (const Data &key, const Data &value=Data::Empty)
 
void clearAttribute (const Data &key)
 

Static Public Attributes

static constexpr size_t MaxParsedAttributeNames = 256
 parse() fails a section with more distinct attribute names than this
 

Detailed Description

Definition at line 24 of file SdpContents.hxx.

Constructor & Destructor Documentation

◆ AttributeHelper() [1/2]

AttributeHelper::AttributeHelper ( )

Definition at line 82 of file SdpContents.cxx.

◆ AttributeHelper() [2/2]

AttributeHelper::AttributeHelper ( const AttributeHelper &  rhs)

Definition at line 76 of file SdpContents.cxx.

Member Function Documentation

◆ addAttribute()

void AttributeHelper::addAttribute ( const Data &  key,
const Data &  value = Data::Empty 
)

Definition at line 163 of file SdpContents.cxx.

◆ clearAttribute()

void AttributeHelper::clearAttribute ( const Data &  key)

Definition at line 170 of file SdpContents.cxx.

◆ encode()

EncodeStream & AttributeHelper::encode ( EncodeStream &  s) const

Definition at line 115 of file SdpContents.cxx.

◆ exists()

bool AttributeHelper::exists ( const Data &  key) const

Definition at line 98 of file SdpContents.cxx.

◆ getValues()

const list< Data > & AttributeHelper::getValues ( const Data &  key) const

Definition at line 104 of file SdpContents.cxx.

◆ operator=()

AttributeHelper & AttributeHelper::operator= ( const AttributeHelper &  rhs)

Definition at line 87 of file SdpContents.cxx.

◆ parse()

void AttributeHelper::parse ( ParseBuffer &  pb)

Definition at line 131 of file SdpContents.cxx.

◆ RESIP_HeapCount()

resip::AttributeHelper::RESIP_HeapCount ( AttributeHelper  )

Member Data Documentation

◆ MaxParsedAttributeNames

constexpr size_t resip::AttributeHelper::MaxParsedAttributeNames = 256
staticconstexpr

parse() fails a section with more distinct attribute names than this

Definition at line 29 of file SdpContents.hxx.


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