reSIProcate/stack  9694
Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends
resip::QuotedDataParameter Class Reference

Generically represents miscellaneous parameter data that is encoded using double quotes. More...

#include <QuotedDataParameter.hxx>

Inheritance diagram for resip::QuotedDataParameter:
Inheritance graph
[legend]
Collaboration diagram for resip::QuotedDataParameter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 QuotedDataParameter (ParameterTypes::Type, ParseBuffer &pb, const std::bitset< 256 > &terminators)
 QuotedDataParameter (ParameterTypes::Type)
virtual Parameterclone () const

Static Public Member Functions

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

Protected Member Functions

 QuotedDataParameter (const QuotedDataParameter &other)

Friends

class ParserCategory
class Auth

Detailed Description

Generically represents miscellaneous parameter data that is encoded using double quotes.

Definition at line 21 of file QuotedDataParameter.hxx.


Constructor & Destructor Documentation

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

Definition at line 18 of file QuotedDataParameter.cxx.

References DebugLog, resip::DataParameter::mQuoted, and resip::DataParameter::mValue.

Referenced by clone(), and decode().

   : DataParameter(type, pb, terminators)
{
   if (!mQuoted)
   {
      DebugLog (<< "Fixing unquoted parameter to be quoted: " << mValue);
      mQuoted = true; // may want to fail in this case if we are being strict
      //pb.fail(__FILE__, __LINE__);
   }
}
QuotedDataParameter::QuotedDataParameter ( ParameterTypes::Type  type) [explicit]

Definition at line 31 of file QuotedDataParameter.cxx.

References resip::DataParameter::mQuoted.

   : DataParameter(type)
{
   mQuoted = true;
}
resip::QuotedDataParameter::QuotedDataParameter ( const QuotedDataParameter other) [inline, protected]

Definition at line 38 of file QuotedDataParameter.hxx.

         : DataParameter(other)
      {}

Member Function Documentation

Parameter * QuotedDataParameter::clone ( ) const [virtual]

Reimplemented from resip::DataParameter.

Definition at line 38 of file QuotedDataParameter.cxx.

References QuotedDataParameter().

{
   return new QuotedDataParameter(*this);
}

Here is the call graph for this function:

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

Reimplemented from resip::DataParameter.

Definition at line 27 of file QuotedDataParameter.hxx.

References QuotedDataParameter().

      {
         return new (pool) QuotedDataParameter(type, pb, terminators);
      }

Here is the call graph for this function:


Friends And Related Function Documentation

friend class Auth [friend]

Definition at line 43 of file QuotedDataParameter.hxx.

friend class ParserCategory [friend]

Definition at line 42 of file QuotedDataParameter.hxx.


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