reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
MultipartRelatedContents.cxx
Go to the documentation of this file.
1
#if defined(HAVE_CONFIG_H)
2
#include "config.h"
3
#endif
4
5
#include "
resip/stack/MultipartRelatedContents.hxx
"
6
#include "
rutil/Logger.hxx
"
7
#include "
rutil/WinLeakCheck.hxx
"
8
9
using namespace
resip
;
10
11
#define RESIPROCATE_SUBSYSTEM Subsystem::CONTENTS
12
13
bool
14
MultipartRelatedContents::init
()
15
{
16
static
ContentsFactory<MultipartRelatedContents>
factory;
17
(void)factory;
18
return
true
;
19
}
20
21
MultipartRelatedContents::MultipartRelatedContents
()
22
:
MultipartMixedContents
(getStaticType())
23
{}
24
25
MultipartRelatedContents::MultipartRelatedContents
(
const
HeaderFieldValue
& hfv,
const
Mime
& contentsType)
26
:
MultipartMixedContents
(hfv, contentsType)
27
{}
28
29
MultipartRelatedContents::MultipartRelatedContents
(
const
MultipartRelatedContents
& rhs)
30
:
MultipartMixedContents
(rhs)
31
{}
32
33
MultipartRelatedContents
&
34
MultipartRelatedContents::operator=
(
const
MultipartRelatedContents
& rhs)
35
{
36
MultipartMixedContents::operator=
(rhs);
37
return
*
this
;
38
}
39
40
Contents
*
41
MultipartRelatedContents::clone
()
const
42
{
43
return
new
MultipartRelatedContents
(*
this
);
44
}
45
46
const
Mime
&
47
MultipartRelatedContents::getStaticType
()
48
{
49
static
Mime
type(
"multipart"
,
"related"
);
50
return
type;
51
}
52
53
/* ====================================================================
54
* The Vovida Software License, Version 1.0
55
*
56
* Copyright (c) 2000 Vovida Networks, Inc. All rights reserved.
57
*
58
* Redistribution and use in source and binary forms, with or without
59
* modification, are permitted provided that the following conditions
60
* are met:
61
*
62
* 1. Redistributions of source code must retain the above copyright
63
* notice, this list of conditions and the following disclaimer.
64
*
65
* 2. Redistributions in binary form must reproduce the above copyright
66
* notice, this list of conditions and the following disclaimer in
67
* the documentation and/or other materials provided with the
68
* distribution.
69
*
70
* 3. The names "VOCAL", "Vovida Open Communication Application Library",
71
* and "Vovida Open Communication Application Library (VOCAL)" must
72
* not be used to endorse or promote products derived from this
73
* software without prior written permission. For written
74
* permission, please contact vocal@vovida.org.
75
*
76
* 4. Products derived from this software may not be called "VOCAL", nor
77
* may "VOCAL" appear in their name, without prior written
78
* permission of Vovida Networks, Inc.
79
*
80
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
81
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
82
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
83
* NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL VOVIDA
84
* NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES
85
* IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
86
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
87
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
88
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
89
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
90
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
91
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
92
* DAMAGE.
93
*
94
* ====================================================================
95
*
96
* This software consists of voluntary contributions made by Vovida
97
* Networks, Inc. and many individuals on behalf of Vovida Networks,
98
* Inc. For more information on Vovida Networks, Inc., please see
99
* <http://www.vovida.org/>.
100
*
101
*/
Logger.hxx
MultipartRelatedContents.hxx
WinLeakCheck.hxx
resip::ContentsFactory
Definition
ContentsFactory.hxx:16
resip::Contents
Base class for all SIP body types.
Definition
Contents.hxx:51
resip::HeaderFieldValue
Definition
HeaderFieldValue.hxx:21
resip::Mime
Represents the "media-type" element in the RFC 3261 grammar.
Definition
Mime.hxx:20
resip::MultipartMixedContents
SIP body type for holding Multipart-Mixed body contents (MIME content-type multipart/mixed).
Definition
MultipartMixedContents.hxx:20
resip::MultipartMixedContents::operator=
MultipartMixedContents & operator=(const MultipartMixedContents &rhs)
Definition
MultipartMixedContents.cxx:128
resip::MultipartRelatedContents
SIP body type for holding Multipart-Related body contents (MIME content-type multipart/related).
Definition
MultipartRelatedContents.hxx:14
resip::MultipartRelatedContents::clone
virtual Contents * clone() const
duplicate an MultipartRelatedContents object
Definition
MultipartRelatedContents.cxx:41
resip::MultipartRelatedContents::MultipartRelatedContents
MultipartRelatedContents()
Definition
MultipartRelatedContents.cxx:21
resip::MultipartRelatedContents::init
static bool init()
Definition
MultipartRelatedContents.cxx:14
resip::MultipartRelatedContents::getStaticType
static const Mime & getStaticType()
Definition
MultipartRelatedContents.cxx:47
resip::MultipartRelatedContents::operator=
MultipartRelatedContents & operator=(const MultipartRelatedContents &rhs)
Definition
MultipartRelatedContents.cxx:34
resip
dcm! – add UnusedChecking(_enum) below;
Definition
AbstractFifo.hxx:16
resip
stack
MultipartRelatedContents.cxx
Generated by
1.9.8