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