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

Generically represents integer values conveyed by SIP parameters. More...

#include <IntegerParameter.hxx>

Inheritance diagram for resip::IntegerParameter:
[legend]

Public Types

typedef int Type
 

Public Member Functions

 IntegerParameter (ParameterTypes::Type, ParseBuffer &pb, const std::bitset< 256 > &terminators)
 
 IntegerParameter (ParameterTypes::Type type, int value=-666999666)
 
virtual EncodeStream & encode (EncodeStream &stream) const
 
virtual Parameter * clone () const
 
- Public Member Functions inherited from resip::Parameter
 Parameter (ParameterTypes::Type type)
 
virtual ~Parameter ()
 
ParameterTypes::Type getType () const
 
virtual const Data & getName () const
 
virtual bool isQuoted () const
 
virtual void setQuoted (bool)
 

Static Public Member Functions

static Parameter * decode (ParameterTypes::Type type, ParseBuffer &pb, const std::bitset< 256 > &terminators, PoolBase *pool)
 

Friends

class ParserCategory
 
class Uri
 

Additional Inherited Members

- Protected Member Functions inherited from resip::Parameter
 Parameter (const Parameter &other)
 
Parameter & operator= (const Parameter &other)
 

Detailed Description

Generically represents integer values conveyed by SIP parameters.

Definition at line 20 of file IntegerParameter.hxx.

Member Typedef Documentation

◆ Type

Definition at line 23 of file IntegerParameter.hxx.

Constructor & Destructor Documentation

◆ IntegerParameter() [1/2]

IntegerParameter::IntegerParameter ( ParameterTypes::Type  type,
ParseBuffer &  pb,
const std::bitset< 256 > &  terminators 
)

Definition at line 13 of file IntegerParameter.cxx.

◆ IntegerParameter() [2/2]

IntegerParameter::IntegerParameter ( ParameterTypes::Type  type,
int  value = -666999666 
)
explicit

Definition at line 48 of file IntegerParameter.cxx.

Member Function Documentation

◆ clone()

Parameter * IntegerParameter::clone ( ) const
virtual

Implements resip::Parameter.

Definition at line 54 of file IntegerParameter.cxx.

◆ decode()

static Parameter * resip::IntegerParameter::decode ( ParameterTypes::Type  type,
ParseBuffer &  pb,
const std::bitset< 256 > &  terminators,
PoolBase *  pool 
)
inlinestatic

Definition at line 28 of file IntegerParameter.hxx.

◆ encode()

EncodeStream & IntegerParameter::encode ( EncodeStream &  stream) const
virtual

Implements resip::Parameter.

Definition at line 60 of file IntegerParameter.cxx.

Friends And Related Symbol Documentation

◆ ParserCategory

friend class ParserCategory
friend

Definition at line 40 of file IntegerParameter.hxx.

◆ Uri

friend class Uri
friend

Definition at line 41 of file IntegerParameter.hxx.


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