4 // Code automatically generated by asnparse.
13 #if ! H323_DISABLE_H245
16 // ArrayOf_CustomPictureFormat
19 H245_ArrayOf_CustomPictureFormat::H245_ArrayOf_CustomPictureFormat(unsigned tag
, PASN_Object::TagClass tagClass
)
20 : PASN_Array(tag
, tagClass
)
25 PASN_Object
* H245_ArrayOf_CustomPictureFormat::CreateObject() const
27 return new H245_CustomPictureFormat
;
31 H245_CustomPictureFormat
& H245_ArrayOf_CustomPictureFormat::operator[](PINDEX i
) const
33 return (H245_CustomPictureFormat
&)array
[i
];
37 PObject
* H245_ArrayOf_CustomPictureFormat::Clone() const
39 #ifndef PASN_LEANANDMEAN
40 PAssert(IsClass(H245_ArrayOf_CustomPictureFormat::Class()), PInvalidCast
);
42 return new H245_ArrayOf_CustomPictureFormat(*this);
47 // ArrayOf_H263VideoModeCombos
50 H245_ArrayOf_H263VideoModeCombos::H245_ArrayOf_H263VideoModeCombos(unsigned tag
, PASN_Object::TagClass tagClass
)
51 : PASN_Array(tag
, tagClass
)
56 PASN_Object
* H245_ArrayOf_H263VideoModeCombos::CreateObject() const
58 return new H245_H263VideoModeCombos
;
62 H245_H263VideoModeCombos
& H245_ArrayOf_H263VideoModeCombos::operator[](PINDEX i
) const
64 return (H245_H263VideoModeCombos
&)array
[i
];
68 PObject
* H245_ArrayOf_H263VideoModeCombos::Clone() const
70 #ifndef PASN_LEANANDMEAN
71 PAssert(IsClass(H245_ArrayOf_H263VideoModeCombos::Class()), PInvalidCast
);
73 return new H245_ArrayOf_H263VideoModeCombos(*this);
78 // RefPictureSelection_additionalPictureMemory
81 H245_RefPictureSelection_additionalPictureMemory::H245_RefPictureSelection_additionalPictureMemory(unsigned tag
, PASN_Object::TagClass tagClass
)
82 : PASN_Sequence(tag
, tagClass
, 6, TRUE
, 0)
84 m_sqcifAdditionalPictureMemory
.SetConstraints(PASN_Object::FixedConstraint
, 1, 256);
85 m_qcifAdditionalPictureMemory
.SetConstraints(PASN_Object::FixedConstraint
, 1, 256);
86 m_cifAdditionalPictureMemory
.SetConstraints(PASN_Object::FixedConstraint
, 1, 256);
87 m_cif4AdditionalPictureMemory
.SetConstraints(PASN_Object::FixedConstraint
, 1, 256);
88 m_cif16AdditionalPictureMemory
.SetConstraints(PASN_Object::FixedConstraint
, 1, 256);
89 m_bigCpfAdditionalPictureMemory
.SetConstraints(PASN_Object::FixedConstraint
, 1, 256);
93 #ifndef PASN_NOPRINTON
94 void H245_RefPictureSelection_additionalPictureMemory::PrintOn(ostream
& strm
) const
96 int indent
= strm
.precision() + 2;
98 if (HasOptionalField(e_sqcifAdditionalPictureMemory
))
99 strm
<< setw(indent
+31) << "sqcifAdditionalPictureMemory = " << setprecision(indent
) << m_sqcifAdditionalPictureMemory
<< '\n';
100 if (HasOptionalField(e_qcifAdditionalPictureMemory
))
101 strm
<< setw(indent
+30) << "qcifAdditionalPictureMemory = " << setprecision(indent
) << m_qcifAdditionalPictureMemory
<< '\n';
102 if (HasOptionalField(e_cifAdditionalPictureMemory
))
103 strm
<< setw(indent
+29) << "cifAdditionalPictureMemory = " << setprecision(indent
) << m_cifAdditionalPictureMemory
<< '\n';
104 if (HasOptionalField(e_cif4AdditionalPictureMemory
))
105 strm
<< setw(indent
+30) << "cif4AdditionalPictureMemory = " << setprecision(indent
) << m_cif4AdditionalPictureMemory
<< '\n';
106 if (HasOptionalField(e_cif16AdditionalPictureMemory
))
107 strm
<< setw(indent
+31) << "cif16AdditionalPictureMemory = " << setprecision(indent
) << m_cif16AdditionalPictureMemory
<< '\n';
108 if (HasOptionalField(e_bigCpfAdditionalPictureMemory
))
109 strm
<< setw(indent
+32) << "bigCpfAdditionalPictureMemory = " << setprecision(indent
) << m_bigCpfAdditionalPictureMemory
<< '\n';
110 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
115 PObject::Comparison
H245_RefPictureSelection_additionalPictureMemory::Compare(const PObject
& obj
) const
117 #ifndef PASN_LEANANDMEAN
118 PAssert(PIsDescendant(&obj
, H245_RefPictureSelection_additionalPictureMemory
), PInvalidCast
);
120 const H245_RefPictureSelection_additionalPictureMemory
& other
= (const H245_RefPictureSelection_additionalPictureMemory
&)obj
;
124 if ((result
= m_sqcifAdditionalPictureMemory
.Compare(other
.m_sqcifAdditionalPictureMemory
)) != EqualTo
)
126 if ((result
= m_qcifAdditionalPictureMemory
.Compare(other
.m_qcifAdditionalPictureMemory
)) != EqualTo
)
128 if ((result
= m_cifAdditionalPictureMemory
.Compare(other
.m_cifAdditionalPictureMemory
)) != EqualTo
)
130 if ((result
= m_cif4AdditionalPictureMemory
.Compare(other
.m_cif4AdditionalPictureMemory
)) != EqualTo
)
132 if ((result
= m_cif16AdditionalPictureMemory
.Compare(other
.m_cif16AdditionalPictureMemory
)) != EqualTo
)
134 if ((result
= m_bigCpfAdditionalPictureMemory
.Compare(other
.m_bigCpfAdditionalPictureMemory
)) != EqualTo
)
137 return PASN_Sequence::Compare(other
);
141 PINDEX
H245_RefPictureSelection_additionalPictureMemory::GetDataLength() const
144 if (HasOptionalField(e_sqcifAdditionalPictureMemory
))
145 length
+= m_sqcifAdditionalPictureMemory
.GetObjectLength();
146 if (HasOptionalField(e_qcifAdditionalPictureMemory
))
147 length
+= m_qcifAdditionalPictureMemory
.GetObjectLength();
148 if (HasOptionalField(e_cifAdditionalPictureMemory
))
149 length
+= m_cifAdditionalPictureMemory
.GetObjectLength();
150 if (HasOptionalField(e_cif4AdditionalPictureMemory
))
151 length
+= m_cif4AdditionalPictureMemory
.GetObjectLength();
152 if (HasOptionalField(e_cif16AdditionalPictureMemory
))
153 length
+= m_cif16AdditionalPictureMemory
.GetObjectLength();
154 if (HasOptionalField(e_bigCpfAdditionalPictureMemory
))
155 length
+= m_bigCpfAdditionalPictureMemory
.GetObjectLength();
160 BOOL
H245_RefPictureSelection_additionalPictureMemory::Decode(PASN_Stream
& strm
)
162 if (!PreambleDecode(strm
))
165 if (HasOptionalField(e_sqcifAdditionalPictureMemory
) && !m_sqcifAdditionalPictureMemory
.Decode(strm
))
167 if (HasOptionalField(e_qcifAdditionalPictureMemory
) && !m_qcifAdditionalPictureMemory
.Decode(strm
))
169 if (HasOptionalField(e_cifAdditionalPictureMemory
) && !m_cifAdditionalPictureMemory
.Decode(strm
))
171 if (HasOptionalField(e_cif4AdditionalPictureMemory
) && !m_cif4AdditionalPictureMemory
.Decode(strm
))
173 if (HasOptionalField(e_cif16AdditionalPictureMemory
) && !m_cif16AdditionalPictureMemory
.Decode(strm
))
175 if (HasOptionalField(e_bigCpfAdditionalPictureMemory
) && !m_bigCpfAdditionalPictureMemory
.Decode(strm
))
178 return UnknownExtensionsDecode(strm
);
182 void H245_RefPictureSelection_additionalPictureMemory::Encode(PASN_Stream
& strm
) const
184 PreambleEncode(strm
);
186 if (HasOptionalField(e_sqcifAdditionalPictureMemory
))
187 m_sqcifAdditionalPictureMemory
.Encode(strm
);
188 if (HasOptionalField(e_qcifAdditionalPictureMemory
))
189 m_qcifAdditionalPictureMemory
.Encode(strm
);
190 if (HasOptionalField(e_cifAdditionalPictureMemory
))
191 m_cifAdditionalPictureMemory
.Encode(strm
);
192 if (HasOptionalField(e_cif4AdditionalPictureMemory
))
193 m_cif4AdditionalPictureMemory
.Encode(strm
);
194 if (HasOptionalField(e_cif16AdditionalPictureMemory
))
195 m_cif16AdditionalPictureMemory
.Encode(strm
);
196 if (HasOptionalField(e_bigCpfAdditionalPictureMemory
))
197 m_bigCpfAdditionalPictureMemory
.Encode(strm
);
199 UnknownExtensionsEncode(strm
);
203 PObject
* H245_RefPictureSelection_additionalPictureMemory::Clone() const
205 #ifndef PASN_LEANANDMEAN
206 PAssert(IsClass(H245_RefPictureSelection_additionalPictureMemory::Class()), PInvalidCast
);
208 return new H245_RefPictureSelection_additionalPictureMemory(*this);
213 #ifndef PASN_NOPRINTON
214 const static PASN_Names Names_H245_RefPictureSelection_videoBackChannelSend
[]={
216 ,{"ackMessageOnly",1}
217 ,{"nackMessageOnly",2}
218 ,{"ackOrNackMessageOnly",3}
219 ,{"ackAndNackMessage",4}
223 // RefPictureSelection_videoBackChannelSend
226 H245_RefPictureSelection_videoBackChannelSend::H245_RefPictureSelection_videoBackChannelSend(unsigned tag
, PASN_Object::TagClass tagClass
)
227 : PASN_Choice(tag
, tagClass
, 5, TRUE
228 #ifndef PASN_NOPRINTON
229 ,(const PASN_Names
*)Names_H245_RefPictureSelection_videoBackChannelSend
,5
236 BOOL
H245_RefPictureSelection_videoBackChannelSend::CreateObject()
238 choice
= (tag
<= e_ackAndNackMessage
) ? new PASN_Null() : NULL
;
239 return choice
!= NULL
;
243 PObject
* H245_RefPictureSelection_videoBackChannelSend::Clone() const
245 #ifndef PASN_LEANANDMEAN
246 PAssert(IsClass(H245_RefPictureSelection_videoBackChannelSend::Class()), PInvalidCast
);
248 return new H245_RefPictureSelection_videoBackChannelSend(*this);
253 #ifndef PASN_NOPRINTON
254 const static PASN_Names Names_H245_CustomPictureFormat_pixelAspectInformation
[]={
255 {"anyPixelAspectRatio",0}
256 ,{"pixelAspectCode",1}
261 // CustomPictureFormat_pixelAspectInformation
264 H245_CustomPictureFormat_pixelAspectInformation::H245_CustomPictureFormat_pixelAspectInformation(unsigned tag
, PASN_Object::TagClass tagClass
)
265 : PASN_Choice(tag
, tagClass
, 3, TRUE
266 #ifndef PASN_NOPRINTON
267 ,(const PASN_Names
*)Names_H245_CustomPictureFormat_pixelAspectInformation
,3
274 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
275 H245_CustomPictureFormat_pixelAspectInformation::operator H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode
&() const
277 H245_CustomPictureFormat_pixelAspectInformation::operator H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode
&()
279 #ifndef PASN_LEANANDMEAN
280 PAssert(PIsDescendant(PAssertNULL(choice
), H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode
), PInvalidCast
);
282 return *(H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode
*)choice
;
286 H245_CustomPictureFormat_pixelAspectInformation::operator const H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode
&() const
289 #ifndef PASN_LEANANDMEAN
290 PAssert(PIsDescendant(PAssertNULL(choice
), H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode
), PInvalidCast
);
292 return *(H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode
*)choice
;
296 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
297 H245_CustomPictureFormat_pixelAspectInformation::operator H245_CustomPictureFormat_pixelAspectInformation_extendedPAR
&() const
299 H245_CustomPictureFormat_pixelAspectInformation::operator H245_CustomPictureFormat_pixelAspectInformation_extendedPAR
&()
301 #ifndef PASN_LEANANDMEAN
302 PAssert(PIsDescendant(PAssertNULL(choice
), H245_CustomPictureFormat_pixelAspectInformation_extendedPAR
), PInvalidCast
);
304 return *(H245_CustomPictureFormat_pixelAspectInformation_extendedPAR
*)choice
;
308 H245_CustomPictureFormat_pixelAspectInformation::operator const H245_CustomPictureFormat_pixelAspectInformation_extendedPAR
&() const
311 #ifndef PASN_LEANANDMEAN
312 PAssert(PIsDescendant(PAssertNULL(choice
), H245_CustomPictureFormat_pixelAspectInformation_extendedPAR
), PInvalidCast
);
314 return *(H245_CustomPictureFormat_pixelAspectInformation_extendedPAR
*)choice
;
318 BOOL
H245_CustomPictureFormat_pixelAspectInformation::CreateObject()
321 case e_anyPixelAspectRatio
:
322 choice
= new PASN_Boolean();
324 case e_pixelAspectCode
:
325 choice
= new H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode();
328 choice
= new H245_CustomPictureFormat_pixelAspectInformation_extendedPAR();
337 PObject
* H245_CustomPictureFormat_pixelAspectInformation::Clone() const
339 #ifndef PASN_LEANANDMEAN
340 PAssert(IsClass(H245_CustomPictureFormat_pixelAspectInformation::Class()), PInvalidCast
);
342 return new H245_CustomPictureFormat_pixelAspectInformation(*this);
347 // ArrayOf_H263ModeComboFlags
350 H245_ArrayOf_H263ModeComboFlags::H245_ArrayOf_H263ModeComboFlags(unsigned tag
, PASN_Object::TagClass tagClass
)
351 : PASN_Array(tag
, tagClass
)
356 PASN_Object
* H245_ArrayOf_H263ModeComboFlags::CreateObject() const
358 return new H245_H263ModeComboFlags
;
362 H245_H263ModeComboFlags
& H245_ArrayOf_H263ModeComboFlags::operator[](PINDEX i
) const
364 return (H245_H263ModeComboFlags
&)array
[i
];
368 PObject
* H245_ArrayOf_H263ModeComboFlags::Clone() const
370 #ifndef PASN_LEANANDMEAN
371 PAssert(IsClass(H245_ArrayOf_H263ModeComboFlags::Class()), PInvalidCast
);
373 return new H245_ArrayOf_H263ModeComboFlags(*this);
378 // AudioCapability_g7231
381 H245_AudioCapability_g7231::H245_AudioCapability_g7231(unsigned tag
, PASN_Object::TagClass tagClass
)
382 : PASN_Sequence(tag
, tagClass
, 0, FALSE
, 0)
384 m_maxAl_sduAudioFrames
.SetConstraints(PASN_Object::FixedConstraint
, 1, 256);
388 #ifndef PASN_NOPRINTON
389 void H245_AudioCapability_g7231::PrintOn(ostream
& strm
) const
391 int indent
= strm
.precision() + 2;
393 strm
<< setw(indent
+23) << "maxAl_sduAudioFrames = " << setprecision(indent
) << m_maxAl_sduAudioFrames
<< '\n';
394 strm
<< setw(indent
+21) << "silenceSuppression = " << setprecision(indent
) << m_silenceSuppression
<< '\n';
395 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
400 PObject::Comparison
H245_AudioCapability_g7231::Compare(const PObject
& obj
) const
402 #ifndef PASN_LEANANDMEAN
403 PAssert(PIsDescendant(&obj
, H245_AudioCapability_g7231
), PInvalidCast
);
405 const H245_AudioCapability_g7231
& other
= (const H245_AudioCapability_g7231
&)obj
;
409 if ((result
= m_maxAl_sduAudioFrames
.Compare(other
.m_maxAl_sduAudioFrames
)) != EqualTo
)
411 if ((result
= m_silenceSuppression
.Compare(other
.m_silenceSuppression
)) != EqualTo
)
414 return PASN_Sequence::Compare(other
);
418 PINDEX
H245_AudioCapability_g7231::GetDataLength() const
421 length
+= m_maxAl_sduAudioFrames
.GetObjectLength();
422 length
+= m_silenceSuppression
.GetObjectLength();
427 BOOL
H245_AudioCapability_g7231::Decode(PASN_Stream
& strm
)
429 if (!PreambleDecode(strm
))
432 if (!m_maxAl_sduAudioFrames
.Decode(strm
))
434 if (!m_silenceSuppression
.Decode(strm
))
437 return UnknownExtensionsDecode(strm
);
441 void H245_AudioCapability_g7231::Encode(PASN_Stream
& strm
) const
443 PreambleEncode(strm
);
445 m_maxAl_sduAudioFrames
.Encode(strm
);
446 m_silenceSuppression
.Encode(strm
);
448 UnknownExtensionsEncode(strm
);
452 PObject
* H245_AudioCapability_g7231::Clone() const
454 #ifndef PASN_LEANANDMEAN
455 PAssert(IsClass(H245_AudioCapability_g7231::Class()), PInvalidCast
);
457 return new H245_AudioCapability_g7231(*this);
462 // G7231AnnexCCapability_g723AnnexCAudioMode
465 H245_G7231AnnexCCapability_g723AnnexCAudioMode::H245_G7231AnnexCCapability_g723AnnexCAudioMode(unsigned tag
, PASN_Object::TagClass tagClass
)
466 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
468 m_highRateMode0
.SetConstraints(PASN_Object::FixedConstraint
, 27, 78);
469 m_highRateMode1
.SetConstraints(PASN_Object::FixedConstraint
, 27, 78);
470 m_lowRateMode0
.SetConstraints(PASN_Object::FixedConstraint
, 23, 66);
471 m_lowRateMode1
.SetConstraints(PASN_Object::FixedConstraint
, 23, 66);
472 m_sidMode0
.SetConstraints(PASN_Object::FixedConstraint
, 6, 17);
473 m_sidMode1
.SetConstraints(PASN_Object::FixedConstraint
, 6, 17);
477 #ifndef PASN_NOPRINTON
478 void H245_G7231AnnexCCapability_g723AnnexCAudioMode::PrintOn(ostream
& strm
) const
480 int indent
= strm
.precision() + 2;
482 strm
<< setw(indent
+16) << "highRateMode0 = " << setprecision(indent
) << m_highRateMode0
<< '\n';
483 strm
<< setw(indent
+16) << "highRateMode1 = " << setprecision(indent
) << m_highRateMode1
<< '\n';
484 strm
<< setw(indent
+15) << "lowRateMode0 = " << setprecision(indent
) << m_lowRateMode0
<< '\n';
485 strm
<< setw(indent
+15) << "lowRateMode1 = " << setprecision(indent
) << m_lowRateMode1
<< '\n';
486 strm
<< setw(indent
+11) << "sidMode0 = " << setprecision(indent
) << m_sidMode0
<< '\n';
487 strm
<< setw(indent
+11) << "sidMode1 = " << setprecision(indent
) << m_sidMode1
<< '\n';
488 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
493 PObject::Comparison
H245_G7231AnnexCCapability_g723AnnexCAudioMode::Compare(const PObject
& obj
) const
495 #ifndef PASN_LEANANDMEAN
496 PAssert(PIsDescendant(&obj
, H245_G7231AnnexCCapability_g723AnnexCAudioMode
), PInvalidCast
);
498 const H245_G7231AnnexCCapability_g723AnnexCAudioMode
& other
= (const H245_G7231AnnexCCapability_g723AnnexCAudioMode
&)obj
;
502 if ((result
= m_highRateMode0
.Compare(other
.m_highRateMode0
)) != EqualTo
)
504 if ((result
= m_highRateMode1
.Compare(other
.m_highRateMode1
)) != EqualTo
)
506 if ((result
= m_lowRateMode0
.Compare(other
.m_lowRateMode0
)) != EqualTo
)
508 if ((result
= m_lowRateMode1
.Compare(other
.m_lowRateMode1
)) != EqualTo
)
510 if ((result
= m_sidMode0
.Compare(other
.m_sidMode0
)) != EqualTo
)
512 if ((result
= m_sidMode1
.Compare(other
.m_sidMode1
)) != EqualTo
)
515 return PASN_Sequence::Compare(other
);
519 PINDEX
H245_G7231AnnexCCapability_g723AnnexCAudioMode::GetDataLength() const
522 length
+= m_highRateMode0
.GetObjectLength();
523 length
+= m_highRateMode1
.GetObjectLength();
524 length
+= m_lowRateMode0
.GetObjectLength();
525 length
+= m_lowRateMode1
.GetObjectLength();
526 length
+= m_sidMode0
.GetObjectLength();
527 length
+= m_sidMode1
.GetObjectLength();
532 BOOL
H245_G7231AnnexCCapability_g723AnnexCAudioMode::Decode(PASN_Stream
& strm
)
534 if (!PreambleDecode(strm
))
537 if (!m_highRateMode0
.Decode(strm
))
539 if (!m_highRateMode1
.Decode(strm
))
541 if (!m_lowRateMode0
.Decode(strm
))
543 if (!m_lowRateMode1
.Decode(strm
))
545 if (!m_sidMode0
.Decode(strm
))
547 if (!m_sidMode1
.Decode(strm
))
550 return UnknownExtensionsDecode(strm
);
554 void H245_G7231AnnexCCapability_g723AnnexCAudioMode::Encode(PASN_Stream
& strm
) const
556 PreambleEncode(strm
);
558 m_highRateMode0
.Encode(strm
);
559 m_highRateMode1
.Encode(strm
);
560 m_lowRateMode0
.Encode(strm
);
561 m_lowRateMode1
.Encode(strm
);
562 m_sidMode0
.Encode(strm
);
563 m_sidMode1
.Encode(strm
);
565 UnknownExtensionsEncode(strm
);
569 PObject
* H245_G7231AnnexCCapability_g723AnnexCAudioMode::Clone() const
571 #ifndef PASN_LEANANDMEAN
572 PAssert(IsClass(H245_G7231AnnexCCapability_g723AnnexCAudioMode::Class()), PInvalidCast
);
574 return new H245_G7231AnnexCCapability_g723AnnexCAudioMode(*this);
579 #ifndef PASN_NOPRINTON
580 const static PASN_Names Names_H245_DataApplicationCapability_application
[]={
590 ,{"h222DataPartitioning",9}
594 ,{"genericDataCapability",13}
598 // DataApplicationCapability_application
601 H245_DataApplicationCapability_application::H245_DataApplicationCapability_application(unsigned tag
, PASN_Object::TagClass tagClass
)
602 : PASN_Choice(tag
, tagClass
, 10, TRUE
603 #ifndef PASN_NOPRINTON
604 ,(const PASN_Names
*)Names_H245_DataApplicationCapability_application
,14
611 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
612 H245_DataApplicationCapability_application::operator H245_NonStandardParameter
&() const
614 H245_DataApplicationCapability_application::operator H245_NonStandardParameter
&()
616 #ifndef PASN_LEANANDMEAN
617 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NonStandardParameter
), PInvalidCast
);
619 return *(H245_NonStandardParameter
*)choice
;
623 H245_DataApplicationCapability_application::operator const H245_NonStandardParameter
&() const
626 #ifndef PASN_LEANANDMEAN
627 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NonStandardParameter
), PInvalidCast
);
629 return *(H245_NonStandardParameter
*)choice
;
633 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
634 H245_DataApplicationCapability_application::operator H245_DataProtocolCapability
&() const
636 H245_DataApplicationCapability_application::operator H245_DataProtocolCapability
&()
638 #ifndef PASN_LEANANDMEAN
639 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataProtocolCapability
), PInvalidCast
);
641 return *(H245_DataProtocolCapability
*)choice
;
645 H245_DataApplicationCapability_application::operator const H245_DataProtocolCapability
&() const
648 #ifndef PASN_LEANANDMEAN
649 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataProtocolCapability
), PInvalidCast
);
651 return *(H245_DataProtocolCapability
*)choice
;
655 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
656 H245_DataApplicationCapability_application::operator H245_DataApplicationCapability_application_t84
&() const
658 H245_DataApplicationCapability_application::operator H245_DataApplicationCapability_application_t84
&()
660 #ifndef PASN_LEANANDMEAN
661 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataApplicationCapability_application_t84
), PInvalidCast
);
663 return *(H245_DataApplicationCapability_application_t84
*)choice
;
667 H245_DataApplicationCapability_application::operator const H245_DataApplicationCapability_application_t84
&() const
670 #ifndef PASN_LEANANDMEAN
671 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataApplicationCapability_application_t84
), PInvalidCast
);
673 return *(H245_DataApplicationCapability_application_t84
*)choice
;
677 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
678 H245_DataApplicationCapability_application::operator H245_DataApplicationCapability_application_nlpid
&() const
680 H245_DataApplicationCapability_application::operator H245_DataApplicationCapability_application_nlpid
&()
682 #ifndef PASN_LEANANDMEAN
683 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataApplicationCapability_application_nlpid
), PInvalidCast
);
685 return *(H245_DataApplicationCapability_application_nlpid
*)choice
;
689 H245_DataApplicationCapability_application::operator const H245_DataApplicationCapability_application_nlpid
&() const
692 #ifndef PASN_LEANANDMEAN
693 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataApplicationCapability_application_nlpid
), PInvalidCast
);
695 return *(H245_DataApplicationCapability_application_nlpid
*)choice
;
699 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
700 H245_DataApplicationCapability_application::operator H245_DataApplicationCapability_application_t38fax
&() const
702 H245_DataApplicationCapability_application::operator H245_DataApplicationCapability_application_t38fax
&()
704 #ifndef PASN_LEANANDMEAN
705 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataApplicationCapability_application_t38fax
), PInvalidCast
);
707 return *(H245_DataApplicationCapability_application_t38fax
*)choice
;
711 H245_DataApplicationCapability_application::operator const H245_DataApplicationCapability_application_t38fax
&() const
714 #ifndef PASN_LEANANDMEAN
715 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataApplicationCapability_application_t38fax
), PInvalidCast
);
717 return *(H245_DataApplicationCapability_application_t38fax
*)choice
;
721 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
722 H245_DataApplicationCapability_application::operator H245_GenericCapability
&() const
724 H245_DataApplicationCapability_application::operator H245_GenericCapability
&()
726 #ifndef PASN_LEANANDMEAN
727 PAssert(PIsDescendant(PAssertNULL(choice
), H245_GenericCapability
), PInvalidCast
);
729 return *(H245_GenericCapability
*)choice
;
733 H245_DataApplicationCapability_application::operator const H245_GenericCapability
&() const
736 #ifndef PASN_LEANANDMEAN
737 PAssert(PIsDescendant(PAssertNULL(choice
), H245_GenericCapability
), PInvalidCast
);
739 return *(H245_GenericCapability
*)choice
;
743 BOOL
H245_DataApplicationCapability_application::CreateObject()
747 choice
= new H245_NonStandardParameter();
754 case e_h222DataPartitioning
:
757 choice
= new H245_DataProtocolCapability();
760 choice
= new H245_DataApplicationCapability_application_t84();
763 choice
= new H245_DataApplicationCapability_application_nlpid();
766 choice
= new PASN_Null();
769 choice
= new H245_DataApplicationCapability_application_t38fax();
771 case e_genericDataCapability
:
772 choice
= new H245_GenericCapability();
781 PObject
* H245_DataApplicationCapability_application::Clone() const
783 #ifndef PASN_LEANANDMEAN
784 PAssert(IsClass(H245_DataApplicationCapability_application::Class()), PInvalidCast
);
786 return new H245_DataApplicationCapability_application(*this);
791 #ifndef PASN_NOPRINTON
792 const static PASN_Names Names_H245_DataProtocolCapability_v76wCompression
[]={
793 {"transmitCompression",0}
794 ,{"receiveCompression",1}
795 ,{"transmitAndReceiveCompression",2}
799 // DataProtocolCapability_v76wCompression
802 H245_DataProtocolCapability_v76wCompression::H245_DataProtocolCapability_v76wCompression(unsigned tag
, PASN_Object::TagClass tagClass
)
803 : PASN_Choice(tag
, tagClass
, 3, TRUE
804 #ifndef PASN_NOPRINTON
805 ,(const PASN_Names
*)Names_H245_DataProtocolCapability_v76wCompression
,3
812 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
813 H245_DataProtocolCapability_v76wCompression::operator H245_CompressionType
&() const
815 H245_DataProtocolCapability_v76wCompression::operator H245_CompressionType
&()
817 #ifndef PASN_LEANANDMEAN
818 PAssert(PIsDescendant(PAssertNULL(choice
), H245_CompressionType
), PInvalidCast
);
820 return *(H245_CompressionType
*)choice
;
824 H245_DataProtocolCapability_v76wCompression::operator const H245_CompressionType
&() const
827 #ifndef PASN_LEANANDMEAN
828 PAssert(PIsDescendant(PAssertNULL(choice
), H245_CompressionType
), PInvalidCast
);
830 return *(H245_CompressionType
*)choice
;
834 BOOL
H245_DataProtocolCapability_v76wCompression::CreateObject()
837 case e_transmitCompression
:
838 case e_receiveCompression
:
839 case e_transmitAndReceiveCompression
:
840 choice
= new H245_CompressionType();
849 PObject
* H245_DataProtocolCapability_v76wCompression::Clone() const
851 #ifndef PASN_LEANANDMEAN
852 PAssert(IsClass(H245_DataProtocolCapability_v76wCompression::Class()), PInvalidCast
);
854 return new H245_DataProtocolCapability_v76wCompression(*this);
859 // T84Profile_t84Restricted
862 H245_T84Profile_t84Restricted::H245_T84Profile_t84Restricted(unsigned tag
, PASN_Object::TagClass tagClass
)
863 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
868 #ifndef PASN_NOPRINTON
869 void H245_T84Profile_t84Restricted::PrintOn(ostream
& strm
) const
871 int indent
= strm
.precision() + 2;
873 strm
<< setw(indent
+7) << "qcif = " << setprecision(indent
) << m_qcif
<< '\n';
874 strm
<< setw(indent
+6) << "cif = " << setprecision(indent
) << m_cif
<< '\n';
875 strm
<< setw(indent
+13) << "ccir601Seq = " << setprecision(indent
) << m_ccir601Seq
<< '\n';
876 strm
<< setw(indent
+14) << "ccir601Prog = " << setprecision(indent
) << m_ccir601Prog
<< '\n';
877 strm
<< setw(indent
+10) << "hdtvSeq = " << setprecision(indent
) << m_hdtvSeq
<< '\n';
878 strm
<< setw(indent
+11) << "hdtvProg = " << setprecision(indent
) << m_hdtvProg
<< '\n';
879 strm
<< setw(indent
+18) << "g3FacsMH200x100 = " << setprecision(indent
) << m_g3FacsMH200x100
<< '\n';
880 strm
<< setw(indent
+18) << "g3FacsMH200x200 = " << setprecision(indent
) << m_g3FacsMH200x200
<< '\n';
881 strm
<< setw(indent
+19) << "g4FacsMMR200x100 = " << setprecision(indent
) << m_g4FacsMMR200x100
<< '\n';
882 strm
<< setw(indent
+19) << "g4FacsMMR200x200 = " << setprecision(indent
) << m_g4FacsMMR200x200
<< '\n';
883 strm
<< setw(indent
+17) << "jbig200x200Seq = " << setprecision(indent
) << m_jbig200x200Seq
<< '\n';
884 strm
<< setw(indent
+18) << "jbig200x200Prog = " << setprecision(indent
) << m_jbig200x200Prog
<< '\n';
885 strm
<< setw(indent
+17) << "jbig300x300Seq = " << setprecision(indent
) << m_jbig300x300Seq
<< '\n';
886 strm
<< setw(indent
+18) << "jbig300x300Prog = " << setprecision(indent
) << m_jbig300x300Prog
<< '\n';
887 strm
<< setw(indent
+14) << "digPhotoLow = " << setprecision(indent
) << m_digPhotoLow
<< '\n';
888 strm
<< setw(indent
+17) << "digPhotoMedSeq = " << setprecision(indent
) << m_digPhotoMedSeq
<< '\n';
889 strm
<< setw(indent
+18) << "digPhotoMedProg = " << setprecision(indent
) << m_digPhotoMedProg
<< '\n';
890 strm
<< setw(indent
+18) << "digPhotoHighSeq = " << setprecision(indent
) << m_digPhotoHighSeq
<< '\n';
891 strm
<< setw(indent
+19) << "digPhotoHighProg = " << setprecision(indent
) << m_digPhotoHighProg
<< '\n';
892 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
897 PObject::Comparison
H245_T84Profile_t84Restricted::Compare(const PObject
& obj
) const
899 #ifndef PASN_LEANANDMEAN
900 PAssert(PIsDescendant(&obj
, H245_T84Profile_t84Restricted
), PInvalidCast
);
902 const H245_T84Profile_t84Restricted
& other
= (const H245_T84Profile_t84Restricted
&)obj
;
906 if ((result
= m_qcif
.Compare(other
.m_qcif
)) != EqualTo
)
908 if ((result
= m_cif
.Compare(other
.m_cif
)) != EqualTo
)
910 if ((result
= m_ccir601Seq
.Compare(other
.m_ccir601Seq
)) != EqualTo
)
912 if ((result
= m_ccir601Prog
.Compare(other
.m_ccir601Prog
)) != EqualTo
)
914 if ((result
= m_hdtvSeq
.Compare(other
.m_hdtvSeq
)) != EqualTo
)
916 if ((result
= m_hdtvProg
.Compare(other
.m_hdtvProg
)) != EqualTo
)
918 if ((result
= m_g3FacsMH200x100
.Compare(other
.m_g3FacsMH200x100
)) != EqualTo
)
920 if ((result
= m_g3FacsMH200x200
.Compare(other
.m_g3FacsMH200x200
)) != EqualTo
)
922 if ((result
= m_g4FacsMMR200x100
.Compare(other
.m_g4FacsMMR200x100
)) != EqualTo
)
924 if ((result
= m_g4FacsMMR200x200
.Compare(other
.m_g4FacsMMR200x200
)) != EqualTo
)
926 if ((result
= m_jbig200x200Seq
.Compare(other
.m_jbig200x200Seq
)) != EqualTo
)
928 if ((result
= m_jbig200x200Prog
.Compare(other
.m_jbig200x200Prog
)) != EqualTo
)
930 if ((result
= m_jbig300x300Seq
.Compare(other
.m_jbig300x300Seq
)) != EqualTo
)
932 if ((result
= m_jbig300x300Prog
.Compare(other
.m_jbig300x300Prog
)) != EqualTo
)
934 if ((result
= m_digPhotoLow
.Compare(other
.m_digPhotoLow
)) != EqualTo
)
936 if ((result
= m_digPhotoMedSeq
.Compare(other
.m_digPhotoMedSeq
)) != EqualTo
)
938 if ((result
= m_digPhotoMedProg
.Compare(other
.m_digPhotoMedProg
)) != EqualTo
)
940 if ((result
= m_digPhotoHighSeq
.Compare(other
.m_digPhotoHighSeq
)) != EqualTo
)
942 if ((result
= m_digPhotoHighProg
.Compare(other
.m_digPhotoHighProg
)) != EqualTo
)
945 return PASN_Sequence::Compare(other
);
949 PINDEX
H245_T84Profile_t84Restricted::GetDataLength() const
952 length
+= m_qcif
.GetObjectLength();
953 length
+= m_cif
.GetObjectLength();
954 length
+= m_ccir601Seq
.GetObjectLength();
955 length
+= m_ccir601Prog
.GetObjectLength();
956 length
+= m_hdtvSeq
.GetObjectLength();
957 length
+= m_hdtvProg
.GetObjectLength();
958 length
+= m_g3FacsMH200x100
.GetObjectLength();
959 length
+= m_g3FacsMH200x200
.GetObjectLength();
960 length
+= m_g4FacsMMR200x100
.GetObjectLength();
961 length
+= m_g4FacsMMR200x200
.GetObjectLength();
962 length
+= m_jbig200x200Seq
.GetObjectLength();
963 length
+= m_jbig200x200Prog
.GetObjectLength();
964 length
+= m_jbig300x300Seq
.GetObjectLength();
965 length
+= m_jbig300x300Prog
.GetObjectLength();
966 length
+= m_digPhotoLow
.GetObjectLength();
967 length
+= m_digPhotoMedSeq
.GetObjectLength();
968 length
+= m_digPhotoMedProg
.GetObjectLength();
969 length
+= m_digPhotoHighSeq
.GetObjectLength();
970 length
+= m_digPhotoHighProg
.GetObjectLength();
975 BOOL
H245_T84Profile_t84Restricted::Decode(PASN_Stream
& strm
)
977 if (!PreambleDecode(strm
))
980 if (!m_qcif
.Decode(strm
))
982 if (!m_cif
.Decode(strm
))
984 if (!m_ccir601Seq
.Decode(strm
))
986 if (!m_ccir601Prog
.Decode(strm
))
988 if (!m_hdtvSeq
.Decode(strm
))
990 if (!m_hdtvProg
.Decode(strm
))
992 if (!m_g3FacsMH200x100
.Decode(strm
))
994 if (!m_g3FacsMH200x200
.Decode(strm
))
996 if (!m_g4FacsMMR200x100
.Decode(strm
))
998 if (!m_g4FacsMMR200x200
.Decode(strm
))
1000 if (!m_jbig200x200Seq
.Decode(strm
))
1002 if (!m_jbig200x200Prog
.Decode(strm
))
1004 if (!m_jbig300x300Seq
.Decode(strm
))
1006 if (!m_jbig300x300Prog
.Decode(strm
))
1008 if (!m_digPhotoLow
.Decode(strm
))
1010 if (!m_digPhotoMedSeq
.Decode(strm
))
1012 if (!m_digPhotoMedProg
.Decode(strm
))
1014 if (!m_digPhotoHighSeq
.Decode(strm
))
1016 if (!m_digPhotoHighProg
.Decode(strm
))
1019 return UnknownExtensionsDecode(strm
);
1023 void H245_T84Profile_t84Restricted::Encode(PASN_Stream
& strm
) const
1025 PreambleEncode(strm
);
1027 m_qcif
.Encode(strm
);
1029 m_ccir601Seq
.Encode(strm
);
1030 m_ccir601Prog
.Encode(strm
);
1031 m_hdtvSeq
.Encode(strm
);
1032 m_hdtvProg
.Encode(strm
);
1033 m_g3FacsMH200x100
.Encode(strm
);
1034 m_g3FacsMH200x200
.Encode(strm
);
1035 m_g4FacsMMR200x100
.Encode(strm
);
1036 m_g4FacsMMR200x200
.Encode(strm
);
1037 m_jbig200x200Seq
.Encode(strm
);
1038 m_jbig200x200Prog
.Encode(strm
);
1039 m_jbig300x300Seq
.Encode(strm
);
1040 m_jbig300x300Prog
.Encode(strm
);
1041 m_digPhotoLow
.Encode(strm
);
1042 m_digPhotoMedSeq
.Encode(strm
);
1043 m_digPhotoMedProg
.Encode(strm
);
1044 m_digPhotoHighSeq
.Encode(strm
);
1045 m_digPhotoHighProg
.Encode(strm
);
1047 UnknownExtensionsEncode(strm
);
1051 PObject
* H245_T84Profile_t84Restricted::Clone() const
1053 #ifndef PASN_LEANANDMEAN
1054 PAssert(IsClass(H245_T84Profile_t84Restricted::Class()), PInvalidCast
);
1056 return new H245_T84Profile_t84Restricted(*this);
1061 #ifndef PASN_NOPRINTON
1062 const static PASN_Names Names_H245_T38FaxUdpOptions_t38FaxUdpEC
[]={
1064 ,{"t38UDPRedundancy",1}
1068 // T38FaxUdpOptions_t38FaxUdpEC
1071 H245_T38FaxUdpOptions_t38FaxUdpEC::H245_T38FaxUdpOptions_t38FaxUdpEC(unsigned tag
, PASN_Object::TagClass tagClass
)
1072 : PASN_Choice(tag
, tagClass
, 2, TRUE
1073 #ifndef PASN_NOPRINTON
1074 ,(const PASN_Names
*)Names_H245_T38FaxUdpOptions_t38FaxUdpEC
,2
1081 BOOL
H245_T38FaxUdpOptions_t38FaxUdpEC::CreateObject()
1083 choice
= (tag
<= e_t38UDPRedundancy
) ? new PASN_Null() : NULL
;
1084 return choice
!= NULL
;
1088 PObject
* H245_T38FaxUdpOptions_t38FaxUdpEC::Clone() const
1090 #ifndef PASN_LEANANDMEAN
1091 PAssert(IsClass(H245_T38FaxUdpOptions_t38FaxUdpEC::Class()), PInvalidCast
);
1093 return new H245_T38FaxUdpOptions_t38FaxUdpEC(*this);
1098 // ArrayOf_NonStandardParameter
1101 H245_ArrayOf_NonStandardParameter::H245_ArrayOf_NonStandardParameter(unsigned tag
, PASN_Object::TagClass tagClass
)
1102 : PASN_Array(tag
, tagClass
)
1107 PASN_Object
* H245_ArrayOf_NonStandardParameter::CreateObject() const
1109 return new H245_NonStandardParameter
;
1113 H245_NonStandardParameter
& H245_ArrayOf_NonStandardParameter::operator[](PINDEX i
) const
1115 return (H245_NonStandardParameter
&)array
[i
];
1119 PObject
* H245_ArrayOf_NonStandardParameter::Clone() const
1121 #ifndef PASN_LEANANDMEAN
1122 PAssert(IsClass(H245_ArrayOf_NonStandardParameter::Class()), PInvalidCast
);
1124 return new H245_ArrayOf_NonStandardParameter(*this);
1129 // ArrayOf_ParameterIdentifier
1132 H245_ArrayOf_ParameterIdentifier::H245_ArrayOf_ParameterIdentifier(unsigned tag
, PASN_Object::TagClass tagClass
)
1133 : PASN_Array(tag
, tagClass
)
1138 PASN_Object
* H245_ArrayOf_ParameterIdentifier::CreateObject() const
1140 return new H245_ParameterIdentifier
;
1144 H245_ParameterIdentifier
& H245_ArrayOf_ParameterIdentifier::operator[](PINDEX i
) const
1146 return (H245_ParameterIdentifier
&)array
[i
];
1150 PObject
* H245_ArrayOf_ParameterIdentifier::Clone() const
1152 #ifndef PASN_LEANANDMEAN
1153 PAssert(IsClass(H245_ArrayOf_ParameterIdentifier::Class()), PInvalidCast
);
1155 return new H245_ArrayOf_ParameterIdentifier(*this);
1160 #ifndef PASN_NOPRINTON
1161 const static PASN_Names Names_H245_FECCapability_rfc2733Format
[]={
1162 {"rfc2733rfc2198",0}
1163 ,{"rfc2733sameport",1}
1164 ,{"rfc2733diffport",2}
1168 // FECCapability_rfc2733Format
1171 H245_FECCapability_rfc2733Format::H245_FECCapability_rfc2733Format(unsigned tag
, PASN_Object::TagClass tagClass
)
1172 : PASN_Choice(tag
, tagClass
, 3, FALSE
1173 #ifndef PASN_NOPRINTON
1174 ,(const PASN_Names
*)Names_H245_FECCapability_rfc2733Format
,3
1181 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
1182 H245_FECCapability_rfc2733Format::operator H245_MaxRedundancy
&() const
1184 H245_FECCapability_rfc2733Format::operator H245_MaxRedundancy
&()
1186 #ifndef PASN_LEANANDMEAN
1187 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MaxRedundancy
), PInvalidCast
);
1189 return *(H245_MaxRedundancy
*)choice
;
1193 H245_FECCapability_rfc2733Format::operator const H245_MaxRedundancy
&() const
1196 #ifndef PASN_LEANANDMEAN
1197 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MaxRedundancy
), PInvalidCast
);
1199 return *(H245_MaxRedundancy
*)choice
;
1203 BOOL
H245_FECCapability_rfc2733Format::CreateObject()
1206 case e_rfc2733rfc2198
:
1207 case e_rfc2733sameport
:
1208 case e_rfc2733diffport
:
1209 choice
= new H245_MaxRedundancy();
1218 PObject
* H245_FECCapability_rfc2733Format::Clone() const
1220 #ifndef PASN_LEANANDMEAN
1221 PAssert(IsClass(H245_FECCapability_rfc2733Format::Class()), PInvalidCast
);
1223 return new H245_FECCapability_rfc2733Format(*this);
1228 #ifndef PASN_NOPRINTON
1229 const static PASN_Names Names_H245_NetworkAccessParameters_distribution
[]={
1235 // NetworkAccessParameters_distribution
1238 H245_NetworkAccessParameters_distribution::H245_NetworkAccessParameters_distribution(unsigned tag
, PASN_Object::TagClass tagClass
)
1239 : PASN_Choice(tag
, tagClass
, 2, TRUE
1240 #ifndef PASN_NOPRINTON
1241 ,(const PASN_Names
*)Names_H245_NetworkAccessParameters_distribution
,2
1248 BOOL
H245_NetworkAccessParameters_distribution::CreateObject()
1250 choice
= (tag
<= e_multicast
) ? new PASN_Null() : NULL
;
1251 return choice
!= NULL
;
1255 PObject
* H245_NetworkAccessParameters_distribution::Clone() const
1257 #ifndef PASN_LEANANDMEAN
1258 PAssert(IsClass(H245_NetworkAccessParameters_distribution::Class()), PInvalidCast
);
1260 return new H245_NetworkAccessParameters_distribution(*this);
1265 #ifndef PASN_NOPRINTON
1266 const static PASN_Names Names_H245_NetworkAccessParameters_networkAddress
[]={
1269 ,{"localAreaAddress",2}
1273 // NetworkAccessParameters_networkAddress
1276 H245_NetworkAccessParameters_networkAddress::H245_NetworkAccessParameters_networkAddress(unsigned tag
, PASN_Object::TagClass tagClass
)
1277 : PASN_Choice(tag
, tagClass
, 3, TRUE
1278 #ifndef PASN_NOPRINTON
1279 ,(const PASN_Names
*)Names_H245_NetworkAccessParameters_networkAddress
,3
1286 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
1287 H245_NetworkAccessParameters_networkAddress::operator H245_Q2931Address
&() const
1289 H245_NetworkAccessParameters_networkAddress::operator H245_Q2931Address
&()
1291 #ifndef PASN_LEANANDMEAN
1292 PAssert(PIsDescendant(PAssertNULL(choice
), H245_Q2931Address
), PInvalidCast
);
1294 return *(H245_Q2931Address
*)choice
;
1298 H245_NetworkAccessParameters_networkAddress::operator const H245_Q2931Address
&() const
1301 #ifndef PASN_LEANANDMEAN
1302 PAssert(PIsDescendant(PAssertNULL(choice
), H245_Q2931Address
), PInvalidCast
);
1304 return *(H245_Q2931Address
*)choice
;
1308 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
1309 H245_NetworkAccessParameters_networkAddress::operator H245_TransportAddress
&() const
1311 H245_NetworkAccessParameters_networkAddress::operator H245_TransportAddress
&()
1313 #ifndef PASN_LEANANDMEAN
1314 PAssert(PIsDescendant(PAssertNULL(choice
), H245_TransportAddress
), PInvalidCast
);
1316 return *(H245_TransportAddress
*)choice
;
1320 H245_NetworkAccessParameters_networkAddress::operator const H245_TransportAddress
&() const
1323 #ifndef PASN_LEANANDMEAN
1324 PAssert(PIsDescendant(PAssertNULL(choice
), H245_TransportAddress
), PInvalidCast
);
1326 return *(H245_TransportAddress
*)choice
;
1330 BOOL
H245_NetworkAccessParameters_networkAddress::CreateObject()
1333 case e_q2931Address
:
1334 choice
= new H245_Q2931Address();
1336 case e_e164Address
:
1337 choice
= new PASN_IA5String();
1338 choice
->SetConstraints(PASN_Object::FixedConstraint
, 1, 128);
1339 choice
->SetCharacterSet(PASN_Object::FixedConstraint
, "0123456789#*,");
1341 case e_localAreaAddress
:
1342 choice
= new H245_TransportAddress();
1351 PObject
* H245_NetworkAccessParameters_networkAddress::Clone() const
1353 #ifndef PASN_LEANANDMEAN
1354 PAssert(IsClass(H245_NetworkAccessParameters_networkAddress::Class()), PInvalidCast
);
1356 return new H245_NetworkAccessParameters_networkAddress(*this);
1361 #ifndef PASN_NOPRINTON
1362 const static PASN_Names Names_H245_NetworkAccessParameters_t120SetupProcedure
[]={
1369 // NetworkAccessParameters_t120SetupProcedure
1372 H245_NetworkAccessParameters_t120SetupProcedure::H245_NetworkAccessParameters_t120SetupProcedure(unsigned tag
, PASN_Object::TagClass tagClass
)
1373 : PASN_Choice(tag
, tagClass
, 3, TRUE
1374 #ifndef PASN_NOPRINTON
1375 ,(const PASN_Names
*)Names_H245_NetworkAccessParameters_t120SetupProcedure
,3
1382 BOOL
H245_NetworkAccessParameters_t120SetupProcedure::CreateObject()
1384 choice
= (tag
<= e_issueQuery
) ? new PASN_Null() : NULL
;
1385 return choice
!= NULL
;
1389 PObject
* H245_NetworkAccessParameters_t120SetupProcedure::Clone() const
1391 #ifndef PASN_LEANANDMEAN
1392 PAssert(IsClass(H245_NetworkAccessParameters_t120SetupProcedure::Class()), PInvalidCast
);
1394 return new H245_NetworkAccessParameters_t120SetupProcedure(*this);
1399 #ifndef PASN_NOPRINTON
1400 const static PASN_Names Names_H245_Q2931Address_address
[]={
1401 {"internationalNumber",0}
1406 // Q2931Address_address
1409 H245_Q2931Address_address::H245_Q2931Address_address(unsigned tag
, PASN_Object::TagClass tagClass
)
1410 : PASN_Choice(tag
, tagClass
, 2, TRUE
1411 #ifndef PASN_NOPRINTON
1412 ,(const PASN_Names
*)Names_H245_Q2931Address_address
,2
1419 BOOL
H245_Q2931Address_address::CreateObject()
1422 case e_internationalNumber
:
1423 choice
= new PASN_NumericString();
1424 choice
->SetConstraints(PASN_Object::FixedConstraint
, 1, 16);
1426 case e_nsapAddress
:
1427 choice
= new PASN_OctetString();
1428 choice
->SetConstraints(PASN_Object::FixedConstraint
, 1, 20);
1437 PObject
* H245_Q2931Address_address::Clone() const
1439 #ifndef PASN_LEANANDMEAN
1440 PAssert(IsClass(H245_Q2931Address_address::Class()), PInvalidCast
);
1442 return new H245_Q2931Address_address(*this);
1447 #ifndef PASN_NOPRINTON
1448 const static PASN_Names Names_H245_H235Media_mediaType
[]={
1453 ,{"redundancyEncoding",4}
1454 ,{"multiplePayloadStream",5}
1460 // H235Media_mediaType
1463 H245_H235Media_mediaType::H245_H235Media_mediaType(unsigned tag
, PASN_Object::TagClass tagClass
)
1464 : PASN_Choice(tag
, tagClass
, 4, TRUE
1465 #ifndef PASN_NOPRINTON
1466 ,(const PASN_Names
*)Names_H245_H235Media_mediaType
,8
1473 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
1474 H245_H235Media_mediaType::operator H245_NonStandardParameter
&() const
1476 H245_H235Media_mediaType::operator H245_NonStandardParameter
&()
1478 #ifndef PASN_LEANANDMEAN
1479 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NonStandardParameter
), PInvalidCast
);
1481 return *(H245_NonStandardParameter
*)choice
;
1485 H245_H235Media_mediaType::operator const H245_NonStandardParameter
&() const
1488 #ifndef PASN_LEANANDMEAN
1489 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NonStandardParameter
), PInvalidCast
);
1491 return *(H245_NonStandardParameter
*)choice
;
1495 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
1496 H245_H235Media_mediaType::operator H245_VideoCapability
&() const
1498 H245_H235Media_mediaType::operator H245_VideoCapability
&()
1500 #ifndef PASN_LEANANDMEAN
1501 PAssert(PIsDescendant(PAssertNULL(choice
), H245_VideoCapability
), PInvalidCast
);
1503 return *(H245_VideoCapability
*)choice
;
1507 H245_H235Media_mediaType::operator const H245_VideoCapability
&() const
1510 #ifndef PASN_LEANANDMEAN
1511 PAssert(PIsDescendant(PAssertNULL(choice
), H245_VideoCapability
), PInvalidCast
);
1513 return *(H245_VideoCapability
*)choice
;
1517 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
1518 H245_H235Media_mediaType::operator H245_AudioCapability
&() const
1520 H245_H235Media_mediaType::operator H245_AudioCapability
&()
1522 #ifndef PASN_LEANANDMEAN
1523 PAssert(PIsDescendant(PAssertNULL(choice
), H245_AudioCapability
), PInvalidCast
);
1525 return *(H245_AudioCapability
*)choice
;
1529 H245_H235Media_mediaType::operator const H245_AudioCapability
&() const
1532 #ifndef PASN_LEANANDMEAN
1533 PAssert(PIsDescendant(PAssertNULL(choice
), H245_AudioCapability
), PInvalidCast
);
1535 return *(H245_AudioCapability
*)choice
;
1539 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
1540 H245_H235Media_mediaType::operator H245_DataApplicationCapability
&() const
1542 H245_H235Media_mediaType::operator H245_DataApplicationCapability
&()
1544 #ifndef PASN_LEANANDMEAN
1545 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataApplicationCapability
), PInvalidCast
);
1547 return *(H245_DataApplicationCapability
*)choice
;
1551 H245_H235Media_mediaType::operator const H245_DataApplicationCapability
&() const
1554 #ifndef PASN_LEANANDMEAN
1555 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataApplicationCapability
), PInvalidCast
);
1557 return *(H245_DataApplicationCapability
*)choice
;
1561 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
1562 H245_H235Media_mediaType::operator H245_RedundancyEncoding
&() const
1564 H245_H235Media_mediaType::operator H245_RedundancyEncoding
&()
1566 #ifndef PASN_LEANANDMEAN
1567 PAssert(PIsDescendant(PAssertNULL(choice
), H245_RedundancyEncoding
), PInvalidCast
);
1569 return *(H245_RedundancyEncoding
*)choice
;
1573 H245_H235Media_mediaType::operator const H245_RedundancyEncoding
&() const
1576 #ifndef PASN_LEANANDMEAN
1577 PAssert(PIsDescendant(PAssertNULL(choice
), H245_RedundancyEncoding
), PInvalidCast
);
1579 return *(H245_RedundancyEncoding
*)choice
;
1583 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
1584 H245_H235Media_mediaType::operator H245_MultiplePayloadStream
&() const
1586 H245_H235Media_mediaType::operator H245_MultiplePayloadStream
&()
1588 #ifndef PASN_LEANANDMEAN
1589 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MultiplePayloadStream
), PInvalidCast
);
1591 return *(H245_MultiplePayloadStream
*)choice
;
1595 H245_H235Media_mediaType::operator const H245_MultiplePayloadStream
&() const
1598 #ifndef PASN_LEANANDMEAN
1599 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MultiplePayloadStream
), PInvalidCast
);
1601 return *(H245_MultiplePayloadStream
*)choice
;
1605 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
1606 H245_H235Media_mediaType::operator H245_DepFECData
&() const
1608 H245_H235Media_mediaType::operator H245_DepFECData
&()
1610 #ifndef PASN_LEANANDMEAN
1611 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DepFECData
), PInvalidCast
);
1613 return *(H245_DepFECData
*)choice
;
1617 H245_H235Media_mediaType::operator const H245_DepFECData
&() const
1620 #ifndef PASN_LEANANDMEAN
1621 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DepFECData
), PInvalidCast
);
1623 return *(H245_DepFECData
*)choice
;
1627 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
1628 H245_H235Media_mediaType::operator H245_FECData
&() const
1630 H245_H235Media_mediaType::operator H245_FECData
&()
1632 #ifndef PASN_LEANANDMEAN
1633 PAssert(PIsDescendant(PAssertNULL(choice
), H245_FECData
), PInvalidCast
);
1635 return *(H245_FECData
*)choice
;
1639 H245_H235Media_mediaType::operator const H245_FECData
&() const
1642 #ifndef PASN_LEANANDMEAN
1643 PAssert(PIsDescendant(PAssertNULL(choice
), H245_FECData
), PInvalidCast
);
1645 return *(H245_FECData
*)choice
;
1649 BOOL
H245_H235Media_mediaType::CreateObject()
1652 case e_nonStandard
:
1653 choice
= new H245_NonStandardParameter();
1656 choice
= new H245_VideoCapability();
1659 choice
= new H245_AudioCapability();
1662 choice
= new H245_DataApplicationCapability();
1664 case e_redundancyEncoding
:
1665 choice
= new H245_RedundancyEncoding();
1667 case e_multiplePayloadStream
:
1668 choice
= new H245_MultiplePayloadStream();
1671 choice
= new H245_DepFECData();
1674 choice
= new H245_FECData();
1683 PObject
* H245_H235Media_mediaType::Clone() const
1685 #ifndef PASN_LEANANDMEAN
1686 PAssert(IsClass(H245_H235Media_mediaType::Class()), PInvalidCast
);
1688 return new H245_H235Media_mediaType(*this);
1693 #ifndef PASN_NOPRINTON
1694 const static PASN_Names Names_H245_H223LogicalChannelParameters_adaptationLayerType
[]={
1698 ,{"al2WithoutSequenceNumbers",3}
1699 ,{"al2WithSequenceNumbers",4}
1707 // H223LogicalChannelParameters_adaptationLayerType
1710 H245_H223LogicalChannelParameters_adaptationLayerType::H245_H223LogicalChannelParameters_adaptationLayerType(unsigned tag
, PASN_Object::TagClass tagClass
)
1711 : PASN_Choice(tag
, tagClass
, 6, TRUE
1712 #ifndef PASN_NOPRINTON
1713 ,(const PASN_Names
*)Names_H245_H223LogicalChannelParameters_adaptationLayerType
,9
1720 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
1721 H245_H223LogicalChannelParameters_adaptationLayerType::operator H245_NonStandardParameter
&() const
1723 H245_H223LogicalChannelParameters_adaptationLayerType::operator H245_NonStandardParameter
&()
1725 #ifndef PASN_LEANANDMEAN
1726 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NonStandardParameter
), PInvalidCast
);
1728 return *(H245_NonStandardParameter
*)choice
;
1732 H245_H223LogicalChannelParameters_adaptationLayerType::operator const H245_NonStandardParameter
&() const
1735 #ifndef PASN_LEANANDMEAN
1736 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NonStandardParameter
), PInvalidCast
);
1738 return *(H245_NonStandardParameter
*)choice
;
1742 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
1743 H245_H223LogicalChannelParameters_adaptationLayerType::operator H245_H223LogicalChannelParameters_adaptationLayerType_al3
&() const
1745 H245_H223LogicalChannelParameters_adaptationLayerType::operator H245_H223LogicalChannelParameters_adaptationLayerType_al3
&()
1747 #ifndef PASN_LEANANDMEAN
1748 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223LogicalChannelParameters_adaptationLayerType_al3
), PInvalidCast
);
1750 return *(H245_H223LogicalChannelParameters_adaptationLayerType_al3
*)choice
;
1754 H245_H223LogicalChannelParameters_adaptationLayerType::operator const H245_H223LogicalChannelParameters_adaptationLayerType_al3
&() const
1757 #ifndef PASN_LEANANDMEAN
1758 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223LogicalChannelParameters_adaptationLayerType_al3
), PInvalidCast
);
1760 return *(H245_H223LogicalChannelParameters_adaptationLayerType_al3
*)choice
;
1764 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
1765 H245_H223LogicalChannelParameters_adaptationLayerType::operator H245_H223AL1MParameters
&() const
1767 H245_H223LogicalChannelParameters_adaptationLayerType::operator H245_H223AL1MParameters
&()
1769 #ifndef PASN_LEANANDMEAN
1770 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223AL1MParameters
), PInvalidCast
);
1772 return *(H245_H223AL1MParameters
*)choice
;
1776 H245_H223LogicalChannelParameters_adaptationLayerType::operator const H245_H223AL1MParameters
&() const
1779 #ifndef PASN_LEANANDMEAN
1780 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223AL1MParameters
), PInvalidCast
);
1782 return *(H245_H223AL1MParameters
*)choice
;
1786 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
1787 H245_H223LogicalChannelParameters_adaptationLayerType::operator H245_H223AL2MParameters
&() const
1789 H245_H223LogicalChannelParameters_adaptationLayerType::operator H245_H223AL2MParameters
&()
1791 #ifndef PASN_LEANANDMEAN
1792 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223AL2MParameters
), PInvalidCast
);
1794 return *(H245_H223AL2MParameters
*)choice
;
1798 H245_H223LogicalChannelParameters_adaptationLayerType::operator const H245_H223AL2MParameters
&() const
1801 #ifndef PASN_LEANANDMEAN
1802 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223AL2MParameters
), PInvalidCast
);
1804 return *(H245_H223AL2MParameters
*)choice
;
1808 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
1809 H245_H223LogicalChannelParameters_adaptationLayerType::operator H245_H223AL3MParameters
&() const
1811 H245_H223LogicalChannelParameters_adaptationLayerType::operator H245_H223AL3MParameters
&()
1813 #ifndef PASN_LEANANDMEAN
1814 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223AL3MParameters
), PInvalidCast
);
1816 return *(H245_H223AL3MParameters
*)choice
;
1820 H245_H223LogicalChannelParameters_adaptationLayerType::operator const H245_H223AL3MParameters
&() const
1823 #ifndef PASN_LEANANDMEAN
1824 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223AL3MParameters
), PInvalidCast
);
1826 return *(H245_H223AL3MParameters
*)choice
;
1830 BOOL
H245_H223LogicalChannelParameters_adaptationLayerType::CreateObject()
1833 case e_nonStandard
:
1834 choice
= new H245_NonStandardParameter();
1837 case e_al1NotFramed
:
1838 case e_al2WithoutSequenceNumbers
:
1839 case e_al2WithSequenceNumbers
:
1840 choice
= new PASN_Null();
1843 choice
= new H245_H223LogicalChannelParameters_adaptationLayerType_al3();
1846 choice
= new H245_H223AL1MParameters();
1849 choice
= new H245_H223AL2MParameters();
1852 choice
= new H245_H223AL3MParameters();
1861 PObject
* H245_H223LogicalChannelParameters_adaptationLayerType::Clone() const
1863 #ifndef PASN_LEANANDMEAN
1864 PAssert(IsClass(H245_H223LogicalChannelParameters_adaptationLayerType::Class()), PInvalidCast
);
1866 return new H245_H223LogicalChannelParameters_adaptationLayerType(*this);
1871 #ifndef PASN_NOPRINTON
1872 const static PASN_Names Names_H245_H223AL1MParameters_transferMode
[]={
1878 // H223AL1MParameters_transferMode
1881 H245_H223AL1MParameters_transferMode::H245_H223AL1MParameters_transferMode(unsigned tag
, PASN_Object::TagClass tagClass
)
1882 : PASN_Choice(tag
, tagClass
, 2, TRUE
1883 #ifndef PASN_NOPRINTON
1884 ,(const PASN_Names
*)Names_H245_H223AL1MParameters_transferMode
,2
1891 BOOL
H245_H223AL1MParameters_transferMode::CreateObject()
1893 choice
= (tag
<= e_unframed
) ? new PASN_Null() : NULL
;
1894 return choice
!= NULL
;
1898 PObject
* H245_H223AL1MParameters_transferMode::Clone() const
1900 #ifndef PASN_LEANANDMEAN
1901 PAssert(IsClass(H245_H223AL1MParameters_transferMode::Class()), PInvalidCast
);
1903 return new H245_H223AL1MParameters_transferMode(*this);
1908 #ifndef PASN_NOPRINTON
1909 const static PASN_Names Names_H245_H223AL1MParameters_headerFEC
[]={
1915 // H223AL1MParameters_headerFEC
1918 H245_H223AL1MParameters_headerFEC::H245_H223AL1MParameters_headerFEC(unsigned tag
, PASN_Object::TagClass tagClass
)
1919 : PASN_Choice(tag
, tagClass
, 2, TRUE
1920 #ifndef PASN_NOPRINTON
1921 ,(const PASN_Names
*)Names_H245_H223AL1MParameters_headerFEC
,2
1928 BOOL
H245_H223AL1MParameters_headerFEC::CreateObject()
1930 choice
= (tag
<= e_golay24_12
) ? new PASN_Null() : NULL
;
1931 return choice
!= NULL
;
1935 PObject
* H245_H223AL1MParameters_headerFEC::Clone() const
1937 #ifndef PASN_LEANANDMEAN
1938 PAssert(IsClass(H245_H223AL1MParameters_headerFEC::Class()), PInvalidCast
);
1940 return new H245_H223AL1MParameters_headerFEC(*this);
1945 #ifndef PASN_NOPRINTON
1946 const static PASN_Names Names_H245_H223AL1MParameters_crcLength
[]={
1958 // H223AL1MParameters_crcLength
1961 H245_H223AL1MParameters_crcLength::H245_H223AL1MParameters_crcLength(unsigned tag
, PASN_Object::TagClass tagClass
)
1962 : PASN_Choice(tag
, tagClass
, 4, TRUE
1963 #ifndef PASN_NOPRINTON
1964 ,(const PASN_Names
*)Names_H245_H223AL1MParameters_crcLength
,8
1971 BOOL
H245_H223AL1MParameters_crcLength::CreateObject()
1973 choice
= (tag
<= e_crcNotUsed
) ? new PASN_Null() : NULL
;
1974 return choice
!= NULL
;
1978 PObject
* H245_H223AL1MParameters_crcLength::Clone() const
1980 #ifndef PASN_LEANANDMEAN
1981 PAssert(IsClass(H245_H223AL1MParameters_crcLength::Class()), PInvalidCast
);
1983 return new H245_H223AL1MParameters_crcLength(*this);
1988 #ifndef PASN_NOPRINTON
1989 const static PASN_Names Names_H245_H223AL1MParameters_arqType
[]={
1996 // H223AL1MParameters_arqType
1999 H245_H223AL1MParameters_arqType::H245_H223AL1MParameters_arqType(unsigned tag
, PASN_Object::TagClass tagClass
)
2000 : PASN_Choice(tag
, tagClass
, 3, TRUE
2001 #ifndef PASN_NOPRINTON
2002 ,(const PASN_Names
*)Names_H245_H223AL1MParameters_arqType
,3
2009 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
2010 H245_H223AL1MParameters_arqType::operator H245_H223AnnexCArqParameters
&() const
2012 H245_H223AL1MParameters_arqType::operator H245_H223AnnexCArqParameters
&()
2014 #ifndef PASN_LEANANDMEAN
2015 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223AnnexCArqParameters
), PInvalidCast
);
2017 return *(H245_H223AnnexCArqParameters
*)choice
;
2021 H245_H223AL1MParameters_arqType::operator const H245_H223AnnexCArqParameters
&() const
2024 #ifndef PASN_LEANANDMEAN
2025 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223AnnexCArqParameters
), PInvalidCast
);
2027 return *(H245_H223AnnexCArqParameters
*)choice
;
2031 BOOL
H245_H223AL1MParameters_arqType::CreateObject()
2035 choice
= new PASN_Null();
2039 choice
= new H245_H223AnnexCArqParameters();
2048 PObject
* H245_H223AL1MParameters_arqType::Clone() const
2050 #ifndef PASN_LEANANDMEAN
2051 PAssert(IsClass(H245_H223AL1MParameters_arqType::Class()), PInvalidCast
);
2053 return new H245_H223AL1MParameters_arqType(*this);
2058 #ifndef PASN_NOPRINTON
2059 const static PASN_Names Names_H245_H223AL2MParameters_headerFEC
[]={
2065 // H223AL2MParameters_headerFEC
2068 H245_H223AL2MParameters_headerFEC::H245_H223AL2MParameters_headerFEC(unsigned tag
, PASN_Object::TagClass tagClass
)
2069 : PASN_Choice(tag
, tagClass
, 2, TRUE
2070 #ifndef PASN_NOPRINTON
2071 ,(const PASN_Names
*)Names_H245_H223AL2MParameters_headerFEC
,2
2078 BOOL
H245_H223AL2MParameters_headerFEC::CreateObject()
2080 choice
= (tag
<= e_golay24_12
) ? new PASN_Null() : NULL
;
2081 return choice
!= NULL
;
2085 PObject
* H245_H223AL2MParameters_headerFEC::Clone() const
2087 #ifndef PASN_LEANANDMEAN
2088 PAssert(IsClass(H245_H223AL2MParameters_headerFEC::Class()), PInvalidCast
);
2090 return new H245_H223AL2MParameters_headerFEC(*this);
2095 #ifndef PASN_NOPRINTON
2096 const static PASN_Names Names_H245_H223AL3MParameters_headerFormat
[]={
2102 // H223AL3MParameters_headerFormat
2105 H245_H223AL3MParameters_headerFormat::H245_H223AL3MParameters_headerFormat(unsigned tag
, PASN_Object::TagClass tagClass
)
2106 : PASN_Choice(tag
, tagClass
, 2, TRUE
2107 #ifndef PASN_NOPRINTON
2108 ,(const PASN_Names
*)Names_H245_H223AL3MParameters_headerFormat
,2
2115 BOOL
H245_H223AL3MParameters_headerFormat::CreateObject()
2117 choice
= (tag
<= e_golay24_12
) ? new PASN_Null() : NULL
;
2118 return choice
!= NULL
;
2122 PObject
* H245_H223AL3MParameters_headerFormat::Clone() const
2124 #ifndef PASN_LEANANDMEAN
2125 PAssert(IsClass(H245_H223AL3MParameters_headerFormat::Class()), PInvalidCast
);
2127 return new H245_H223AL3MParameters_headerFormat(*this);
2132 #ifndef PASN_NOPRINTON
2133 const static PASN_Names Names_H245_H223AL3MParameters_crcLength
[]={
2145 // H223AL3MParameters_crcLength
2148 H245_H223AL3MParameters_crcLength::H245_H223AL3MParameters_crcLength(unsigned tag
, PASN_Object::TagClass tagClass
)
2149 : PASN_Choice(tag
, tagClass
, 4, TRUE
2150 #ifndef PASN_NOPRINTON
2151 ,(const PASN_Names
*)Names_H245_H223AL3MParameters_crcLength
,8
2158 BOOL
H245_H223AL3MParameters_crcLength::CreateObject()
2160 choice
= (tag
<= e_crcNotUsed
) ? new PASN_Null() : NULL
;
2161 return choice
!= NULL
;
2165 PObject
* H245_H223AL3MParameters_crcLength::Clone() const
2167 #ifndef PASN_LEANANDMEAN
2168 PAssert(IsClass(H245_H223AL3MParameters_crcLength::Class()), PInvalidCast
);
2170 return new H245_H223AL3MParameters_crcLength(*this);
2175 #ifndef PASN_NOPRINTON
2176 const static PASN_Names Names_H245_H223AL3MParameters_arqType
[]={
2183 // H223AL3MParameters_arqType
2186 H245_H223AL3MParameters_arqType::H245_H223AL3MParameters_arqType(unsigned tag
, PASN_Object::TagClass tagClass
)
2187 : PASN_Choice(tag
, tagClass
, 3, TRUE
2188 #ifndef PASN_NOPRINTON
2189 ,(const PASN_Names
*)Names_H245_H223AL3MParameters_arqType
,3
2196 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
2197 H245_H223AL3MParameters_arqType::operator H245_H223AnnexCArqParameters
&() const
2199 H245_H223AL3MParameters_arqType::operator H245_H223AnnexCArqParameters
&()
2201 #ifndef PASN_LEANANDMEAN
2202 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223AnnexCArqParameters
), PInvalidCast
);
2204 return *(H245_H223AnnexCArqParameters
*)choice
;
2208 H245_H223AL3MParameters_arqType::operator const H245_H223AnnexCArqParameters
&() const
2211 #ifndef PASN_LEANANDMEAN
2212 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223AnnexCArqParameters
), PInvalidCast
);
2214 return *(H245_H223AnnexCArqParameters
*)choice
;
2218 BOOL
H245_H223AL3MParameters_arqType::CreateObject()
2222 choice
= new PASN_Null();
2226 choice
= new H245_H223AnnexCArqParameters();
2235 PObject
* H245_H223AL3MParameters_arqType::Clone() const
2237 #ifndef PASN_LEANANDMEAN
2238 PAssert(IsClass(H245_H223AL3MParameters_arqType::Class()), PInvalidCast
);
2240 return new H245_H223AL3MParameters_arqType(*this);
2245 #ifndef PASN_NOPRINTON
2246 const static PASN_Names Names_H245_H223AnnexCArqParameters_numberOfRetransmissions
[]={
2252 // H223AnnexCArqParameters_numberOfRetransmissions
2255 H245_H223AnnexCArqParameters_numberOfRetransmissions::H245_H223AnnexCArqParameters_numberOfRetransmissions(unsigned tag
, PASN_Object::TagClass tagClass
)
2256 : PASN_Choice(tag
, tagClass
, 2, TRUE
2257 #ifndef PASN_NOPRINTON
2258 ,(const PASN_Names
*)Names_H245_H223AnnexCArqParameters_numberOfRetransmissions
,2
2265 BOOL
H245_H223AnnexCArqParameters_numberOfRetransmissions::CreateObject()
2269 choice
= new PASN_Integer();
2270 choice
->SetConstraints(PASN_Object::FixedConstraint
, 0, 16);
2273 choice
= new PASN_Null();
2282 PObject
* H245_H223AnnexCArqParameters_numberOfRetransmissions::Clone() const
2284 #ifndef PASN_LEANANDMEAN
2285 PAssert(IsClass(H245_H223AnnexCArqParameters_numberOfRetransmissions::Class()), PInvalidCast
);
2287 return new H245_H223AnnexCArqParameters_numberOfRetransmissions(*this);
2292 #ifndef PASN_NOPRINTON
2293 const static PASN_Names Names_H245_V76LogicalChannelParameters_suspendResume
[]={
2294 {"noSuspendResume",0}
2295 ,{"suspendResumewAddress",1}
2296 ,{"suspendResumewoAddress",2}
2300 // V76LogicalChannelParameters_suspendResume
2303 H245_V76LogicalChannelParameters_suspendResume::H245_V76LogicalChannelParameters_suspendResume(unsigned tag
, PASN_Object::TagClass tagClass
)
2304 : PASN_Choice(tag
, tagClass
, 3, TRUE
2305 #ifndef PASN_NOPRINTON
2306 ,(const PASN_Names
*)Names_H245_V76LogicalChannelParameters_suspendResume
,3
2313 BOOL
H245_V76LogicalChannelParameters_suspendResume::CreateObject()
2315 choice
= (tag
<= e_suspendResumewoAddress
) ? new PASN_Null() : NULL
;
2316 return choice
!= NULL
;
2320 PObject
* H245_V76LogicalChannelParameters_suspendResume::Clone() const
2322 #ifndef PASN_LEANANDMEAN
2323 PAssert(IsClass(H245_V76LogicalChannelParameters_suspendResume::Class()), PInvalidCast
);
2325 return new H245_V76LogicalChannelParameters_suspendResume(*this);
2330 #ifndef PASN_NOPRINTON
2331 const static PASN_Names Names_H245_V76LogicalChannelParameters_mode
[]={
2337 // V76LogicalChannelParameters_mode
2340 H245_V76LogicalChannelParameters_mode::H245_V76LogicalChannelParameters_mode(unsigned tag
, PASN_Object::TagClass tagClass
)
2341 : PASN_Choice(tag
, tagClass
, 2, TRUE
2342 #ifndef PASN_NOPRINTON
2343 ,(const PASN_Names
*)Names_H245_V76LogicalChannelParameters_mode
,2
2350 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
2351 H245_V76LogicalChannelParameters_mode::operator H245_V76LogicalChannelParameters_mode_eRM
&() const
2353 H245_V76LogicalChannelParameters_mode::operator H245_V76LogicalChannelParameters_mode_eRM
&()
2355 #ifndef PASN_LEANANDMEAN
2356 PAssert(PIsDescendant(PAssertNULL(choice
), H245_V76LogicalChannelParameters_mode_eRM
), PInvalidCast
);
2358 return *(H245_V76LogicalChannelParameters_mode_eRM
*)choice
;
2362 H245_V76LogicalChannelParameters_mode::operator const H245_V76LogicalChannelParameters_mode_eRM
&() const
2365 #ifndef PASN_LEANANDMEAN
2366 PAssert(PIsDescendant(PAssertNULL(choice
), H245_V76LogicalChannelParameters_mode_eRM
), PInvalidCast
);
2368 return *(H245_V76LogicalChannelParameters_mode_eRM
*)choice
;
2372 BOOL
H245_V76LogicalChannelParameters_mode::CreateObject()
2376 choice
= new H245_V76LogicalChannelParameters_mode_eRM();
2379 choice
= new PASN_Null();
2388 PObject
* H245_V76LogicalChannelParameters_mode::Clone() const
2390 #ifndef PASN_LEANANDMEAN
2391 PAssert(IsClass(H245_V76LogicalChannelParameters_mode::Class()), PInvalidCast
);
2393 return new H245_V76LogicalChannelParameters_mode(*this);
2398 #ifndef PASN_NOPRINTON
2399 const static PASN_Names Names_H245_H2250LogicalChannelParameters_mediaPacketization
[]={
2400 {"h261aVideoPacketization",0}
2401 ,{"rtpPayloadType",1}
2405 // H2250LogicalChannelParameters_mediaPacketization
2408 H245_H2250LogicalChannelParameters_mediaPacketization::H245_H2250LogicalChannelParameters_mediaPacketization(unsigned tag
, PASN_Object::TagClass tagClass
)
2409 : PASN_Choice(tag
, tagClass
, 1, TRUE
2410 #ifndef PASN_NOPRINTON
2411 ,(const PASN_Names
*)Names_H245_H2250LogicalChannelParameters_mediaPacketization
,2
2418 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
2419 H245_H2250LogicalChannelParameters_mediaPacketization::operator H245_RTPPayloadType
&() const
2421 H245_H2250LogicalChannelParameters_mediaPacketization::operator H245_RTPPayloadType
&()
2423 #ifndef PASN_LEANANDMEAN
2424 PAssert(PIsDescendant(PAssertNULL(choice
), H245_RTPPayloadType
), PInvalidCast
);
2426 return *(H245_RTPPayloadType
*)choice
;
2430 H245_H2250LogicalChannelParameters_mediaPacketization::operator const H245_RTPPayloadType
&() const
2433 #ifndef PASN_LEANANDMEAN
2434 PAssert(PIsDescendant(PAssertNULL(choice
), H245_RTPPayloadType
), PInvalidCast
);
2436 return *(H245_RTPPayloadType
*)choice
;
2440 BOOL
H245_H2250LogicalChannelParameters_mediaPacketization::CreateObject()
2443 case e_h261aVideoPacketization
:
2444 choice
= new PASN_Null();
2446 case e_rtpPayloadType
:
2447 choice
= new H245_RTPPayloadType();
2456 PObject
* H245_H2250LogicalChannelParameters_mediaPacketization::Clone() const
2458 #ifndef PASN_LEANANDMEAN
2459 PAssert(IsClass(H245_H2250LogicalChannelParameters_mediaPacketization::Class()), PInvalidCast
);
2461 return new H245_H2250LogicalChannelParameters_mediaPacketization(*this);
2466 #ifndef PASN_NOPRINTON
2467 const static PASN_Names Names_H245_RTPPayloadType_payloadDescriptor
[]={
2468 {"nonStandardIdentifier",0}
2474 // RTPPayloadType_payloadDescriptor
2477 H245_RTPPayloadType_payloadDescriptor::H245_RTPPayloadType_payloadDescriptor(unsigned tag
, PASN_Object::TagClass tagClass
)
2478 : PASN_Choice(tag
, tagClass
, 3, TRUE
2479 #ifndef PASN_NOPRINTON
2480 ,(const PASN_Names
*)Names_H245_RTPPayloadType_payloadDescriptor
,3
2487 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
2488 H245_RTPPayloadType_payloadDescriptor::operator H245_NonStandardParameter
&() const
2490 H245_RTPPayloadType_payloadDescriptor::operator H245_NonStandardParameter
&()
2492 #ifndef PASN_LEANANDMEAN
2493 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NonStandardParameter
), PInvalidCast
);
2495 return *(H245_NonStandardParameter
*)choice
;
2499 H245_RTPPayloadType_payloadDescriptor::operator const H245_NonStandardParameter
&() const
2502 #ifndef PASN_LEANANDMEAN
2503 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NonStandardParameter
), PInvalidCast
);
2505 return *(H245_NonStandardParameter
*)choice
;
2509 BOOL
H245_RTPPayloadType_payloadDescriptor::CreateObject()
2512 case e_nonStandardIdentifier
:
2513 choice
= new H245_NonStandardParameter();
2516 choice
= new PASN_Integer();
2517 choice
->SetConstraints(PASN_Object::ExtendableConstraint
, 1, 32768);
2520 choice
= new PASN_ObjectId();
2529 PObject
* H245_RTPPayloadType_payloadDescriptor::Clone() const
2531 #ifndef PASN_LEANANDMEAN
2532 PAssert(IsClass(H245_RTPPayloadType_payloadDescriptor::Class()), PInvalidCast
);
2534 return new H245_RTPPayloadType_payloadDescriptor(*this);
2539 // ArrayOf_MultiplePayloadStreamElement
2542 H245_ArrayOf_MultiplePayloadStreamElement::H245_ArrayOf_MultiplePayloadStreamElement(unsigned tag
, PASN_Object::TagClass tagClass
)
2543 : PASN_Array(tag
, tagClass
)
2548 PASN_Object
* H245_ArrayOf_MultiplePayloadStreamElement::CreateObject() const
2550 return new H245_MultiplePayloadStreamElement
;
2554 H245_MultiplePayloadStreamElement
& H245_ArrayOf_MultiplePayloadStreamElement::operator[](PINDEX i
) const
2556 return (H245_MultiplePayloadStreamElement
&)array
[i
];
2560 PObject
* H245_ArrayOf_MultiplePayloadStreamElement::Clone() const
2562 #ifndef PASN_LEANANDMEAN
2563 PAssert(IsClass(H245_ArrayOf_MultiplePayloadStreamElement::Class()), PInvalidCast
);
2565 return new H245_ArrayOf_MultiplePayloadStreamElement(*this);
2570 // UnicastAddress_iPAddress
2573 H245_UnicastAddress_iPAddress::H245_UnicastAddress_iPAddress(unsigned tag
, PASN_Object::TagClass tagClass
)
2574 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
2576 m_network
.SetConstraints(PASN_Object::FixedConstraint
, 4);
2577 m_tsapIdentifier
.SetConstraints(PASN_Object::FixedConstraint
, 0, 65535);
2581 #ifndef PASN_NOPRINTON
2582 void H245_UnicastAddress_iPAddress::PrintOn(ostream
& strm
) const
2584 int indent
= strm
.precision() + 2;
2586 strm
<< setw(indent
+10) << "network = " << setprecision(indent
) << m_network
<< '\n';
2587 strm
<< setw(indent
+17) << "tsapIdentifier = " << setprecision(indent
) << m_tsapIdentifier
<< '\n';
2588 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
2593 PObject::Comparison
H245_UnicastAddress_iPAddress::Compare(const PObject
& obj
) const
2595 #ifndef PASN_LEANANDMEAN
2596 PAssert(PIsDescendant(&obj
, H245_UnicastAddress_iPAddress
), PInvalidCast
);
2598 const H245_UnicastAddress_iPAddress
& other
= (const H245_UnicastAddress_iPAddress
&)obj
;
2602 if ((result
= m_network
.Compare(other
.m_network
)) != EqualTo
)
2604 if ((result
= m_tsapIdentifier
.Compare(other
.m_tsapIdentifier
)) != EqualTo
)
2607 return PASN_Sequence::Compare(other
);
2611 PINDEX
H245_UnicastAddress_iPAddress::GetDataLength() const
2614 length
+= m_network
.GetObjectLength();
2615 length
+= m_tsapIdentifier
.GetObjectLength();
2620 BOOL
H245_UnicastAddress_iPAddress::Decode(PASN_Stream
& strm
)
2622 if (!PreambleDecode(strm
))
2625 if (!m_network
.Decode(strm
))
2627 if (!m_tsapIdentifier
.Decode(strm
))
2630 return UnknownExtensionsDecode(strm
);
2634 void H245_UnicastAddress_iPAddress::Encode(PASN_Stream
& strm
) const
2636 PreambleEncode(strm
);
2638 m_network
.Encode(strm
);
2639 m_tsapIdentifier
.Encode(strm
);
2641 UnknownExtensionsEncode(strm
);
2645 PObject
* H245_UnicastAddress_iPAddress::Clone() const
2647 #ifndef PASN_LEANANDMEAN
2648 PAssert(IsClass(H245_UnicastAddress_iPAddress::Class()), PInvalidCast
);
2650 return new H245_UnicastAddress_iPAddress(*this);
2655 // UnicastAddress_iPXAddress
2658 H245_UnicastAddress_iPXAddress::H245_UnicastAddress_iPXAddress(unsigned tag
, PASN_Object::TagClass tagClass
)
2659 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
2661 m_node
.SetConstraints(PASN_Object::FixedConstraint
, 6);
2662 m_netnum
.SetConstraints(PASN_Object::FixedConstraint
, 4);
2663 m_tsapIdentifier
.SetConstraints(PASN_Object::FixedConstraint
, 2);
2667 #ifndef PASN_NOPRINTON
2668 void H245_UnicastAddress_iPXAddress::PrintOn(ostream
& strm
) const
2670 int indent
= strm
.precision() + 2;
2672 strm
<< setw(indent
+7) << "node = " << setprecision(indent
) << m_node
<< '\n';
2673 strm
<< setw(indent
+9) << "netnum = " << setprecision(indent
) << m_netnum
<< '\n';
2674 strm
<< setw(indent
+17) << "tsapIdentifier = " << setprecision(indent
) << m_tsapIdentifier
<< '\n';
2675 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
2680 PObject::Comparison
H245_UnicastAddress_iPXAddress::Compare(const PObject
& obj
) const
2682 #ifndef PASN_LEANANDMEAN
2683 PAssert(PIsDescendant(&obj
, H245_UnicastAddress_iPXAddress
), PInvalidCast
);
2685 const H245_UnicastAddress_iPXAddress
& other
= (const H245_UnicastAddress_iPXAddress
&)obj
;
2689 if ((result
= m_node
.Compare(other
.m_node
)) != EqualTo
)
2691 if ((result
= m_netnum
.Compare(other
.m_netnum
)) != EqualTo
)
2693 if ((result
= m_tsapIdentifier
.Compare(other
.m_tsapIdentifier
)) != EqualTo
)
2696 return PASN_Sequence::Compare(other
);
2700 PINDEX
H245_UnicastAddress_iPXAddress::GetDataLength() const
2703 length
+= m_node
.GetObjectLength();
2704 length
+= m_netnum
.GetObjectLength();
2705 length
+= m_tsapIdentifier
.GetObjectLength();
2710 BOOL
H245_UnicastAddress_iPXAddress::Decode(PASN_Stream
& strm
)
2712 if (!PreambleDecode(strm
))
2715 if (!m_node
.Decode(strm
))
2717 if (!m_netnum
.Decode(strm
))
2719 if (!m_tsapIdentifier
.Decode(strm
))
2722 return UnknownExtensionsDecode(strm
);
2726 void H245_UnicastAddress_iPXAddress::Encode(PASN_Stream
& strm
) const
2728 PreambleEncode(strm
);
2730 m_node
.Encode(strm
);
2731 m_netnum
.Encode(strm
);
2732 m_tsapIdentifier
.Encode(strm
);
2734 UnknownExtensionsEncode(strm
);
2738 PObject
* H245_UnicastAddress_iPXAddress::Clone() const
2740 #ifndef PASN_LEANANDMEAN
2741 PAssert(IsClass(H245_UnicastAddress_iPXAddress::Class()), PInvalidCast
);
2743 return new H245_UnicastAddress_iPXAddress(*this);
2748 // UnicastAddress_iP6Address
2751 H245_UnicastAddress_iP6Address::H245_UnicastAddress_iP6Address(unsigned tag
, PASN_Object::TagClass tagClass
)
2752 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
2754 m_network
.SetConstraints(PASN_Object::FixedConstraint
, 16);
2755 m_tsapIdentifier
.SetConstraints(PASN_Object::FixedConstraint
, 0, 65535);
2759 #ifndef PASN_NOPRINTON
2760 void H245_UnicastAddress_iP6Address::PrintOn(ostream
& strm
) const
2762 int indent
= strm
.precision() + 2;
2764 strm
<< setw(indent
+10) << "network = " << setprecision(indent
) << m_network
<< '\n';
2765 strm
<< setw(indent
+17) << "tsapIdentifier = " << setprecision(indent
) << m_tsapIdentifier
<< '\n';
2766 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
2771 PObject::Comparison
H245_UnicastAddress_iP6Address::Compare(const PObject
& obj
) const
2773 #ifndef PASN_LEANANDMEAN
2774 PAssert(PIsDescendant(&obj
, H245_UnicastAddress_iP6Address
), PInvalidCast
);
2776 const H245_UnicastAddress_iP6Address
& other
= (const H245_UnicastAddress_iP6Address
&)obj
;
2780 if ((result
= m_network
.Compare(other
.m_network
)) != EqualTo
)
2782 if ((result
= m_tsapIdentifier
.Compare(other
.m_tsapIdentifier
)) != EqualTo
)
2785 return PASN_Sequence::Compare(other
);
2789 PINDEX
H245_UnicastAddress_iP6Address::GetDataLength() const
2792 length
+= m_network
.GetObjectLength();
2793 length
+= m_tsapIdentifier
.GetObjectLength();
2798 BOOL
H245_UnicastAddress_iP6Address::Decode(PASN_Stream
& strm
)
2800 if (!PreambleDecode(strm
))
2803 if (!m_network
.Decode(strm
))
2805 if (!m_tsapIdentifier
.Decode(strm
))
2808 return UnknownExtensionsDecode(strm
);
2812 void H245_UnicastAddress_iP6Address::Encode(PASN_Stream
& strm
) const
2814 PreambleEncode(strm
);
2816 m_network
.Encode(strm
);
2817 m_tsapIdentifier
.Encode(strm
);
2819 UnknownExtensionsEncode(strm
);
2823 PObject
* H245_UnicastAddress_iP6Address::Clone() const
2825 #ifndef PASN_LEANANDMEAN
2826 PAssert(IsClass(H245_UnicastAddress_iP6Address::Class()), PInvalidCast
);
2828 return new H245_UnicastAddress_iP6Address(*this);
2833 // MulticastAddress_iPAddress
2836 H245_MulticastAddress_iPAddress::H245_MulticastAddress_iPAddress(unsigned tag
, PASN_Object::TagClass tagClass
)
2837 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
2839 m_network
.SetConstraints(PASN_Object::FixedConstraint
, 4);
2840 m_tsapIdentifier
.SetConstraints(PASN_Object::FixedConstraint
, 0, 65535);
2844 #ifndef PASN_NOPRINTON
2845 void H245_MulticastAddress_iPAddress::PrintOn(ostream
& strm
) const
2847 int indent
= strm
.precision() + 2;
2849 strm
<< setw(indent
+10) << "network = " << setprecision(indent
) << m_network
<< '\n';
2850 strm
<< setw(indent
+17) << "tsapIdentifier = " << setprecision(indent
) << m_tsapIdentifier
<< '\n';
2851 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
2856 PObject::Comparison
H245_MulticastAddress_iPAddress::Compare(const PObject
& obj
) const
2858 #ifndef PASN_LEANANDMEAN
2859 PAssert(PIsDescendant(&obj
, H245_MulticastAddress_iPAddress
), PInvalidCast
);
2861 const H245_MulticastAddress_iPAddress
& other
= (const H245_MulticastAddress_iPAddress
&)obj
;
2865 if ((result
= m_network
.Compare(other
.m_network
)) != EqualTo
)
2867 if ((result
= m_tsapIdentifier
.Compare(other
.m_tsapIdentifier
)) != EqualTo
)
2870 return PASN_Sequence::Compare(other
);
2874 PINDEX
H245_MulticastAddress_iPAddress::GetDataLength() const
2877 length
+= m_network
.GetObjectLength();
2878 length
+= m_tsapIdentifier
.GetObjectLength();
2883 BOOL
H245_MulticastAddress_iPAddress::Decode(PASN_Stream
& strm
)
2885 if (!PreambleDecode(strm
))
2888 if (!m_network
.Decode(strm
))
2890 if (!m_tsapIdentifier
.Decode(strm
))
2893 return UnknownExtensionsDecode(strm
);
2897 void H245_MulticastAddress_iPAddress::Encode(PASN_Stream
& strm
) const
2899 PreambleEncode(strm
);
2901 m_network
.Encode(strm
);
2902 m_tsapIdentifier
.Encode(strm
);
2904 UnknownExtensionsEncode(strm
);
2908 PObject
* H245_MulticastAddress_iPAddress::Clone() const
2910 #ifndef PASN_LEANANDMEAN
2911 PAssert(IsClass(H245_MulticastAddress_iPAddress::Class()), PInvalidCast
);
2913 return new H245_MulticastAddress_iPAddress(*this);
2918 // MulticastAddress_iP6Address
2921 H245_MulticastAddress_iP6Address::H245_MulticastAddress_iP6Address(unsigned tag
, PASN_Object::TagClass tagClass
)
2922 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
2924 m_network
.SetConstraints(PASN_Object::FixedConstraint
, 16);
2925 m_tsapIdentifier
.SetConstraints(PASN_Object::FixedConstraint
, 0, 65535);
2929 #ifndef PASN_NOPRINTON
2930 void H245_MulticastAddress_iP6Address::PrintOn(ostream
& strm
) const
2932 int indent
= strm
.precision() + 2;
2934 strm
<< setw(indent
+10) << "network = " << setprecision(indent
) << m_network
<< '\n';
2935 strm
<< setw(indent
+17) << "tsapIdentifier = " << setprecision(indent
) << m_tsapIdentifier
<< '\n';
2936 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
2941 PObject::Comparison
H245_MulticastAddress_iP6Address::Compare(const PObject
& obj
) const
2943 #ifndef PASN_LEANANDMEAN
2944 PAssert(PIsDescendant(&obj
, H245_MulticastAddress_iP6Address
), PInvalidCast
);
2946 const H245_MulticastAddress_iP6Address
& other
= (const H245_MulticastAddress_iP6Address
&)obj
;
2950 if ((result
= m_network
.Compare(other
.m_network
)) != EqualTo
)
2952 if ((result
= m_tsapIdentifier
.Compare(other
.m_tsapIdentifier
)) != EqualTo
)
2955 return PASN_Sequence::Compare(other
);
2959 PINDEX
H245_MulticastAddress_iP6Address::GetDataLength() const
2962 length
+= m_network
.GetObjectLength();
2963 length
+= m_tsapIdentifier
.GetObjectLength();
2968 BOOL
H245_MulticastAddress_iP6Address::Decode(PASN_Stream
& strm
)
2970 if (!PreambleDecode(strm
))
2973 if (!m_network
.Decode(strm
))
2975 if (!m_tsapIdentifier
.Decode(strm
))
2978 return UnknownExtensionsDecode(strm
);
2982 void H245_MulticastAddress_iP6Address::Encode(PASN_Stream
& strm
) const
2984 PreambleEncode(strm
);
2986 m_network
.Encode(strm
);
2987 m_tsapIdentifier
.Encode(strm
);
2989 UnknownExtensionsEncode(strm
);
2993 PObject
* H245_MulticastAddress_iP6Address::Clone() const
2995 #ifndef PASN_LEANANDMEAN
2996 PAssert(IsClass(H245_MulticastAddress_iP6Address::Class()), PInvalidCast
);
2998 return new H245_MulticastAddress_iP6Address(*this);
3003 // ArrayOf_EscrowData
3006 H245_ArrayOf_EscrowData::H245_ArrayOf_EscrowData(unsigned tag
, PASN_Object::TagClass tagClass
)
3007 : PASN_Array(tag
, tagClass
)
3012 PASN_Object
* H245_ArrayOf_EscrowData::CreateObject() const
3014 return new H245_EscrowData
;
3018 H245_EscrowData
& H245_ArrayOf_EscrowData::operator[](PINDEX i
) const
3020 return (H245_EscrowData
&)array
[i
];
3024 PObject
* H245_ArrayOf_EscrowData::Clone() const
3026 #ifndef PASN_LEANANDMEAN
3027 PAssert(IsClass(H245_ArrayOf_EscrowData::Class()), PInvalidCast
);
3029 return new H245_ArrayOf_EscrowData(*this);
3034 #ifndef PASN_NOPRINTON
3035 const static PASN_Names Names_H245_OpenLogicalChannelAck_forwardMultiplexAckParameters
[]={
3036 {"h2250LogicalChannelAckParameters",0}
3040 // OpenLogicalChannelAck_forwardMultiplexAckParameters
3043 H245_OpenLogicalChannelAck_forwardMultiplexAckParameters::H245_OpenLogicalChannelAck_forwardMultiplexAckParameters(unsigned tag
, PASN_Object::TagClass tagClass
)
3044 : PASN_Choice(tag
, tagClass
, 1, TRUE
3045 #ifndef PASN_NOPRINTON
3046 ,(const PASN_Names
*)Names_H245_OpenLogicalChannelAck_forwardMultiplexAckParameters
,1
3053 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
3054 H245_OpenLogicalChannelAck_forwardMultiplexAckParameters::operator H245_H2250LogicalChannelAckParameters
&() const
3056 H245_OpenLogicalChannelAck_forwardMultiplexAckParameters::operator H245_H2250LogicalChannelAckParameters
&()
3058 #ifndef PASN_LEANANDMEAN
3059 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H2250LogicalChannelAckParameters
), PInvalidCast
);
3061 return *(H245_H2250LogicalChannelAckParameters
*)choice
;
3065 H245_OpenLogicalChannelAck_forwardMultiplexAckParameters::operator const H245_H2250LogicalChannelAckParameters
&() const
3068 #ifndef PASN_LEANANDMEAN
3069 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H2250LogicalChannelAckParameters
), PInvalidCast
);
3071 return *(H245_H2250LogicalChannelAckParameters
*)choice
;
3075 BOOL
H245_OpenLogicalChannelAck_forwardMultiplexAckParameters::CreateObject()
3078 case e_h2250LogicalChannelAckParameters
:
3079 choice
= new H245_H2250LogicalChannelAckParameters();
3088 PObject
* H245_OpenLogicalChannelAck_forwardMultiplexAckParameters::Clone() const
3090 #ifndef PASN_LEANANDMEAN
3091 PAssert(IsClass(H245_OpenLogicalChannelAck_forwardMultiplexAckParameters::Class()), PInvalidCast
);
3093 return new H245_OpenLogicalChannelAck_forwardMultiplexAckParameters(*this);
3098 #ifndef PASN_NOPRINTON
3099 const static PASN_Names Names_H245_OpenLogicalChannelReject_cause
[]={
3101 ,{"unsuitableReverseParameters",1}
3102 ,{"dataTypeNotSupported",2}
3103 ,{"dataTypeNotAvailable",3}
3104 ,{"unknownDataType",4}
3105 ,{"dataTypeALCombinationNotSupported",5}
3106 ,{"multicastChannelNotAllowed",6}
3107 ,{"insufficientBandwidth",7}
3108 ,{"separateStackEstablishmentFailed",8}
3109 ,{"invalidSessionID",9}
3110 ,{"masterSlaveConflict",10}
3111 ,{"waitForCommunicationMode",11}
3112 ,{"invalidDependentChannel",12}
3113 ,{"replacementForRejected",13}
3114 ,{"securityDenied",14}
3118 // OpenLogicalChannelReject_cause
3121 H245_OpenLogicalChannelReject_cause::H245_OpenLogicalChannelReject_cause(unsigned tag
, PASN_Object::TagClass tagClass
)
3122 : PASN_Choice(tag
, tagClass
, 6, TRUE
3123 #ifndef PASN_NOPRINTON
3124 ,(const PASN_Names
*)Names_H245_OpenLogicalChannelReject_cause
,15
3131 BOOL
H245_OpenLogicalChannelReject_cause::CreateObject()
3133 choice
= (tag
<= e_securityDenied
) ? new PASN_Null() : NULL
;
3134 return choice
!= NULL
;
3138 PObject
* H245_OpenLogicalChannelReject_cause::Clone() const
3140 #ifndef PASN_LEANANDMEAN
3141 PAssert(IsClass(H245_OpenLogicalChannelReject_cause::Class()), PInvalidCast
);
3143 return new H245_OpenLogicalChannelReject_cause(*this);
3148 #ifndef PASN_NOPRINTON
3149 const static PASN_Names Names_H245_CloseLogicalChannel_source
[]={
3155 // CloseLogicalChannel_source
3158 H245_CloseLogicalChannel_source::H245_CloseLogicalChannel_source(unsigned tag
, PASN_Object::TagClass tagClass
)
3159 : PASN_Choice(tag
, tagClass
, 2, FALSE
3160 #ifndef PASN_NOPRINTON
3161 ,(const PASN_Names
*)Names_H245_CloseLogicalChannel_source
,2
3168 BOOL
H245_CloseLogicalChannel_source::CreateObject()
3170 choice
= (tag
<= e_lcse
) ? new PASN_Null() : NULL
;
3171 return choice
!= NULL
;
3175 PObject
* H245_CloseLogicalChannel_source::Clone() const
3177 #ifndef PASN_LEANANDMEAN
3178 PAssert(IsClass(H245_CloseLogicalChannel_source::Class()), PInvalidCast
);
3180 return new H245_CloseLogicalChannel_source(*this);
3185 #ifndef PASN_NOPRINTON
3186 const static PASN_Names Names_H245_CloseLogicalChannel_reason
[]={
3189 ,{"reservationFailure",2}
3193 // CloseLogicalChannel_reason
3196 H245_CloseLogicalChannel_reason::H245_CloseLogicalChannel_reason(unsigned tag
, PASN_Object::TagClass tagClass
)
3197 : PASN_Choice(tag
, tagClass
, 3, TRUE
3198 #ifndef PASN_NOPRINTON
3199 ,(const PASN_Names
*)Names_H245_CloseLogicalChannel_reason
,3
3206 BOOL
H245_CloseLogicalChannel_reason::CreateObject()
3208 choice
= (tag
<= e_reservationFailure
) ? new PASN_Null() : NULL
;
3209 return choice
!= NULL
;
3213 PObject
* H245_CloseLogicalChannel_reason::Clone() const
3215 #ifndef PASN_LEANANDMEAN
3216 PAssert(IsClass(H245_CloseLogicalChannel_reason::Class()), PInvalidCast
);
3218 return new H245_CloseLogicalChannel_reason(*this);
3223 #ifndef PASN_NOPRINTON
3224 const static PASN_Names Names_H245_RequestChannelClose_reason
[]={
3228 ,{"reservationFailure",3}
3232 // RequestChannelClose_reason
3235 H245_RequestChannelClose_reason::H245_RequestChannelClose_reason(unsigned tag
, PASN_Object::TagClass tagClass
)
3236 : PASN_Choice(tag
, tagClass
, 4, TRUE
3237 #ifndef PASN_NOPRINTON
3238 ,(const PASN_Names
*)Names_H245_RequestChannelClose_reason
,4
3245 BOOL
H245_RequestChannelClose_reason::CreateObject()
3247 choice
= (tag
<= e_reservationFailure
) ? new PASN_Null() : NULL
;
3248 return choice
!= NULL
;
3252 PObject
* H245_RequestChannelClose_reason::Clone() const
3254 #ifndef PASN_LEANANDMEAN
3255 PAssert(IsClass(H245_RequestChannelClose_reason::Class()), PInvalidCast
);
3257 return new H245_RequestChannelClose_reason(*this);
3262 #ifndef PASN_NOPRINTON
3263 const static PASN_Names Names_H245_RequestChannelCloseReject_cause
[]={
3268 // RequestChannelCloseReject_cause
3271 H245_RequestChannelCloseReject_cause::H245_RequestChannelCloseReject_cause(unsigned tag
, PASN_Object::TagClass tagClass
)
3272 : PASN_Choice(tag
, tagClass
, 1, TRUE
3273 #ifndef PASN_NOPRINTON
3274 ,(const PASN_Names
*)Names_H245_RequestChannelCloseReject_cause
,1
3281 BOOL
H245_RequestChannelCloseReject_cause::CreateObject()
3283 choice
= (tag
<= e_unspecified
) ? new PASN_Null() : NULL
;
3284 return choice
!= NULL
;
3288 PObject
* H245_RequestChannelCloseReject_cause::Clone() const
3290 #ifndef PASN_LEANANDMEAN
3291 PAssert(IsClass(H245_RequestChannelCloseReject_cause::Class()), PInvalidCast
);
3293 return new H245_RequestChannelCloseReject_cause(*this);
3298 // ArrayOf_MultiplexEntryDescriptor
3301 H245_ArrayOf_MultiplexEntryDescriptor::H245_ArrayOf_MultiplexEntryDescriptor(unsigned tag
, PASN_Object::TagClass tagClass
)
3302 : PASN_Array(tag
, tagClass
)
3307 PASN_Object
* H245_ArrayOf_MultiplexEntryDescriptor::CreateObject() const
3309 return new H245_MultiplexEntryDescriptor
;
3313 H245_MultiplexEntryDescriptor
& H245_ArrayOf_MultiplexEntryDescriptor::operator[](PINDEX i
) const
3315 return (H245_MultiplexEntryDescriptor
&)array
[i
];
3319 PObject
* H245_ArrayOf_MultiplexEntryDescriptor::Clone() const
3321 #ifndef PASN_LEANANDMEAN
3322 PAssert(IsClass(H245_ArrayOf_MultiplexEntryDescriptor::Class()), PInvalidCast
);
3324 return new H245_ArrayOf_MultiplexEntryDescriptor(*this);
3329 // ArrayOf_MultiplexElement
3332 H245_ArrayOf_MultiplexElement::H245_ArrayOf_MultiplexElement(unsigned tag
, PASN_Object::TagClass tagClass
)
3333 : PASN_Array(tag
, tagClass
)
3338 PASN_Object
* H245_ArrayOf_MultiplexElement::CreateObject() const
3340 return new H245_MultiplexElement
;
3344 H245_MultiplexElement
& H245_ArrayOf_MultiplexElement::operator[](PINDEX i
) const
3346 return (H245_MultiplexElement
&)array
[i
];
3350 PObject
* H245_ArrayOf_MultiplexElement::Clone() const
3352 #ifndef PASN_LEANANDMEAN
3353 PAssert(IsClass(H245_ArrayOf_MultiplexElement::Class()), PInvalidCast
);
3355 return new H245_ArrayOf_MultiplexElement(*this);
3360 #ifndef PASN_NOPRINTON
3361 const static PASN_Names Names_H245_MultiplexElement_type
[]={
3362 {"logicalChannelNumber",0}
3363 ,{"subElementList",1}
3367 // MultiplexElement_type
3370 H245_MultiplexElement_type::H245_MultiplexElement_type(unsigned tag
, PASN_Object::TagClass tagClass
)
3371 : PASN_Choice(tag
, tagClass
, 2, FALSE
3372 #ifndef PASN_NOPRINTON
3373 ,(const PASN_Names
*)Names_H245_MultiplexElement_type
,2
3380 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
3381 H245_MultiplexElement_type::operator H245_ArrayOf_MultiplexElement
&() const
3383 H245_MultiplexElement_type::operator H245_ArrayOf_MultiplexElement
&()
3385 #ifndef PASN_LEANANDMEAN
3386 PAssert(PIsDescendant(PAssertNULL(choice
), H245_ArrayOf_MultiplexElement
), PInvalidCast
);
3388 return *(H245_ArrayOf_MultiplexElement
*)choice
;
3392 H245_MultiplexElement_type::operator const H245_ArrayOf_MultiplexElement
&() const
3395 #ifndef PASN_LEANANDMEAN
3396 PAssert(PIsDescendant(PAssertNULL(choice
), H245_ArrayOf_MultiplexElement
), PInvalidCast
);
3398 return *(H245_ArrayOf_MultiplexElement
*)choice
;
3402 BOOL
H245_MultiplexElement_type::CreateObject()
3405 case e_logicalChannelNumber
:
3406 choice
= new PASN_Integer();
3407 choice
->SetConstraints(PASN_Object::FixedConstraint
, 0, 65535);
3409 case e_subElementList
:
3410 choice
= new H245_ArrayOf_MultiplexElement();
3411 choice
->SetConstraints(PASN_Object::FixedConstraint
, 2, 255);
3420 PObject
* H245_MultiplexElement_type::Clone() const
3422 #ifndef PASN_LEANANDMEAN
3423 PAssert(IsClass(H245_MultiplexElement_type::Class()), PInvalidCast
);
3425 return new H245_MultiplexElement_type(*this);
3430 #ifndef PASN_NOPRINTON
3431 const static PASN_Names Names_H245_MultiplexElement_repeatCount
[]={
3433 ,{"untilClosingFlag",1}
3437 // MultiplexElement_repeatCount
3440 H245_MultiplexElement_repeatCount::H245_MultiplexElement_repeatCount(unsigned tag
, PASN_Object::TagClass tagClass
)
3441 : PASN_Choice(tag
, tagClass
, 2, FALSE
3442 #ifndef PASN_NOPRINTON
3443 ,(const PASN_Names
*)Names_H245_MultiplexElement_repeatCount
,2
3450 BOOL
H245_MultiplexElement_repeatCount::CreateObject()
3454 choice
= new PASN_Integer();
3455 choice
->SetConstraints(PASN_Object::FixedConstraint
, 1, 65535);
3457 case e_untilClosingFlag
:
3458 choice
= new PASN_Null();
3467 PObject
* H245_MultiplexElement_repeatCount::Clone() const
3469 #ifndef PASN_LEANANDMEAN
3470 PAssert(IsClass(H245_MultiplexElement_repeatCount::Class()), PInvalidCast
);
3472 return new H245_MultiplexElement_repeatCount(*this);
3477 // ArrayOf_MultiplexTableEntryNumber
3480 H245_ArrayOf_MultiplexTableEntryNumber::H245_ArrayOf_MultiplexTableEntryNumber(unsigned tag
, PASN_Object::TagClass tagClass
)
3481 : PASN_Array(tag
, tagClass
)
3486 PASN_Object
* H245_ArrayOf_MultiplexTableEntryNumber::CreateObject() const
3488 return new H245_MultiplexTableEntryNumber
;
3492 H245_MultiplexTableEntryNumber
& H245_ArrayOf_MultiplexTableEntryNumber::operator[](PINDEX i
) const
3494 return (H245_MultiplexTableEntryNumber
&)array
[i
];
3498 PObject
* H245_ArrayOf_MultiplexTableEntryNumber::Clone() const
3500 #ifndef PASN_LEANANDMEAN
3501 PAssert(IsClass(H245_ArrayOf_MultiplexTableEntryNumber::Class()), PInvalidCast
);
3503 return new H245_ArrayOf_MultiplexTableEntryNumber(*this);
3508 // ArrayOf_MultiplexEntryRejectionDescriptions
3511 H245_ArrayOf_MultiplexEntryRejectionDescriptions::H245_ArrayOf_MultiplexEntryRejectionDescriptions(unsigned tag
, PASN_Object::TagClass tagClass
)
3512 : PASN_Array(tag
, tagClass
)
3517 PASN_Object
* H245_ArrayOf_MultiplexEntryRejectionDescriptions::CreateObject() const
3519 return new H245_MultiplexEntryRejectionDescriptions
;
3523 H245_MultiplexEntryRejectionDescriptions
& H245_ArrayOf_MultiplexEntryRejectionDescriptions::operator[](PINDEX i
) const
3525 return (H245_MultiplexEntryRejectionDescriptions
&)array
[i
];
3529 PObject
* H245_ArrayOf_MultiplexEntryRejectionDescriptions::Clone() const
3531 #ifndef PASN_LEANANDMEAN
3532 PAssert(IsClass(H245_ArrayOf_MultiplexEntryRejectionDescriptions::Class()), PInvalidCast
);
3534 return new H245_ArrayOf_MultiplexEntryRejectionDescriptions(*this);
3539 #ifndef PASN_NOPRINTON
3540 const static PASN_Names Names_H245_MultiplexEntryRejectionDescriptions_cause
[]={
3541 {"unspecifiedCause",0}
3542 ,{"descriptorTooComplex",1}
3546 // MultiplexEntryRejectionDescriptions_cause
3549 H245_MultiplexEntryRejectionDescriptions_cause::H245_MultiplexEntryRejectionDescriptions_cause(unsigned tag
, PASN_Object::TagClass tagClass
)
3550 : PASN_Choice(tag
, tagClass
, 2, TRUE
3551 #ifndef PASN_NOPRINTON
3552 ,(const PASN_Names
*)Names_H245_MultiplexEntryRejectionDescriptions_cause
,2
3559 BOOL
H245_MultiplexEntryRejectionDescriptions_cause::CreateObject()
3561 choice
= (tag
<= e_descriptorTooComplex
) ? new PASN_Null() : NULL
;
3562 return choice
!= NULL
;
3566 PObject
* H245_MultiplexEntryRejectionDescriptions_cause::Clone() const
3568 #ifndef PASN_LEANANDMEAN
3569 PAssert(IsClass(H245_MultiplexEntryRejectionDescriptions_cause::Class()), PInvalidCast
);
3571 return new H245_MultiplexEntryRejectionDescriptions_cause(*this);
3576 // ArrayOf_RequestMultiplexEntryRejectionDescriptions
3579 H245_ArrayOf_RequestMultiplexEntryRejectionDescriptions::H245_ArrayOf_RequestMultiplexEntryRejectionDescriptions(unsigned tag
, PASN_Object::TagClass tagClass
)
3580 : PASN_Array(tag
, tagClass
)
3585 PASN_Object
* H245_ArrayOf_RequestMultiplexEntryRejectionDescriptions::CreateObject() const
3587 return new H245_RequestMultiplexEntryRejectionDescriptions
;
3591 H245_RequestMultiplexEntryRejectionDescriptions
& H245_ArrayOf_RequestMultiplexEntryRejectionDescriptions::operator[](PINDEX i
) const
3593 return (H245_RequestMultiplexEntryRejectionDescriptions
&)array
[i
];
3597 PObject
* H245_ArrayOf_RequestMultiplexEntryRejectionDescriptions::Clone() const
3599 #ifndef PASN_LEANANDMEAN
3600 PAssert(IsClass(H245_ArrayOf_RequestMultiplexEntryRejectionDescriptions::Class()), PInvalidCast
);
3602 return new H245_ArrayOf_RequestMultiplexEntryRejectionDescriptions(*this);
3607 #ifndef PASN_NOPRINTON
3608 const static PASN_Names Names_H245_RequestMultiplexEntryRejectionDescriptions_cause
[]={
3609 {"unspecifiedCause",0}
3613 // RequestMultiplexEntryRejectionDescriptions_cause
3616 H245_RequestMultiplexEntryRejectionDescriptions_cause::H245_RequestMultiplexEntryRejectionDescriptions_cause(unsigned tag
, PASN_Object::TagClass tagClass
)
3617 : PASN_Choice(tag
, tagClass
, 1, TRUE
3618 #ifndef PASN_NOPRINTON
3619 ,(const PASN_Names
*)Names_H245_RequestMultiplexEntryRejectionDescriptions_cause
,1
3626 BOOL
H245_RequestMultiplexEntryRejectionDescriptions_cause::CreateObject()
3628 choice
= (tag
<= e_unspecifiedCause
) ? new PASN_Null() : NULL
;
3629 return choice
!= NULL
;
3633 PObject
* H245_RequestMultiplexEntryRejectionDescriptions_cause::Clone() const
3635 #ifndef PASN_LEANANDMEAN
3636 PAssert(IsClass(H245_RequestMultiplexEntryRejectionDescriptions_cause::Class()), PInvalidCast
);
3638 return new H245_RequestMultiplexEntryRejectionDescriptions_cause(*this);
3643 // ArrayOf_ModeDescription
3646 H245_ArrayOf_ModeDescription::H245_ArrayOf_ModeDescription(unsigned tag
, PASN_Object::TagClass tagClass
)
3647 : PASN_Array(tag
, tagClass
)
3652 PASN_Object
* H245_ArrayOf_ModeDescription::CreateObject() const
3654 return new H245_ModeDescription
;
3658 H245_ModeDescription
& H245_ArrayOf_ModeDescription::operator[](PINDEX i
) const
3660 return (H245_ModeDescription
&)array
[i
];
3664 PObject
* H245_ArrayOf_ModeDescription::Clone() const
3666 #ifndef PASN_LEANANDMEAN
3667 PAssert(IsClass(H245_ArrayOf_ModeDescription::Class()), PInvalidCast
);
3669 return new H245_ArrayOf_ModeDescription(*this);
3674 #ifndef PASN_NOPRINTON
3675 const static PASN_Names Names_H245_RequestModeAck_response
[]={
3676 {"willTransmitMostPreferredMode",0}
3677 ,{"willTransmitLessPreferredMode",1}
3681 // RequestModeAck_response
3684 H245_RequestModeAck_response::H245_RequestModeAck_response(unsigned tag
, PASN_Object::TagClass tagClass
)
3685 : PASN_Choice(tag
, tagClass
, 2, TRUE
3686 #ifndef PASN_NOPRINTON
3687 ,(const PASN_Names
*)Names_H245_RequestModeAck_response
,2
3694 BOOL
H245_RequestModeAck_response::CreateObject()
3696 choice
= (tag
<= e_willTransmitLessPreferredMode
) ? new PASN_Null() : NULL
;
3697 return choice
!= NULL
;
3701 PObject
* H245_RequestModeAck_response::Clone() const
3703 #ifndef PASN_LEANANDMEAN
3704 PAssert(IsClass(H245_RequestModeAck_response::Class()), PInvalidCast
);
3706 return new H245_RequestModeAck_response(*this);
3711 #ifndef PASN_NOPRINTON
3712 const static PASN_Names Names_H245_RequestModeReject_cause
[]={
3713 {"modeUnavailable",0}
3714 ,{"multipointConstraint",1}
3715 ,{"requestDenied",2}
3719 // RequestModeReject_cause
3722 H245_RequestModeReject_cause::H245_RequestModeReject_cause(unsigned tag
, PASN_Object::TagClass tagClass
)
3723 : PASN_Choice(tag
, tagClass
, 3, TRUE
3724 #ifndef PASN_NOPRINTON
3725 ,(const PASN_Names
*)Names_H245_RequestModeReject_cause
,3
3732 BOOL
H245_RequestModeReject_cause::CreateObject()
3734 choice
= (tag
<= e_requestDenied
) ? new PASN_Null() : NULL
;
3735 return choice
!= NULL
;
3739 PObject
* H245_RequestModeReject_cause::Clone() const
3741 #ifndef PASN_LEANANDMEAN
3742 PAssert(IsClass(H245_RequestModeReject_cause::Class()), PInvalidCast
);
3744 return new H245_RequestModeReject_cause(*this);
3749 #ifndef PASN_NOPRINTON
3750 const static PASN_Names Names_H245_H235Mode_mediaMode
[]={
3758 // H235Mode_mediaMode
3761 H245_H235Mode_mediaMode::H245_H235Mode_mediaMode(unsigned tag
, PASN_Object::TagClass tagClass
)
3762 : PASN_Choice(tag
, tagClass
, 4, TRUE
3763 #ifndef PASN_NOPRINTON
3764 ,(const PASN_Names
*)Names_H245_H235Mode_mediaMode
,4
3771 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
3772 H245_H235Mode_mediaMode::operator H245_NonStandardParameter
&() const
3774 H245_H235Mode_mediaMode::operator H245_NonStandardParameter
&()
3776 #ifndef PASN_LEANANDMEAN
3777 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NonStandardParameter
), PInvalidCast
);
3779 return *(H245_NonStandardParameter
*)choice
;
3783 H245_H235Mode_mediaMode::operator const H245_NonStandardParameter
&() const
3786 #ifndef PASN_LEANANDMEAN
3787 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NonStandardParameter
), PInvalidCast
);
3789 return *(H245_NonStandardParameter
*)choice
;
3793 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
3794 H245_H235Mode_mediaMode::operator H245_VideoMode
&() const
3796 H245_H235Mode_mediaMode::operator H245_VideoMode
&()
3798 #ifndef PASN_LEANANDMEAN
3799 PAssert(PIsDescendant(PAssertNULL(choice
), H245_VideoMode
), PInvalidCast
);
3801 return *(H245_VideoMode
*)choice
;
3805 H245_H235Mode_mediaMode::operator const H245_VideoMode
&() const
3808 #ifndef PASN_LEANANDMEAN
3809 PAssert(PIsDescendant(PAssertNULL(choice
), H245_VideoMode
), PInvalidCast
);
3811 return *(H245_VideoMode
*)choice
;
3815 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
3816 H245_H235Mode_mediaMode::operator H245_AudioMode
&() const
3818 H245_H235Mode_mediaMode::operator H245_AudioMode
&()
3820 #ifndef PASN_LEANANDMEAN
3821 PAssert(PIsDescendant(PAssertNULL(choice
), H245_AudioMode
), PInvalidCast
);
3823 return *(H245_AudioMode
*)choice
;
3827 H245_H235Mode_mediaMode::operator const H245_AudioMode
&() const
3830 #ifndef PASN_LEANANDMEAN
3831 PAssert(PIsDescendant(PAssertNULL(choice
), H245_AudioMode
), PInvalidCast
);
3833 return *(H245_AudioMode
*)choice
;
3837 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
3838 H245_H235Mode_mediaMode::operator H245_DataMode
&() const
3840 H245_H235Mode_mediaMode::operator H245_DataMode
&()
3842 #ifndef PASN_LEANANDMEAN
3843 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataMode
), PInvalidCast
);
3845 return *(H245_DataMode
*)choice
;
3849 H245_H235Mode_mediaMode::operator const H245_DataMode
&() const
3852 #ifndef PASN_LEANANDMEAN
3853 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataMode
), PInvalidCast
);
3855 return *(H245_DataMode
*)choice
;
3859 BOOL
H245_H235Mode_mediaMode::CreateObject()
3862 case e_nonStandard
:
3863 choice
= new H245_NonStandardParameter();
3866 choice
= new H245_VideoMode();
3869 choice
= new H245_AudioMode();
3872 choice
= new H245_DataMode();
3881 PObject
* H245_H235Mode_mediaMode::Clone() const
3883 #ifndef PASN_LEANANDMEAN
3884 PAssert(IsClass(H245_H235Mode_mediaMode::Class()), PInvalidCast
);
3886 return new H245_H235Mode_mediaMode(*this);
3891 // ArrayOf_RedundancyEncodingDTModeElement
3894 H245_ArrayOf_RedundancyEncodingDTModeElement::H245_ArrayOf_RedundancyEncodingDTModeElement(unsigned tag
, PASN_Object::TagClass tagClass
)
3895 : PASN_Array(tag
, tagClass
)
3900 PASN_Object
* H245_ArrayOf_RedundancyEncodingDTModeElement::CreateObject() const
3902 return new H245_RedundancyEncodingDTModeElement
;
3906 H245_RedundancyEncodingDTModeElement
& H245_ArrayOf_RedundancyEncodingDTModeElement::operator[](PINDEX i
) const
3908 return (H245_RedundancyEncodingDTModeElement
&)array
[i
];
3912 PObject
* H245_ArrayOf_RedundancyEncodingDTModeElement::Clone() const
3914 #ifndef PASN_LEANANDMEAN
3915 PAssert(IsClass(H245_ArrayOf_RedundancyEncodingDTModeElement::Class()), PInvalidCast
);
3917 return new H245_ArrayOf_RedundancyEncodingDTModeElement(*this);
3922 #ifndef PASN_NOPRINTON
3923 const static PASN_Names Names_H245_RedundancyEncodingDTModeElement_type
[]={
3928 ,{"encryptionMode",4}
3934 // RedundancyEncodingDTModeElement_type
3937 H245_RedundancyEncodingDTModeElement_type::H245_RedundancyEncodingDTModeElement_type(unsigned tag
, PASN_Object::TagClass tagClass
)
3938 : PASN_Choice(tag
, tagClass
, 6, TRUE
3939 #ifndef PASN_NOPRINTON
3940 ,(const PASN_Names
*)Names_H245_RedundancyEncodingDTModeElement_type
,7
3947 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
3948 H245_RedundancyEncodingDTModeElement_type::operator H245_NonStandardParameter
&() const
3950 H245_RedundancyEncodingDTModeElement_type::operator H245_NonStandardParameter
&()
3952 #ifndef PASN_LEANANDMEAN
3953 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NonStandardParameter
), PInvalidCast
);
3955 return *(H245_NonStandardParameter
*)choice
;
3959 H245_RedundancyEncodingDTModeElement_type::operator const H245_NonStandardParameter
&() const
3962 #ifndef PASN_LEANANDMEAN
3963 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NonStandardParameter
), PInvalidCast
);
3965 return *(H245_NonStandardParameter
*)choice
;
3969 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
3970 H245_RedundancyEncodingDTModeElement_type::operator H245_VideoMode
&() const
3972 H245_RedundancyEncodingDTModeElement_type::operator H245_VideoMode
&()
3974 #ifndef PASN_LEANANDMEAN
3975 PAssert(PIsDescendant(PAssertNULL(choice
), H245_VideoMode
), PInvalidCast
);
3977 return *(H245_VideoMode
*)choice
;
3981 H245_RedundancyEncodingDTModeElement_type::operator const H245_VideoMode
&() const
3984 #ifndef PASN_LEANANDMEAN
3985 PAssert(PIsDescendant(PAssertNULL(choice
), H245_VideoMode
), PInvalidCast
);
3987 return *(H245_VideoMode
*)choice
;
3991 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
3992 H245_RedundancyEncodingDTModeElement_type::operator H245_AudioMode
&() const
3994 H245_RedundancyEncodingDTModeElement_type::operator H245_AudioMode
&()
3996 #ifndef PASN_LEANANDMEAN
3997 PAssert(PIsDescendant(PAssertNULL(choice
), H245_AudioMode
), PInvalidCast
);
3999 return *(H245_AudioMode
*)choice
;
4003 H245_RedundancyEncodingDTModeElement_type::operator const H245_AudioMode
&() const
4006 #ifndef PASN_LEANANDMEAN
4007 PAssert(PIsDescendant(PAssertNULL(choice
), H245_AudioMode
), PInvalidCast
);
4009 return *(H245_AudioMode
*)choice
;
4013 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
4014 H245_RedundancyEncodingDTModeElement_type::operator H245_DataMode
&() const
4016 H245_RedundancyEncodingDTModeElement_type::operator H245_DataMode
&()
4018 #ifndef PASN_LEANANDMEAN
4019 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataMode
), PInvalidCast
);
4021 return *(H245_DataMode
*)choice
;
4025 H245_RedundancyEncodingDTModeElement_type::operator const H245_DataMode
&() const
4028 #ifndef PASN_LEANANDMEAN
4029 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataMode
), PInvalidCast
);
4031 return *(H245_DataMode
*)choice
;
4035 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
4036 H245_RedundancyEncodingDTModeElement_type::operator H245_EncryptionMode
&() const
4038 H245_RedundancyEncodingDTModeElement_type::operator H245_EncryptionMode
&()
4040 #ifndef PASN_LEANANDMEAN
4041 PAssert(PIsDescendant(PAssertNULL(choice
), H245_EncryptionMode
), PInvalidCast
);
4043 return *(H245_EncryptionMode
*)choice
;
4047 H245_RedundancyEncodingDTModeElement_type::operator const H245_EncryptionMode
&() const
4050 #ifndef PASN_LEANANDMEAN
4051 PAssert(PIsDescendant(PAssertNULL(choice
), H245_EncryptionMode
), PInvalidCast
);
4053 return *(H245_EncryptionMode
*)choice
;
4057 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
4058 H245_RedundancyEncodingDTModeElement_type::operator H245_H235Mode
&() const
4060 H245_RedundancyEncodingDTModeElement_type::operator H245_H235Mode
&()
4062 #ifndef PASN_LEANANDMEAN
4063 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H235Mode
), PInvalidCast
);
4065 return *(H245_H235Mode
*)choice
;
4069 H245_RedundancyEncodingDTModeElement_type::operator const H245_H235Mode
&() const
4072 #ifndef PASN_LEANANDMEAN
4073 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H235Mode
), PInvalidCast
);
4075 return *(H245_H235Mode
*)choice
;
4079 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
4080 H245_RedundancyEncodingDTModeElement_type::operator H245_FECMode
&() const
4082 H245_RedundancyEncodingDTModeElement_type::operator H245_FECMode
&()
4084 #ifndef PASN_LEANANDMEAN
4085 PAssert(PIsDescendant(PAssertNULL(choice
), H245_FECMode
), PInvalidCast
);
4087 return *(H245_FECMode
*)choice
;
4091 H245_RedundancyEncodingDTModeElement_type::operator const H245_FECMode
&() const
4094 #ifndef PASN_LEANANDMEAN
4095 PAssert(PIsDescendant(PAssertNULL(choice
), H245_FECMode
), PInvalidCast
);
4097 return *(H245_FECMode
*)choice
;
4101 BOOL
H245_RedundancyEncodingDTModeElement_type::CreateObject()
4104 case e_nonStandard
:
4105 choice
= new H245_NonStandardParameter();
4108 choice
= new H245_VideoMode();
4111 choice
= new H245_AudioMode();
4114 choice
= new H245_DataMode();
4116 case e_encryptionMode
:
4117 choice
= new H245_EncryptionMode();
4120 choice
= new H245_H235Mode();
4123 choice
= new H245_FECMode();
4132 PObject
* H245_RedundancyEncodingDTModeElement_type::Clone() const
4134 #ifndef PASN_LEANANDMEAN
4135 PAssert(IsClass(H245_RedundancyEncodingDTModeElement_type::Class()), PInvalidCast
);
4137 return new H245_RedundancyEncodingDTModeElement_type(*this);
4142 // ArrayOf_MultiplePayloadStreamElementMode
4145 H245_ArrayOf_MultiplePayloadStreamElementMode::H245_ArrayOf_MultiplePayloadStreamElementMode(unsigned tag
, PASN_Object::TagClass tagClass
)
4146 : PASN_Array(tag
, tagClass
)
4151 PASN_Object
* H245_ArrayOf_MultiplePayloadStreamElementMode::CreateObject() const
4153 return new H245_MultiplePayloadStreamElementMode
;
4157 H245_MultiplePayloadStreamElementMode
& H245_ArrayOf_MultiplePayloadStreamElementMode::operator[](PINDEX i
) const
4159 return (H245_MultiplePayloadStreamElementMode
&)array
[i
];
4163 PObject
* H245_ArrayOf_MultiplePayloadStreamElementMode::Clone() const
4165 #ifndef PASN_LEANANDMEAN
4166 PAssert(IsClass(H245_ArrayOf_MultiplePayloadStreamElementMode::Class()), PInvalidCast
);
4168 return new H245_ArrayOf_MultiplePayloadStreamElementMode(*this);
4173 #ifndef PASN_NOPRINTON
4174 const static PASN_Names Names_H245_FECMode_rfc2733Format
[]={
4175 {"rfc2733rfc2198",0}
4176 ,{"rfc2733sameport",1}
4177 ,{"rfc2733diffport",2}
4181 // FECMode_rfc2733Format
4184 H245_FECMode_rfc2733Format::H245_FECMode_rfc2733Format(unsigned tag
, PASN_Object::TagClass tagClass
)
4185 : PASN_Choice(tag
, tagClass
, 3, FALSE
4186 #ifndef PASN_NOPRINTON
4187 ,(const PASN_Names
*)Names_H245_FECMode_rfc2733Format
,3
4194 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
4195 H245_FECMode_rfc2733Format::operator H245_MaxRedundancy
&() const
4197 H245_FECMode_rfc2733Format::operator H245_MaxRedundancy
&()
4199 #ifndef PASN_LEANANDMEAN
4200 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MaxRedundancy
), PInvalidCast
);
4202 return *(H245_MaxRedundancy
*)choice
;
4206 H245_FECMode_rfc2733Format::operator const H245_MaxRedundancy
&() const
4209 #ifndef PASN_LEANANDMEAN
4210 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MaxRedundancy
), PInvalidCast
);
4212 return *(H245_MaxRedundancy
*)choice
;
4216 BOOL
H245_FECMode_rfc2733Format::CreateObject()
4219 case e_rfc2733rfc2198
:
4220 case e_rfc2733sameport
:
4221 case e_rfc2733diffport
:
4222 choice
= new H245_MaxRedundancy();
4231 PObject
* H245_FECMode_rfc2733Format::Clone() const
4233 #ifndef PASN_LEANANDMEAN
4234 PAssert(IsClass(H245_FECMode_rfc2733Format::Class()), PInvalidCast
);
4236 return new H245_FECMode_rfc2733Format(*this);
4241 #ifndef PASN_NOPRINTON
4242 const static PASN_Names Names_H245_H223ModeParameters_adaptationLayerType
[]={
4246 ,{"al2WithoutSequenceNumbers",3}
4247 ,{"al2WithSequenceNumbers",4}
4255 // H223ModeParameters_adaptationLayerType
4258 H245_H223ModeParameters_adaptationLayerType::H245_H223ModeParameters_adaptationLayerType(unsigned tag
, PASN_Object::TagClass tagClass
)
4259 : PASN_Choice(tag
, tagClass
, 6, TRUE
4260 #ifndef PASN_NOPRINTON
4261 ,(const PASN_Names
*)Names_H245_H223ModeParameters_adaptationLayerType
,9
4268 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
4269 H245_H223ModeParameters_adaptationLayerType::operator H245_NonStandardParameter
&() const
4271 H245_H223ModeParameters_adaptationLayerType::operator H245_NonStandardParameter
&()
4273 #ifndef PASN_LEANANDMEAN
4274 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NonStandardParameter
), PInvalidCast
);
4276 return *(H245_NonStandardParameter
*)choice
;
4280 H245_H223ModeParameters_adaptationLayerType::operator const H245_NonStandardParameter
&() const
4283 #ifndef PASN_LEANANDMEAN
4284 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NonStandardParameter
), PInvalidCast
);
4286 return *(H245_NonStandardParameter
*)choice
;
4290 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
4291 H245_H223ModeParameters_adaptationLayerType::operator H245_H223ModeParameters_adaptationLayerType_al3
&() const
4293 H245_H223ModeParameters_adaptationLayerType::operator H245_H223ModeParameters_adaptationLayerType_al3
&()
4295 #ifndef PASN_LEANANDMEAN
4296 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223ModeParameters_adaptationLayerType_al3
), PInvalidCast
);
4298 return *(H245_H223ModeParameters_adaptationLayerType_al3
*)choice
;
4302 H245_H223ModeParameters_adaptationLayerType::operator const H245_H223ModeParameters_adaptationLayerType_al3
&() const
4305 #ifndef PASN_LEANANDMEAN
4306 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223ModeParameters_adaptationLayerType_al3
), PInvalidCast
);
4308 return *(H245_H223ModeParameters_adaptationLayerType_al3
*)choice
;
4312 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
4313 H245_H223ModeParameters_adaptationLayerType::operator H245_H223AL1MParameters
&() const
4315 H245_H223ModeParameters_adaptationLayerType::operator H245_H223AL1MParameters
&()
4317 #ifndef PASN_LEANANDMEAN
4318 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223AL1MParameters
), PInvalidCast
);
4320 return *(H245_H223AL1MParameters
*)choice
;
4324 H245_H223ModeParameters_adaptationLayerType::operator const H245_H223AL1MParameters
&() const
4327 #ifndef PASN_LEANANDMEAN
4328 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223AL1MParameters
), PInvalidCast
);
4330 return *(H245_H223AL1MParameters
*)choice
;
4334 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
4335 H245_H223ModeParameters_adaptationLayerType::operator H245_H223AL2MParameters
&() const
4337 H245_H223ModeParameters_adaptationLayerType::operator H245_H223AL2MParameters
&()
4339 #ifndef PASN_LEANANDMEAN
4340 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223AL2MParameters
), PInvalidCast
);
4342 return *(H245_H223AL2MParameters
*)choice
;
4346 H245_H223ModeParameters_adaptationLayerType::operator const H245_H223AL2MParameters
&() const
4349 #ifndef PASN_LEANANDMEAN
4350 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223AL2MParameters
), PInvalidCast
);
4352 return *(H245_H223AL2MParameters
*)choice
;
4356 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
4357 H245_H223ModeParameters_adaptationLayerType::operator H245_H223AL3MParameters
&() const
4359 H245_H223ModeParameters_adaptationLayerType::operator H245_H223AL3MParameters
&()
4361 #ifndef PASN_LEANANDMEAN
4362 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223AL3MParameters
), PInvalidCast
);
4364 return *(H245_H223AL3MParameters
*)choice
;
4368 H245_H223ModeParameters_adaptationLayerType::operator const H245_H223AL3MParameters
&() const
4371 #ifndef PASN_LEANANDMEAN
4372 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223AL3MParameters
), PInvalidCast
);
4374 return *(H245_H223AL3MParameters
*)choice
;
4378 BOOL
H245_H223ModeParameters_adaptationLayerType::CreateObject()
4381 case e_nonStandard
:
4382 choice
= new H245_NonStandardParameter();
4385 case e_al1NotFramed
:
4386 case e_al2WithoutSequenceNumbers
:
4387 case e_al2WithSequenceNumbers
:
4388 choice
= new PASN_Null();
4391 choice
= new H245_H223ModeParameters_adaptationLayerType_al3();
4394 choice
= new H245_H223AL1MParameters();
4397 choice
= new H245_H223AL2MParameters();
4400 choice
= new H245_H223AL3MParameters();
4409 PObject
* H245_H223ModeParameters_adaptationLayerType::Clone() const
4411 #ifndef PASN_LEANANDMEAN
4412 PAssert(IsClass(H245_H223ModeParameters_adaptationLayerType::Class()), PInvalidCast
);
4414 return new H245_H223ModeParameters_adaptationLayerType(*this);
4419 #ifndef PASN_NOPRINTON
4420 const static PASN_Names Names_H245_RedundancyEncodingMode_secondaryEncoding
[]={
4426 // RedundancyEncodingMode_secondaryEncoding
4429 H245_RedundancyEncodingMode_secondaryEncoding::H245_RedundancyEncodingMode_secondaryEncoding(unsigned tag
, PASN_Object::TagClass tagClass
)
4430 : PASN_Choice(tag
, tagClass
, 2, TRUE
4431 #ifndef PASN_NOPRINTON
4432 ,(const PASN_Names
*)Names_H245_RedundancyEncodingMode_secondaryEncoding
,2
4439 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
4440 H245_RedundancyEncodingMode_secondaryEncoding::operator H245_NonStandardParameter
&() const
4442 H245_RedundancyEncodingMode_secondaryEncoding::operator H245_NonStandardParameter
&()
4444 #ifndef PASN_LEANANDMEAN
4445 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NonStandardParameter
), PInvalidCast
);
4447 return *(H245_NonStandardParameter
*)choice
;
4451 H245_RedundancyEncodingMode_secondaryEncoding::operator const H245_NonStandardParameter
&() const
4454 #ifndef PASN_LEANANDMEAN
4455 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NonStandardParameter
), PInvalidCast
);
4457 return *(H245_NonStandardParameter
*)choice
;
4461 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
4462 H245_RedundancyEncodingMode_secondaryEncoding::operator H245_AudioMode
&() const
4464 H245_RedundancyEncodingMode_secondaryEncoding::operator H245_AudioMode
&()
4466 #ifndef PASN_LEANANDMEAN
4467 PAssert(PIsDescendant(PAssertNULL(choice
), H245_AudioMode
), PInvalidCast
);
4469 return *(H245_AudioMode
*)choice
;
4473 H245_RedundancyEncodingMode_secondaryEncoding::operator const H245_AudioMode
&() const
4476 #ifndef PASN_LEANANDMEAN
4477 PAssert(PIsDescendant(PAssertNULL(choice
), H245_AudioMode
), PInvalidCast
);
4479 return *(H245_AudioMode
*)choice
;
4483 BOOL
H245_RedundancyEncodingMode_secondaryEncoding::CreateObject()
4486 case e_nonStandard
:
4487 choice
= new H245_NonStandardParameter();
4490 choice
= new H245_AudioMode();
4499 PObject
* H245_RedundancyEncodingMode_secondaryEncoding::Clone() const
4501 #ifndef PASN_LEANANDMEAN
4502 PAssert(IsClass(H245_RedundancyEncodingMode_secondaryEncoding::Class()), PInvalidCast
);
4504 return new H245_RedundancyEncodingMode_secondaryEncoding(*this);
4509 #ifndef PASN_NOPRINTON
4510 const static PASN_Names Names_H245_H261VideoMode_resolution
[]={
4516 // H261VideoMode_resolution
4519 H245_H261VideoMode_resolution::H245_H261VideoMode_resolution(unsigned tag
, PASN_Object::TagClass tagClass
)
4520 : PASN_Choice(tag
, tagClass
, 2, FALSE
4521 #ifndef PASN_NOPRINTON
4522 ,(const PASN_Names
*)Names_H245_H261VideoMode_resolution
,2
4529 BOOL
H245_H261VideoMode_resolution::CreateObject()
4531 choice
= (tag
<= e_cif
) ? new PASN_Null() : NULL
;
4532 return choice
!= NULL
;
4536 PObject
* H245_H261VideoMode_resolution::Clone() const
4538 #ifndef PASN_LEANANDMEAN
4539 PAssert(IsClass(H245_H261VideoMode_resolution::Class()), PInvalidCast
);
4541 return new H245_H261VideoMode_resolution(*this);
4546 #ifndef PASN_NOPRINTON
4547 const static PASN_Names Names_H245_H262VideoMode_profileAndLevel
[]={
4548 {"profileAndLevel_SPatML",0}
4549 ,{"profileAndLevel_MPatLL",1}
4550 ,{"profileAndLevel_MPatML",2}
4551 ,{"profileAndLevel_MPatH_14",3}
4552 ,{"profileAndLevel_MPatHL",4}
4553 ,{"profileAndLevel_SNRatLL",5}
4554 ,{"profileAndLevel_SNRatML",6}
4555 ,{"profileAndLevel_SpatialatH_14",7}
4556 ,{"profileAndLevel_HPatML",8}
4557 ,{"profileAndLevel_HPatH_14",9}
4558 ,{"profileAndLevel_HPatHL",10}
4562 // H262VideoMode_profileAndLevel
4565 H245_H262VideoMode_profileAndLevel::H245_H262VideoMode_profileAndLevel(unsigned tag
, PASN_Object::TagClass tagClass
)
4566 : PASN_Choice(tag
, tagClass
, 11, TRUE
4567 #ifndef PASN_NOPRINTON
4568 ,(const PASN_Names
*)Names_H245_H262VideoMode_profileAndLevel
,11
4575 BOOL
H245_H262VideoMode_profileAndLevel::CreateObject()
4577 choice
= (tag
<= e_profileAndLevel_HPatHL
) ? new PASN_Null() : NULL
;
4578 return choice
!= NULL
;
4582 PObject
* H245_H262VideoMode_profileAndLevel::Clone() const
4584 #ifndef PASN_LEANANDMEAN
4585 PAssert(IsClass(H245_H262VideoMode_profileAndLevel::Class()), PInvalidCast
);
4587 return new H245_H262VideoMode_profileAndLevel(*this);
4592 #ifndef PASN_NOPRINTON
4593 const static PASN_Names Names_H245_H263VideoMode_resolution
[]={
4603 // H263VideoMode_resolution
4606 H245_H263VideoMode_resolution::H245_H263VideoMode_resolution(unsigned tag
, PASN_Object::TagClass tagClass
)
4607 : PASN_Choice(tag
, tagClass
, 5, TRUE
4608 #ifndef PASN_NOPRINTON
4609 ,(const PASN_Names
*)Names_H245_H263VideoMode_resolution
,6
4616 BOOL
H245_H263VideoMode_resolution::CreateObject()
4618 choice
= (tag
<= e_custom
) ? new PASN_Null() : NULL
;
4619 return choice
!= NULL
;
4623 PObject
* H245_H263VideoMode_resolution::Clone() const
4625 #ifndef PASN_LEANANDMEAN
4626 PAssert(IsClass(H245_H263VideoMode_resolution::Class()), PInvalidCast
);
4628 return new H245_H263VideoMode_resolution(*this);
4633 #ifndef PASN_NOPRINTON
4634 const static PASN_Names Names_H245_AudioMode_g7231
[]={
4635 {"noSilenceSuppressionLowRate",0}
4636 ,{"noSilenceSuppressionHighRate",1}
4637 ,{"silenceSuppressionLowRate",2}
4638 ,{"silenceSuppressionHighRate",3}
4645 H245_AudioMode_g7231::H245_AudioMode_g7231(unsigned tag
, PASN_Object::TagClass tagClass
)
4646 : PASN_Choice(tag
, tagClass
, 4, FALSE
4647 #ifndef PASN_NOPRINTON
4648 ,(const PASN_Names
*)Names_H245_AudioMode_g7231
,4
4655 BOOL
H245_AudioMode_g7231::CreateObject()
4657 choice
= (tag
<= e_silenceSuppressionHighRate
) ? new PASN_Null() : NULL
;
4658 return choice
!= NULL
;
4662 PObject
* H245_AudioMode_g7231::Clone() const
4664 #ifndef PASN_LEANANDMEAN
4665 PAssert(IsClass(H245_AudioMode_g7231::Class()), PInvalidCast
);
4667 return new H245_AudioMode_g7231(*this);
4672 #ifndef PASN_NOPRINTON
4673 const static PASN_Names Names_H245_IS11172AudioMode_audioLayer
[]={
4680 // IS11172AudioMode_audioLayer
4683 H245_IS11172AudioMode_audioLayer::H245_IS11172AudioMode_audioLayer(unsigned tag
, PASN_Object::TagClass tagClass
)
4684 : PASN_Choice(tag
, tagClass
, 3, FALSE
4685 #ifndef PASN_NOPRINTON
4686 ,(const PASN_Names
*)Names_H245_IS11172AudioMode_audioLayer
,3
4693 BOOL
H245_IS11172AudioMode_audioLayer::CreateObject()
4695 choice
= (tag
<= e_audioLayer3
) ? new PASN_Null() : NULL
;
4696 return choice
!= NULL
;
4700 PObject
* H245_IS11172AudioMode_audioLayer::Clone() const
4702 #ifndef PASN_LEANANDMEAN
4703 PAssert(IsClass(H245_IS11172AudioMode_audioLayer::Class()), PInvalidCast
);
4705 return new H245_IS11172AudioMode_audioLayer(*this);
4710 #ifndef PASN_NOPRINTON
4711 const static PASN_Names Names_H245_IS11172AudioMode_audioSampling
[]={
4712 {"audioSampling32k",0}
4713 ,{"audioSampling44k1",1}
4714 ,{"audioSampling48k",2}
4718 // IS11172AudioMode_audioSampling
4721 H245_IS11172AudioMode_audioSampling::H245_IS11172AudioMode_audioSampling(unsigned tag
, PASN_Object::TagClass tagClass
)
4722 : PASN_Choice(tag
, tagClass
, 3, FALSE
4723 #ifndef PASN_NOPRINTON
4724 ,(const PASN_Names
*)Names_H245_IS11172AudioMode_audioSampling
,3
4731 BOOL
H245_IS11172AudioMode_audioSampling::CreateObject()
4733 choice
= (tag
<= e_audioSampling48k
) ? new PASN_Null() : NULL
;
4734 return choice
!= NULL
;
4738 PObject
* H245_IS11172AudioMode_audioSampling::Clone() const
4740 #ifndef PASN_LEANANDMEAN
4741 PAssert(IsClass(H245_IS11172AudioMode_audioSampling::Class()), PInvalidCast
);
4743 return new H245_IS11172AudioMode_audioSampling(*this);
4748 #ifndef PASN_NOPRINTON
4749 const static PASN_Names Names_H245_IS11172AudioMode_multichannelType
[]={
4751 ,{"twoChannelStereo",1}
4752 ,{"twoChannelDual",2}
4756 // IS11172AudioMode_multichannelType
4759 H245_IS11172AudioMode_multichannelType::H245_IS11172AudioMode_multichannelType(unsigned tag
, PASN_Object::TagClass tagClass
)
4760 : PASN_Choice(tag
, tagClass
, 3, FALSE
4761 #ifndef PASN_NOPRINTON
4762 ,(const PASN_Names
*)Names_H245_IS11172AudioMode_multichannelType
,3
4769 BOOL
H245_IS11172AudioMode_multichannelType::CreateObject()
4771 choice
= (tag
<= e_twoChannelDual
) ? new PASN_Null() : NULL
;
4772 return choice
!= NULL
;
4776 PObject
* H245_IS11172AudioMode_multichannelType::Clone() const
4778 #ifndef PASN_LEANANDMEAN
4779 PAssert(IsClass(H245_IS11172AudioMode_multichannelType::Class()), PInvalidCast
);
4781 return new H245_IS11172AudioMode_multichannelType(*this);
4786 #ifndef PASN_NOPRINTON
4787 const static PASN_Names Names_H245_IS13818AudioMode_audioLayer
[]={
4794 // IS13818AudioMode_audioLayer
4797 H245_IS13818AudioMode_audioLayer::H245_IS13818AudioMode_audioLayer(unsigned tag
, PASN_Object::TagClass tagClass
)
4798 : PASN_Choice(tag
, tagClass
, 3, FALSE
4799 #ifndef PASN_NOPRINTON
4800 ,(const PASN_Names
*)Names_H245_IS13818AudioMode_audioLayer
,3
4807 BOOL
H245_IS13818AudioMode_audioLayer::CreateObject()
4809 choice
= (tag
<= e_audioLayer3
) ? new PASN_Null() : NULL
;
4810 return choice
!= NULL
;
4814 PObject
* H245_IS13818AudioMode_audioLayer::Clone() const
4816 #ifndef PASN_LEANANDMEAN
4817 PAssert(IsClass(H245_IS13818AudioMode_audioLayer::Class()), PInvalidCast
);
4819 return new H245_IS13818AudioMode_audioLayer(*this);
4824 #ifndef PASN_NOPRINTON
4825 const static PASN_Names Names_H245_IS13818AudioMode_audioSampling
[]={
4826 {"audioSampling16k",0}
4827 ,{"audioSampling22k05",1}
4828 ,{"audioSampling24k",2}
4829 ,{"audioSampling32k",3}
4830 ,{"audioSampling44k1",4}
4831 ,{"audioSampling48k",5}
4835 // IS13818AudioMode_audioSampling
4838 H245_IS13818AudioMode_audioSampling::H245_IS13818AudioMode_audioSampling(unsigned tag
, PASN_Object::TagClass tagClass
)
4839 : PASN_Choice(tag
, tagClass
, 6, FALSE
4840 #ifndef PASN_NOPRINTON
4841 ,(const PASN_Names
*)Names_H245_IS13818AudioMode_audioSampling
,6
4848 BOOL
H245_IS13818AudioMode_audioSampling::CreateObject()
4850 choice
= (tag
<= e_audioSampling48k
) ? new PASN_Null() : NULL
;
4851 return choice
!= NULL
;
4855 PObject
* H245_IS13818AudioMode_audioSampling::Clone() const
4857 #ifndef PASN_LEANANDMEAN
4858 PAssert(IsClass(H245_IS13818AudioMode_audioSampling::Class()), PInvalidCast
);
4860 return new H245_IS13818AudioMode_audioSampling(*this);
4865 #ifndef PASN_NOPRINTON
4866 const static PASN_Names Names_H245_IS13818AudioMode_multichannelType
[]={
4868 ,{"twoChannelStereo",1}
4869 ,{"twoChannelDual",2}
4870 ,{"threeChannels2_1",3}
4871 ,{"threeChannels3_0",4}
4872 ,{"fourChannels2_0_2_0",5}
4873 ,{"fourChannels2_2",6}
4874 ,{"fourChannels3_1",7}
4875 ,{"fiveChannels3_0_2_0",8}
4876 ,{"fiveChannels3_2",9}
4880 // IS13818AudioMode_multichannelType
4883 H245_IS13818AudioMode_multichannelType::H245_IS13818AudioMode_multichannelType(unsigned tag
, PASN_Object::TagClass tagClass
)
4884 : PASN_Choice(tag
, tagClass
, 10, FALSE
4885 #ifndef PASN_NOPRINTON
4886 ,(const PASN_Names
*)Names_H245_IS13818AudioMode_multichannelType
,10
4893 BOOL
H245_IS13818AudioMode_multichannelType::CreateObject()
4895 choice
= (tag
<= e_fiveChannels3_2
) ? new PASN_Null() : NULL
;
4896 return choice
!= NULL
;
4900 PObject
* H245_IS13818AudioMode_multichannelType::Clone() const
4902 #ifndef PASN_LEANANDMEAN
4903 PAssert(IsClass(H245_IS13818AudioMode_multichannelType::Class()), PInvalidCast
);
4905 return new H245_IS13818AudioMode_multichannelType(*this);
4910 // G7231AnnexCMode_g723AnnexCAudioMode
4913 H245_G7231AnnexCMode_g723AnnexCAudioMode::H245_G7231AnnexCMode_g723AnnexCAudioMode(unsigned tag
, PASN_Object::TagClass tagClass
)
4914 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
4916 m_highRateMode0
.SetConstraints(PASN_Object::FixedConstraint
, 27, 78);
4917 m_highRateMode1
.SetConstraints(PASN_Object::FixedConstraint
, 27, 78);
4918 m_lowRateMode0
.SetConstraints(PASN_Object::FixedConstraint
, 23, 66);
4919 m_lowRateMode1
.SetConstraints(PASN_Object::FixedConstraint
, 23, 66);
4920 m_sidMode0
.SetConstraints(PASN_Object::FixedConstraint
, 6, 17);
4921 m_sidMode1
.SetConstraints(PASN_Object::FixedConstraint
, 6, 17);
4925 #ifndef PASN_NOPRINTON
4926 void H245_G7231AnnexCMode_g723AnnexCAudioMode::PrintOn(ostream
& strm
) const
4928 int indent
= strm
.precision() + 2;
4930 strm
<< setw(indent
+16) << "highRateMode0 = " << setprecision(indent
) << m_highRateMode0
<< '\n';
4931 strm
<< setw(indent
+16) << "highRateMode1 = " << setprecision(indent
) << m_highRateMode1
<< '\n';
4932 strm
<< setw(indent
+15) << "lowRateMode0 = " << setprecision(indent
) << m_lowRateMode0
<< '\n';
4933 strm
<< setw(indent
+15) << "lowRateMode1 = " << setprecision(indent
) << m_lowRateMode1
<< '\n';
4934 strm
<< setw(indent
+11) << "sidMode0 = " << setprecision(indent
) << m_sidMode0
<< '\n';
4935 strm
<< setw(indent
+11) << "sidMode1 = " << setprecision(indent
) << m_sidMode1
<< '\n';
4936 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
4941 PObject::Comparison
H245_G7231AnnexCMode_g723AnnexCAudioMode::Compare(const PObject
& obj
) const
4943 #ifndef PASN_LEANANDMEAN
4944 PAssert(PIsDescendant(&obj
, H245_G7231AnnexCMode_g723AnnexCAudioMode
), PInvalidCast
);
4946 const H245_G7231AnnexCMode_g723AnnexCAudioMode
& other
= (const H245_G7231AnnexCMode_g723AnnexCAudioMode
&)obj
;
4950 if ((result
= m_highRateMode0
.Compare(other
.m_highRateMode0
)) != EqualTo
)
4952 if ((result
= m_highRateMode1
.Compare(other
.m_highRateMode1
)) != EqualTo
)
4954 if ((result
= m_lowRateMode0
.Compare(other
.m_lowRateMode0
)) != EqualTo
)
4956 if ((result
= m_lowRateMode1
.Compare(other
.m_lowRateMode1
)) != EqualTo
)
4958 if ((result
= m_sidMode0
.Compare(other
.m_sidMode0
)) != EqualTo
)
4960 if ((result
= m_sidMode1
.Compare(other
.m_sidMode1
)) != EqualTo
)
4963 return PASN_Sequence::Compare(other
);
4967 PINDEX
H245_G7231AnnexCMode_g723AnnexCAudioMode::GetDataLength() const
4970 length
+= m_highRateMode0
.GetObjectLength();
4971 length
+= m_highRateMode1
.GetObjectLength();
4972 length
+= m_lowRateMode0
.GetObjectLength();
4973 length
+= m_lowRateMode1
.GetObjectLength();
4974 length
+= m_sidMode0
.GetObjectLength();
4975 length
+= m_sidMode1
.GetObjectLength();
4980 BOOL
H245_G7231AnnexCMode_g723AnnexCAudioMode::Decode(PASN_Stream
& strm
)
4982 if (!PreambleDecode(strm
))
4985 if (!m_highRateMode0
.Decode(strm
))
4987 if (!m_highRateMode1
.Decode(strm
))
4989 if (!m_lowRateMode0
.Decode(strm
))
4991 if (!m_lowRateMode1
.Decode(strm
))
4993 if (!m_sidMode0
.Decode(strm
))
4995 if (!m_sidMode1
.Decode(strm
))
4998 return UnknownExtensionsDecode(strm
);
5002 void H245_G7231AnnexCMode_g723AnnexCAudioMode::Encode(PASN_Stream
& strm
) const
5004 PreambleEncode(strm
);
5006 m_highRateMode0
.Encode(strm
);
5007 m_highRateMode1
.Encode(strm
);
5008 m_lowRateMode0
.Encode(strm
);
5009 m_lowRateMode1
.Encode(strm
);
5010 m_sidMode0
.Encode(strm
);
5011 m_sidMode1
.Encode(strm
);
5013 UnknownExtensionsEncode(strm
);
5017 PObject
* H245_G7231AnnexCMode_g723AnnexCAudioMode::Clone() const
5019 #ifndef PASN_LEANANDMEAN
5020 PAssert(IsClass(H245_G7231AnnexCMode_g723AnnexCAudioMode::Class()), PInvalidCast
);
5022 return new H245_G7231AnnexCMode_g723AnnexCAudioMode(*this);
5027 #ifndef PASN_NOPRINTON
5028 const static PASN_Names Names_H245_DataMode_application
[]={
5038 ,{"h222DataPartitioning",9}
5042 ,{"genericDataMode",13}
5046 // DataMode_application
5049 H245_DataMode_application::H245_DataMode_application(unsigned tag
, PASN_Object::TagClass tagClass
)
5050 : PASN_Choice(tag
, tagClass
, 10, TRUE
5051 #ifndef PASN_NOPRINTON
5052 ,(const PASN_Names
*)Names_H245_DataMode_application
,14
5059 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
5060 H245_DataMode_application::operator H245_NonStandardParameter
&() const
5062 H245_DataMode_application::operator H245_NonStandardParameter
&()
5064 #ifndef PASN_LEANANDMEAN
5065 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NonStandardParameter
), PInvalidCast
);
5067 return *(H245_NonStandardParameter
*)choice
;
5071 H245_DataMode_application::operator const H245_NonStandardParameter
&() const
5074 #ifndef PASN_LEANANDMEAN
5075 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NonStandardParameter
), PInvalidCast
);
5077 return *(H245_NonStandardParameter
*)choice
;
5081 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
5082 H245_DataMode_application::operator H245_DataProtocolCapability
&() const
5084 H245_DataMode_application::operator H245_DataProtocolCapability
&()
5086 #ifndef PASN_LEANANDMEAN
5087 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataProtocolCapability
), PInvalidCast
);
5089 return *(H245_DataProtocolCapability
*)choice
;
5093 H245_DataMode_application::operator const H245_DataProtocolCapability
&() const
5096 #ifndef PASN_LEANANDMEAN
5097 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataProtocolCapability
), PInvalidCast
);
5099 return *(H245_DataProtocolCapability
*)choice
;
5103 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
5104 H245_DataMode_application::operator H245_DataMode_application_nlpid
&() const
5106 H245_DataMode_application::operator H245_DataMode_application_nlpid
&()
5108 #ifndef PASN_LEANANDMEAN
5109 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataMode_application_nlpid
), PInvalidCast
);
5111 return *(H245_DataMode_application_nlpid
*)choice
;
5115 H245_DataMode_application::operator const H245_DataMode_application_nlpid
&() const
5118 #ifndef PASN_LEANANDMEAN
5119 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataMode_application_nlpid
), PInvalidCast
);
5121 return *(H245_DataMode_application_nlpid
*)choice
;
5125 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
5126 H245_DataMode_application::operator H245_DataMode_application_t38fax
&() const
5128 H245_DataMode_application::operator H245_DataMode_application_t38fax
&()
5130 #ifndef PASN_LEANANDMEAN
5131 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataMode_application_t38fax
), PInvalidCast
);
5133 return *(H245_DataMode_application_t38fax
*)choice
;
5137 H245_DataMode_application::operator const H245_DataMode_application_t38fax
&() const
5140 #ifndef PASN_LEANANDMEAN
5141 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataMode_application_t38fax
), PInvalidCast
);
5143 return *(H245_DataMode_application_t38fax
*)choice
;
5147 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
5148 H245_DataMode_application::operator H245_GenericCapability
&() const
5150 H245_DataMode_application::operator H245_GenericCapability
&()
5152 #ifndef PASN_LEANANDMEAN
5153 PAssert(PIsDescendant(PAssertNULL(choice
), H245_GenericCapability
), PInvalidCast
);
5155 return *(H245_GenericCapability
*)choice
;
5159 H245_DataMode_application::operator const H245_GenericCapability
&() const
5162 #ifndef PASN_LEANANDMEAN
5163 PAssert(PIsDescendant(PAssertNULL(choice
), H245_GenericCapability
), PInvalidCast
);
5165 return *(H245_GenericCapability
*)choice
;
5169 BOOL
H245_DataMode_application::CreateObject()
5172 case e_nonStandard
:
5173 choice
= new H245_NonStandardParameter();
5181 case e_h222DataPartitioning
:
5184 choice
= new H245_DataProtocolCapability();
5187 choice
= new H245_DataMode_application_nlpid();
5189 case e_dsvdControl
:
5190 choice
= new PASN_Null();
5193 choice
= new H245_DataMode_application_t38fax();
5195 case e_genericDataMode
:
5196 choice
= new H245_GenericCapability();
5205 PObject
* H245_DataMode_application::Clone() const
5207 #ifndef PASN_LEANANDMEAN
5208 PAssert(IsClass(H245_DataMode_application::Class()), PInvalidCast
);
5210 return new H245_DataMode_application(*this);
5215 #ifndef PASN_NOPRINTON
5216 const static PASN_Names Names_H245_MaintenanceLoopRequest_type
[]={
5219 ,{"logicalChannelLoop",2}
5223 // MaintenanceLoopRequest_type
5226 H245_MaintenanceLoopRequest_type::H245_MaintenanceLoopRequest_type(unsigned tag
, PASN_Object::TagClass tagClass
)
5227 : PASN_Choice(tag
, tagClass
, 3, TRUE
5228 #ifndef PASN_NOPRINTON
5229 ,(const PASN_Names
*)Names_H245_MaintenanceLoopRequest_type
,3
5236 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
5237 H245_MaintenanceLoopRequest_type::operator H245_LogicalChannelNumber
&() const
5239 H245_MaintenanceLoopRequest_type::operator H245_LogicalChannelNumber
&()
5241 #ifndef PASN_LEANANDMEAN
5242 PAssert(PIsDescendant(PAssertNULL(choice
), H245_LogicalChannelNumber
), PInvalidCast
);
5244 return *(H245_LogicalChannelNumber
*)choice
;
5248 H245_MaintenanceLoopRequest_type::operator const H245_LogicalChannelNumber
&() const
5251 #ifndef PASN_LEANANDMEAN
5252 PAssert(PIsDescendant(PAssertNULL(choice
), H245_LogicalChannelNumber
), PInvalidCast
);
5254 return *(H245_LogicalChannelNumber
*)choice
;
5258 BOOL
H245_MaintenanceLoopRequest_type::CreateObject()
5262 choice
= new PASN_Null();
5265 case e_logicalChannelLoop
:
5266 choice
= new H245_LogicalChannelNumber();
5275 PObject
* H245_MaintenanceLoopRequest_type::Clone() const
5277 #ifndef PASN_LEANANDMEAN
5278 PAssert(IsClass(H245_MaintenanceLoopRequest_type::Class()), PInvalidCast
);
5280 return new H245_MaintenanceLoopRequest_type(*this);
5285 #ifndef PASN_NOPRINTON
5286 const static PASN_Names Names_H245_MaintenanceLoopAck_type
[]={
5289 ,{"logicalChannelLoop",2}
5293 // MaintenanceLoopAck_type
5296 H245_MaintenanceLoopAck_type::H245_MaintenanceLoopAck_type(unsigned tag
, PASN_Object::TagClass tagClass
)
5297 : PASN_Choice(tag
, tagClass
, 3, TRUE
5298 #ifndef PASN_NOPRINTON
5299 ,(const PASN_Names
*)Names_H245_MaintenanceLoopAck_type
,3
5306 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
5307 H245_MaintenanceLoopAck_type::operator H245_LogicalChannelNumber
&() const
5309 H245_MaintenanceLoopAck_type::operator H245_LogicalChannelNumber
&()
5311 #ifndef PASN_LEANANDMEAN
5312 PAssert(PIsDescendant(PAssertNULL(choice
), H245_LogicalChannelNumber
), PInvalidCast
);
5314 return *(H245_LogicalChannelNumber
*)choice
;
5318 H245_MaintenanceLoopAck_type::operator const H245_LogicalChannelNumber
&() const
5321 #ifndef PASN_LEANANDMEAN
5322 PAssert(PIsDescendant(PAssertNULL(choice
), H245_LogicalChannelNumber
), PInvalidCast
);
5324 return *(H245_LogicalChannelNumber
*)choice
;
5328 BOOL
H245_MaintenanceLoopAck_type::CreateObject()
5332 choice
= new PASN_Null();
5335 case e_logicalChannelLoop
:
5336 choice
= new H245_LogicalChannelNumber();
5345 PObject
* H245_MaintenanceLoopAck_type::Clone() const
5347 #ifndef PASN_LEANANDMEAN
5348 PAssert(IsClass(H245_MaintenanceLoopAck_type::Class()), PInvalidCast
);
5350 return new H245_MaintenanceLoopAck_type(*this);
5355 #ifndef PASN_NOPRINTON
5356 const static PASN_Names Names_H245_MaintenanceLoopReject_type
[]={
5359 ,{"logicalChannelLoop",2}
5363 // MaintenanceLoopReject_type
5366 H245_MaintenanceLoopReject_type::H245_MaintenanceLoopReject_type(unsigned tag
, PASN_Object::TagClass tagClass
)
5367 : PASN_Choice(tag
, tagClass
, 3, TRUE
5368 #ifndef PASN_NOPRINTON
5369 ,(const PASN_Names
*)Names_H245_MaintenanceLoopReject_type
,3
5376 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
5377 H245_MaintenanceLoopReject_type::operator H245_LogicalChannelNumber
&() const
5379 H245_MaintenanceLoopReject_type::operator H245_LogicalChannelNumber
&()
5381 #ifndef PASN_LEANANDMEAN
5382 PAssert(PIsDescendant(PAssertNULL(choice
), H245_LogicalChannelNumber
), PInvalidCast
);
5384 return *(H245_LogicalChannelNumber
*)choice
;
5388 H245_MaintenanceLoopReject_type::operator const H245_LogicalChannelNumber
&() const
5391 #ifndef PASN_LEANANDMEAN
5392 PAssert(PIsDescendant(PAssertNULL(choice
), H245_LogicalChannelNumber
), PInvalidCast
);
5394 return *(H245_LogicalChannelNumber
*)choice
;
5398 BOOL
H245_MaintenanceLoopReject_type::CreateObject()
5402 choice
= new PASN_Null();
5405 case e_logicalChannelLoop
:
5406 choice
= new H245_LogicalChannelNumber();
5415 PObject
* H245_MaintenanceLoopReject_type::Clone() const
5417 #ifndef PASN_LEANANDMEAN
5418 PAssert(IsClass(H245_MaintenanceLoopReject_type::Class()), PInvalidCast
);
5420 return new H245_MaintenanceLoopReject_type(*this);
5425 #ifndef PASN_NOPRINTON
5426 const static PASN_Names Names_H245_MaintenanceLoopReject_cause
[]={
5427 {"canNotPerformLoop",0}
5431 // MaintenanceLoopReject_cause
5434 H245_MaintenanceLoopReject_cause::H245_MaintenanceLoopReject_cause(unsigned tag
, PASN_Object::TagClass tagClass
)
5435 : PASN_Choice(tag
, tagClass
, 1, TRUE
5436 #ifndef PASN_NOPRINTON
5437 ,(const PASN_Names
*)Names_H245_MaintenanceLoopReject_cause
,1
5444 BOOL
H245_MaintenanceLoopReject_cause::CreateObject()
5446 choice
= (tag
<= e_canNotPerformLoop
) ? new PASN_Null() : NULL
;
5447 return choice
!= NULL
;
5451 PObject
* H245_MaintenanceLoopReject_cause::Clone() const
5453 #ifndef PASN_LEANANDMEAN
5454 PAssert(IsClass(H245_MaintenanceLoopReject_cause::Class()), PInvalidCast
);
5456 return new H245_MaintenanceLoopReject_cause(*this);
5461 // ArrayOf_CommunicationModeTableEntry
5464 H245_ArrayOf_CommunicationModeTableEntry::H245_ArrayOf_CommunicationModeTableEntry(unsigned tag
, PASN_Object::TagClass tagClass
)
5465 : PASN_Array(tag
, tagClass
)
5470 PASN_Object
* H245_ArrayOf_CommunicationModeTableEntry::CreateObject() const
5472 return new H245_CommunicationModeTableEntry
;
5476 H245_CommunicationModeTableEntry
& H245_ArrayOf_CommunicationModeTableEntry::operator[](PINDEX i
) const
5478 return (H245_CommunicationModeTableEntry
&)array
[i
];
5482 PObject
* H245_ArrayOf_CommunicationModeTableEntry::Clone() const
5484 #ifndef PASN_LEANANDMEAN
5485 PAssert(IsClass(H245_ArrayOf_CommunicationModeTableEntry::Class()), PInvalidCast
);
5487 return new H245_ArrayOf_CommunicationModeTableEntry(*this);
5492 #ifndef PASN_NOPRINTON
5493 const static PASN_Names Names_H245_CommunicationModeTableEntry_dataType
[]={
5500 // CommunicationModeTableEntry_dataType
5503 H245_CommunicationModeTableEntry_dataType::H245_CommunicationModeTableEntry_dataType(unsigned tag
, PASN_Object::TagClass tagClass
)
5504 : PASN_Choice(tag
, tagClass
, 3, TRUE
5505 #ifndef PASN_NOPRINTON
5506 ,(const PASN_Names
*)Names_H245_CommunicationModeTableEntry_dataType
,3
5513 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
5514 H245_CommunicationModeTableEntry_dataType::operator H245_VideoCapability
&() const
5516 H245_CommunicationModeTableEntry_dataType::operator H245_VideoCapability
&()
5518 #ifndef PASN_LEANANDMEAN
5519 PAssert(PIsDescendant(PAssertNULL(choice
), H245_VideoCapability
), PInvalidCast
);
5521 return *(H245_VideoCapability
*)choice
;
5525 H245_CommunicationModeTableEntry_dataType::operator const H245_VideoCapability
&() const
5528 #ifndef PASN_LEANANDMEAN
5529 PAssert(PIsDescendant(PAssertNULL(choice
), H245_VideoCapability
), PInvalidCast
);
5531 return *(H245_VideoCapability
*)choice
;
5535 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
5536 H245_CommunicationModeTableEntry_dataType::operator H245_AudioCapability
&() const
5538 H245_CommunicationModeTableEntry_dataType::operator H245_AudioCapability
&()
5540 #ifndef PASN_LEANANDMEAN
5541 PAssert(PIsDescendant(PAssertNULL(choice
), H245_AudioCapability
), PInvalidCast
);
5543 return *(H245_AudioCapability
*)choice
;
5547 H245_CommunicationModeTableEntry_dataType::operator const H245_AudioCapability
&() const
5550 #ifndef PASN_LEANANDMEAN
5551 PAssert(PIsDescendant(PAssertNULL(choice
), H245_AudioCapability
), PInvalidCast
);
5553 return *(H245_AudioCapability
*)choice
;
5557 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
5558 H245_CommunicationModeTableEntry_dataType::operator H245_DataApplicationCapability
&() const
5560 H245_CommunicationModeTableEntry_dataType::operator H245_DataApplicationCapability
&()
5562 #ifndef PASN_LEANANDMEAN
5563 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataApplicationCapability
), PInvalidCast
);
5565 return *(H245_DataApplicationCapability
*)choice
;
5569 H245_CommunicationModeTableEntry_dataType::operator const H245_DataApplicationCapability
&() const
5572 #ifndef PASN_LEANANDMEAN
5573 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DataApplicationCapability
), PInvalidCast
);
5575 return *(H245_DataApplicationCapability
*)choice
;
5579 BOOL
H245_CommunicationModeTableEntry_dataType::CreateObject()
5583 choice
= new H245_VideoCapability();
5586 choice
= new H245_AudioCapability();
5589 choice
= new H245_DataApplicationCapability();
5598 PObject
* H245_CommunicationModeTableEntry_dataType::Clone() const
5600 #ifndef PASN_LEANANDMEAN
5601 PAssert(IsClass(H245_CommunicationModeTableEntry_dataType::Class()), PInvalidCast
);
5603 return new H245_CommunicationModeTableEntry_dataType(*this);
5608 // ArrayOf_TerminalLabel
5611 H245_ArrayOf_TerminalLabel::H245_ArrayOf_TerminalLabel(unsigned tag
, PASN_Object::TagClass tagClass
)
5612 : PASN_Array(tag
, tagClass
)
5617 PASN_Object
* H245_ArrayOf_TerminalLabel::CreateObject() const
5619 return new H245_TerminalLabel
;
5623 H245_TerminalLabel
& H245_ArrayOf_TerminalLabel::operator[](PINDEX i
) const
5625 return (H245_TerminalLabel
&)array
[i
];
5629 PObject
* H245_ArrayOf_TerminalLabel::Clone() const
5631 #ifndef PASN_LEANANDMEAN
5632 PAssert(IsClass(H245_ArrayOf_TerminalLabel::Class()), PInvalidCast
);
5634 return new H245_ArrayOf_TerminalLabel(*this);
5639 #ifndef PASN_NOPRINTON
5640 const static PASN_Names Names_H245_ConferenceResponse_makeMeChairResponse
[]={
5641 {"grantedChairToken",0}
5642 ,{"deniedChairToken",1}
5646 // ConferenceResponse_makeMeChairResponse
5649 H245_ConferenceResponse_makeMeChairResponse::H245_ConferenceResponse_makeMeChairResponse(unsigned tag
, PASN_Object::TagClass tagClass
)
5650 : PASN_Choice(tag
, tagClass
, 2, TRUE
5651 #ifndef PASN_NOPRINTON
5652 ,(const PASN_Names
*)Names_H245_ConferenceResponse_makeMeChairResponse
,2
5659 BOOL
H245_ConferenceResponse_makeMeChairResponse::CreateObject()
5661 choice
= (tag
<= e_deniedChairToken
) ? new PASN_Null() : NULL
;
5662 return choice
!= NULL
;
5666 PObject
* H245_ConferenceResponse_makeMeChairResponse::Clone() const
5668 #ifndef PASN_LEANANDMEAN
5669 PAssert(IsClass(H245_ConferenceResponse_makeMeChairResponse::Class()), PInvalidCast
);
5671 return new H245_ConferenceResponse_makeMeChairResponse(*this);
5676 // ConferenceResponse_extensionAddressResponse
5679 H245_ConferenceResponse_extensionAddressResponse::H245_ConferenceResponse_extensionAddressResponse(unsigned tag
, PASN_Object::TagClass tagClass
)
5680 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
5685 #ifndef PASN_NOPRINTON
5686 void H245_ConferenceResponse_extensionAddressResponse::PrintOn(ostream
& strm
) const
5688 int indent
= strm
.precision() + 2;
5690 strm
<< setw(indent
+19) << "extensionAddress = " << setprecision(indent
) << m_extensionAddress
<< '\n';
5691 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
5696 PObject::Comparison
H245_ConferenceResponse_extensionAddressResponse::Compare(const PObject
& obj
) const
5698 #ifndef PASN_LEANANDMEAN
5699 PAssert(PIsDescendant(&obj
, H245_ConferenceResponse_extensionAddressResponse
), PInvalidCast
);
5701 const H245_ConferenceResponse_extensionAddressResponse
& other
= (const H245_ConferenceResponse_extensionAddressResponse
&)obj
;
5705 if ((result
= m_extensionAddress
.Compare(other
.m_extensionAddress
)) != EqualTo
)
5708 return PASN_Sequence::Compare(other
);
5712 PINDEX
H245_ConferenceResponse_extensionAddressResponse::GetDataLength() const
5715 length
+= m_extensionAddress
.GetObjectLength();
5720 BOOL
H245_ConferenceResponse_extensionAddressResponse::Decode(PASN_Stream
& strm
)
5722 if (!PreambleDecode(strm
))
5725 if (!m_extensionAddress
.Decode(strm
))
5728 return UnknownExtensionsDecode(strm
);
5732 void H245_ConferenceResponse_extensionAddressResponse::Encode(PASN_Stream
& strm
) const
5734 PreambleEncode(strm
);
5736 m_extensionAddress
.Encode(strm
);
5738 UnknownExtensionsEncode(strm
);
5742 PObject
* H245_ConferenceResponse_extensionAddressResponse::Clone() const
5744 #ifndef PASN_LEANANDMEAN
5745 PAssert(IsClass(H245_ConferenceResponse_extensionAddressResponse::Class()), PInvalidCast
);
5747 return new H245_ConferenceResponse_extensionAddressResponse(*this);
5752 #ifndef PASN_NOPRINTON
5753 const static PASN_Names Names_H245_ConferenceResponse_broadcastMyLogicalChannelResponse
[]={
5754 {"grantedBroadcastMyLogicalChannel",0}
5755 ,{"deniedBroadcastMyLogicalChannel",1}
5759 // ConferenceResponse_broadcastMyLogicalChannelResponse
5762 H245_ConferenceResponse_broadcastMyLogicalChannelResponse::H245_ConferenceResponse_broadcastMyLogicalChannelResponse(unsigned tag
, PASN_Object::TagClass tagClass
)
5763 : PASN_Choice(tag
, tagClass
, 2, TRUE
5764 #ifndef PASN_NOPRINTON
5765 ,(const PASN_Names
*)Names_H245_ConferenceResponse_broadcastMyLogicalChannelResponse
,2
5772 BOOL
H245_ConferenceResponse_broadcastMyLogicalChannelResponse::CreateObject()
5774 choice
= (tag
<= e_deniedBroadcastMyLogicalChannel
) ? new PASN_Null() : NULL
;
5775 return choice
!= NULL
;
5779 PObject
* H245_ConferenceResponse_broadcastMyLogicalChannelResponse::Clone() const
5781 #ifndef PASN_LEANANDMEAN
5782 PAssert(IsClass(H245_ConferenceResponse_broadcastMyLogicalChannelResponse::Class()), PInvalidCast
);
5784 return new H245_ConferenceResponse_broadcastMyLogicalChannelResponse(*this);
5789 #ifndef PASN_NOPRINTON
5790 const static PASN_Names Names_H245_ConferenceResponse_makeTerminalBroadcasterResponse
[]={
5791 {"grantedMakeTerminalBroadcaster",0}
5792 ,{"deniedMakeTerminalBroadcaster",1}
5796 // ConferenceResponse_makeTerminalBroadcasterResponse
5799 H245_ConferenceResponse_makeTerminalBroadcasterResponse::H245_ConferenceResponse_makeTerminalBroadcasterResponse(unsigned tag
, PASN_Object::TagClass tagClass
)
5800 : PASN_Choice(tag
, tagClass
, 2, TRUE
5801 #ifndef PASN_NOPRINTON
5802 ,(const PASN_Names
*)Names_H245_ConferenceResponse_makeTerminalBroadcasterResponse
,2
5809 BOOL
H245_ConferenceResponse_makeTerminalBroadcasterResponse::CreateObject()
5811 choice
= (tag
<= e_deniedMakeTerminalBroadcaster
) ? new PASN_Null() : NULL
;
5812 return choice
!= NULL
;
5816 PObject
* H245_ConferenceResponse_makeTerminalBroadcasterResponse::Clone() const
5818 #ifndef PASN_LEANANDMEAN
5819 PAssert(IsClass(H245_ConferenceResponse_makeTerminalBroadcasterResponse::Class()), PInvalidCast
);
5821 return new H245_ConferenceResponse_makeTerminalBroadcasterResponse(*this);
5826 #ifndef PASN_NOPRINTON
5827 const static PASN_Names Names_H245_ConferenceResponse_sendThisSourceResponse
[]={
5828 {"grantedSendThisSource",0}
5829 ,{"deniedSendThisSource",1}
5833 // ConferenceResponse_sendThisSourceResponse
5836 H245_ConferenceResponse_sendThisSourceResponse::H245_ConferenceResponse_sendThisSourceResponse(unsigned tag
, PASN_Object::TagClass tagClass
)
5837 : PASN_Choice(tag
, tagClass
, 2, TRUE
5838 #ifndef PASN_NOPRINTON
5839 ,(const PASN_Names
*)Names_H245_ConferenceResponse_sendThisSourceResponse
,2
5846 BOOL
H245_ConferenceResponse_sendThisSourceResponse::CreateObject()
5848 choice
= (tag
<= e_deniedSendThisSource
) ? new PASN_Null() : NULL
;
5849 return choice
!= NULL
;
5853 PObject
* H245_ConferenceResponse_sendThisSourceResponse::Clone() const
5855 #ifndef PASN_LEANANDMEAN
5856 PAssert(IsClass(H245_ConferenceResponse_sendThisSourceResponse::Class()), PInvalidCast
);
5858 return new H245_ConferenceResponse_sendThisSourceResponse(*this);
5863 // ArrayOf_TerminalInformation
5866 H245_ArrayOf_TerminalInformation::H245_ArrayOf_TerminalInformation(unsigned tag
, PASN_Object::TagClass tagClass
)
5867 : PASN_Array(tag
, tagClass
)
5872 PASN_Object
* H245_ArrayOf_TerminalInformation::CreateObject() const
5874 return new H245_TerminalInformation
;
5878 H245_TerminalInformation
& H245_ArrayOf_TerminalInformation::operator[](PINDEX i
) const
5880 return (H245_TerminalInformation
&)array
[i
];
5884 PObject
* H245_ArrayOf_TerminalInformation::Clone() const
5886 #ifndef PASN_LEANANDMEAN
5887 PAssert(IsClass(H245_ArrayOf_TerminalInformation::Class()), PInvalidCast
);
5889 return new H245_ArrayOf_TerminalInformation(*this);
5894 #ifndef PASN_NOPRINTON
5895 const static PASN_Names Names_H245_RemoteMCResponse_reject
[]={
5897 ,{"functionNotSupported",1}
5901 // RemoteMCResponse_reject
5904 H245_RemoteMCResponse_reject::H245_RemoteMCResponse_reject(unsigned tag
, PASN_Object::TagClass tagClass
)
5905 : PASN_Choice(tag
, tagClass
, 2, TRUE
5906 #ifndef PASN_NOPRINTON
5907 ,(const PASN_Names
*)Names_H245_RemoteMCResponse_reject
,2
5914 BOOL
H245_RemoteMCResponse_reject::CreateObject()
5916 choice
= (tag
<= e_functionNotSupported
) ? new PASN_Null() : NULL
;
5917 return choice
!= NULL
;
5921 PObject
* H245_RemoteMCResponse_reject::Clone() const
5923 #ifndef PASN_LEANANDMEAN
5924 PAssert(IsClass(H245_RemoteMCResponse_reject::Class()), PInvalidCast
);
5926 return new H245_RemoteMCResponse_reject(*this);
5931 // MultilinkRequest_callInformation
5934 H245_MultilinkRequest_callInformation::H245_MultilinkRequest_callInformation(unsigned tag
, PASN_Object::TagClass tagClass
)
5935 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
5937 m_maxNumberOfAdditionalConnections
.SetConstraints(PASN_Object::FixedConstraint
, 1, 65535);
5941 #ifndef PASN_NOPRINTON
5942 void H245_MultilinkRequest_callInformation::PrintOn(ostream
& strm
) const
5944 int indent
= strm
.precision() + 2;
5946 strm
<< setw(indent
+35) << "maxNumberOfAdditionalConnections = " << setprecision(indent
) << m_maxNumberOfAdditionalConnections
<< '\n';
5947 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
5952 PObject::Comparison
H245_MultilinkRequest_callInformation::Compare(const PObject
& obj
) const
5954 #ifndef PASN_LEANANDMEAN
5955 PAssert(PIsDescendant(&obj
, H245_MultilinkRequest_callInformation
), PInvalidCast
);
5957 const H245_MultilinkRequest_callInformation
& other
= (const H245_MultilinkRequest_callInformation
&)obj
;
5961 if ((result
= m_maxNumberOfAdditionalConnections
.Compare(other
.m_maxNumberOfAdditionalConnections
)) != EqualTo
)
5964 return PASN_Sequence::Compare(other
);
5968 PINDEX
H245_MultilinkRequest_callInformation::GetDataLength() const
5971 length
+= m_maxNumberOfAdditionalConnections
.GetObjectLength();
5976 BOOL
H245_MultilinkRequest_callInformation::Decode(PASN_Stream
& strm
)
5978 if (!PreambleDecode(strm
))
5981 if (!m_maxNumberOfAdditionalConnections
.Decode(strm
))
5984 return UnknownExtensionsDecode(strm
);
5988 void H245_MultilinkRequest_callInformation::Encode(PASN_Stream
& strm
) const
5990 PreambleEncode(strm
);
5992 m_maxNumberOfAdditionalConnections
.Encode(strm
);
5994 UnknownExtensionsEncode(strm
);
5998 PObject
* H245_MultilinkRequest_callInformation::Clone() const
6000 #ifndef PASN_LEANANDMEAN
6001 PAssert(IsClass(H245_MultilinkRequest_callInformation::Class()), PInvalidCast
);
6003 return new H245_MultilinkRequest_callInformation(*this);
6008 // MultilinkRequest_addConnection
6011 H245_MultilinkRequest_addConnection::H245_MultilinkRequest_addConnection(unsigned tag
, PASN_Object::TagClass tagClass
)
6012 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
6017 #ifndef PASN_NOPRINTON
6018 void H245_MultilinkRequest_addConnection::PrintOn(ostream
& strm
) const
6020 int indent
= strm
.precision() + 2;
6022 strm
<< setw(indent
+17) << "sequenceNumber = " << setprecision(indent
) << m_sequenceNumber
<< '\n';
6023 strm
<< setw(indent
+21) << "dialingInformation = " << setprecision(indent
) << m_dialingInformation
<< '\n';
6024 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
6029 PObject::Comparison
H245_MultilinkRequest_addConnection::Compare(const PObject
& obj
) const
6031 #ifndef PASN_LEANANDMEAN
6032 PAssert(PIsDescendant(&obj
, H245_MultilinkRequest_addConnection
), PInvalidCast
);
6034 const H245_MultilinkRequest_addConnection
& other
= (const H245_MultilinkRequest_addConnection
&)obj
;
6038 if ((result
= m_sequenceNumber
.Compare(other
.m_sequenceNumber
)) != EqualTo
)
6040 if ((result
= m_dialingInformation
.Compare(other
.m_dialingInformation
)) != EqualTo
)
6043 return PASN_Sequence::Compare(other
);
6047 PINDEX
H245_MultilinkRequest_addConnection::GetDataLength() const
6050 length
+= m_sequenceNumber
.GetObjectLength();
6051 length
+= m_dialingInformation
.GetObjectLength();
6056 BOOL
H245_MultilinkRequest_addConnection::Decode(PASN_Stream
& strm
)
6058 if (!PreambleDecode(strm
))
6061 if (!m_sequenceNumber
.Decode(strm
))
6063 if (!m_dialingInformation
.Decode(strm
))
6066 return UnknownExtensionsDecode(strm
);
6070 void H245_MultilinkRequest_addConnection::Encode(PASN_Stream
& strm
) const
6072 PreambleEncode(strm
);
6074 m_sequenceNumber
.Encode(strm
);
6075 m_dialingInformation
.Encode(strm
);
6077 UnknownExtensionsEncode(strm
);
6081 PObject
* H245_MultilinkRequest_addConnection::Clone() const
6083 #ifndef PASN_LEANANDMEAN
6084 PAssert(IsClass(H245_MultilinkRequest_addConnection::Class()), PInvalidCast
);
6086 return new H245_MultilinkRequest_addConnection(*this);
6091 // MultilinkRequest_removeConnection
6094 H245_MultilinkRequest_removeConnection::H245_MultilinkRequest_removeConnection(unsigned tag
, PASN_Object::TagClass tagClass
)
6095 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
6100 #ifndef PASN_NOPRINTON
6101 void H245_MultilinkRequest_removeConnection::PrintOn(ostream
& strm
) const
6103 int indent
= strm
.precision() + 2;
6105 strm
<< setw(indent
+23) << "connectionIdentifier = " << setprecision(indent
) << m_connectionIdentifier
<< '\n';
6106 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
6111 PObject::Comparison
H245_MultilinkRequest_removeConnection::Compare(const PObject
& obj
) const
6113 #ifndef PASN_LEANANDMEAN
6114 PAssert(PIsDescendant(&obj
, H245_MultilinkRequest_removeConnection
), PInvalidCast
);
6116 const H245_MultilinkRequest_removeConnection
& other
= (const H245_MultilinkRequest_removeConnection
&)obj
;
6120 if ((result
= m_connectionIdentifier
.Compare(other
.m_connectionIdentifier
)) != EqualTo
)
6123 return PASN_Sequence::Compare(other
);
6127 PINDEX
H245_MultilinkRequest_removeConnection::GetDataLength() const
6130 length
+= m_connectionIdentifier
.GetObjectLength();
6135 BOOL
H245_MultilinkRequest_removeConnection::Decode(PASN_Stream
& strm
)
6137 if (!PreambleDecode(strm
))
6140 if (!m_connectionIdentifier
.Decode(strm
))
6143 return UnknownExtensionsDecode(strm
);
6147 void H245_MultilinkRequest_removeConnection::Encode(PASN_Stream
& strm
) const
6149 PreambleEncode(strm
);
6151 m_connectionIdentifier
.Encode(strm
);
6153 UnknownExtensionsEncode(strm
);
6157 PObject
* H245_MultilinkRequest_removeConnection::Clone() const
6159 #ifndef PASN_LEANANDMEAN
6160 PAssert(IsClass(H245_MultilinkRequest_removeConnection::Class()), PInvalidCast
);
6162 return new H245_MultilinkRequest_removeConnection(*this);
6167 // MultilinkResponse_callInformation
6170 H245_MultilinkResponse_callInformation::H245_MultilinkResponse_callInformation(unsigned tag
, PASN_Object::TagClass tagClass
)
6171 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
6173 m_callAssociationNumber
.SetConstraints(PASN_Object::FixedConstraint
, 0, 4294967295U);
6177 #ifndef PASN_NOPRINTON
6178 void H245_MultilinkResponse_callInformation::PrintOn(ostream
& strm
) const
6180 int indent
= strm
.precision() + 2;
6182 strm
<< setw(indent
+21) << "dialingInformation = " << setprecision(indent
) << m_dialingInformation
<< '\n';
6183 strm
<< setw(indent
+24) << "callAssociationNumber = " << setprecision(indent
) << m_callAssociationNumber
<< '\n';
6184 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
6189 PObject::Comparison
H245_MultilinkResponse_callInformation::Compare(const PObject
& obj
) const
6191 #ifndef PASN_LEANANDMEAN
6192 PAssert(PIsDescendant(&obj
, H245_MultilinkResponse_callInformation
), PInvalidCast
);
6194 const H245_MultilinkResponse_callInformation
& other
= (const H245_MultilinkResponse_callInformation
&)obj
;
6198 if ((result
= m_dialingInformation
.Compare(other
.m_dialingInformation
)) != EqualTo
)
6200 if ((result
= m_callAssociationNumber
.Compare(other
.m_callAssociationNumber
)) != EqualTo
)
6203 return PASN_Sequence::Compare(other
);
6207 PINDEX
H245_MultilinkResponse_callInformation::GetDataLength() const
6210 length
+= m_dialingInformation
.GetObjectLength();
6211 length
+= m_callAssociationNumber
.GetObjectLength();
6216 BOOL
H245_MultilinkResponse_callInformation::Decode(PASN_Stream
& strm
)
6218 if (!PreambleDecode(strm
))
6221 if (!m_dialingInformation
.Decode(strm
))
6223 if (!m_callAssociationNumber
.Decode(strm
))
6226 return UnknownExtensionsDecode(strm
);
6230 void H245_MultilinkResponse_callInformation::Encode(PASN_Stream
& strm
) const
6232 PreambleEncode(strm
);
6234 m_dialingInformation
.Encode(strm
);
6235 m_callAssociationNumber
.Encode(strm
);
6237 UnknownExtensionsEncode(strm
);
6241 PObject
* H245_MultilinkResponse_callInformation::Clone() const
6243 #ifndef PASN_LEANANDMEAN
6244 PAssert(IsClass(H245_MultilinkResponse_callInformation::Class()), PInvalidCast
);
6246 return new H245_MultilinkResponse_callInformation(*this);
6251 // MultilinkResponse_removeConnection
6254 H245_MultilinkResponse_removeConnection::H245_MultilinkResponse_removeConnection(unsigned tag
, PASN_Object::TagClass tagClass
)
6255 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
6260 #ifndef PASN_NOPRINTON
6261 void H245_MultilinkResponse_removeConnection::PrintOn(ostream
& strm
) const
6263 int indent
= strm
.precision() + 2;
6265 strm
<< setw(indent
+23) << "connectionIdentifier = " << setprecision(indent
) << m_connectionIdentifier
<< '\n';
6266 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
6271 PObject::Comparison
H245_MultilinkResponse_removeConnection::Compare(const PObject
& obj
) const
6273 #ifndef PASN_LEANANDMEAN
6274 PAssert(PIsDescendant(&obj
, H245_MultilinkResponse_removeConnection
), PInvalidCast
);
6276 const H245_MultilinkResponse_removeConnection
& other
= (const H245_MultilinkResponse_removeConnection
&)obj
;
6280 if ((result
= m_connectionIdentifier
.Compare(other
.m_connectionIdentifier
)) != EqualTo
)
6283 return PASN_Sequence::Compare(other
);
6287 PINDEX
H245_MultilinkResponse_removeConnection::GetDataLength() const
6290 length
+= m_connectionIdentifier
.GetObjectLength();
6295 BOOL
H245_MultilinkResponse_removeConnection::Decode(PASN_Stream
& strm
)
6297 if (!PreambleDecode(strm
))
6300 if (!m_connectionIdentifier
.Decode(strm
))
6303 return UnknownExtensionsDecode(strm
);
6307 void H245_MultilinkResponse_removeConnection::Encode(PASN_Stream
& strm
) const
6309 PreambleEncode(strm
);
6311 m_connectionIdentifier
.Encode(strm
);
6313 UnknownExtensionsEncode(strm
);
6317 PObject
* H245_MultilinkResponse_removeConnection::Clone() const
6319 #ifndef PASN_LEANANDMEAN
6320 PAssert(IsClass(H245_MultilinkResponse_removeConnection::Class()), PInvalidCast
);
6322 return new H245_MultilinkResponse_removeConnection(*this);
6327 // MultilinkResponse_maximumHeaderInterval
6330 H245_MultilinkResponse_maximumHeaderInterval::H245_MultilinkResponse_maximumHeaderInterval(unsigned tag
, PASN_Object::TagClass tagClass
)
6331 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
6333 m_currentInterval
.SetConstraints(PASN_Object::FixedConstraint
, 0, 65535);
6337 #ifndef PASN_NOPRINTON
6338 void H245_MultilinkResponse_maximumHeaderInterval::PrintOn(ostream
& strm
) const
6340 int indent
= strm
.precision() + 2;
6342 strm
<< setw(indent
+18) << "currentInterval = " << setprecision(indent
) << m_currentInterval
<< '\n';
6343 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
6348 PObject::Comparison
H245_MultilinkResponse_maximumHeaderInterval::Compare(const PObject
& obj
) const
6350 #ifndef PASN_LEANANDMEAN
6351 PAssert(PIsDescendant(&obj
, H245_MultilinkResponse_maximumHeaderInterval
), PInvalidCast
);
6353 const H245_MultilinkResponse_maximumHeaderInterval
& other
= (const H245_MultilinkResponse_maximumHeaderInterval
&)obj
;
6357 if ((result
= m_currentInterval
.Compare(other
.m_currentInterval
)) != EqualTo
)
6360 return PASN_Sequence::Compare(other
);
6364 PINDEX
H245_MultilinkResponse_maximumHeaderInterval::GetDataLength() const
6367 length
+= m_currentInterval
.GetObjectLength();
6372 BOOL
H245_MultilinkResponse_maximumHeaderInterval::Decode(PASN_Stream
& strm
)
6374 if (!PreambleDecode(strm
))
6377 if (!m_currentInterval
.Decode(strm
))
6380 return UnknownExtensionsDecode(strm
);
6384 void H245_MultilinkResponse_maximumHeaderInterval::Encode(PASN_Stream
& strm
) const
6386 PreambleEncode(strm
);
6388 m_currentInterval
.Encode(strm
);
6390 UnknownExtensionsEncode(strm
);
6394 PObject
* H245_MultilinkResponse_maximumHeaderInterval::Clone() const
6396 #ifndef PASN_LEANANDMEAN
6397 PAssert(IsClass(H245_MultilinkResponse_maximumHeaderInterval::Class()), PInvalidCast
);
6399 return new H245_MultilinkResponse_maximumHeaderInterval(*this);
6404 // MultilinkIndication_crcDesired
6407 H245_MultilinkIndication_crcDesired::H245_MultilinkIndication_crcDesired(unsigned tag
, PASN_Object::TagClass tagClass
)
6408 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
6413 #ifndef PASN_NOPRINTON
6414 void H245_MultilinkIndication_crcDesired::PrintOn(ostream
& strm
) const
6416 int indent
= strm
.precision() + 2;
6418 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
6423 PINDEX
H245_MultilinkIndication_crcDesired::GetDataLength() const
6430 BOOL
H245_MultilinkIndication_crcDesired::Decode(PASN_Stream
& strm
)
6432 if (!PreambleDecode(strm
))
6436 return UnknownExtensionsDecode(strm
);
6440 void H245_MultilinkIndication_crcDesired::Encode(PASN_Stream
& strm
) const
6442 PreambleEncode(strm
);
6445 UnknownExtensionsEncode(strm
);
6449 PObject
* H245_MultilinkIndication_crcDesired::Clone() const
6451 #ifndef PASN_LEANANDMEAN
6452 PAssert(IsClass(H245_MultilinkIndication_crcDesired::Class()), PInvalidCast
);
6454 return new H245_MultilinkIndication_crcDesired(*this);
6459 // MultilinkIndication_excessiveError
6462 H245_MultilinkIndication_excessiveError::H245_MultilinkIndication_excessiveError(unsigned tag
, PASN_Object::TagClass tagClass
)
6463 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
6468 #ifndef PASN_NOPRINTON
6469 void H245_MultilinkIndication_excessiveError::PrintOn(ostream
& strm
) const
6471 int indent
= strm
.precision() + 2;
6473 strm
<< setw(indent
+23) << "connectionIdentifier = " << setprecision(indent
) << m_connectionIdentifier
<< '\n';
6474 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
6479 PObject::Comparison
H245_MultilinkIndication_excessiveError::Compare(const PObject
& obj
) const
6481 #ifndef PASN_LEANANDMEAN
6482 PAssert(PIsDescendant(&obj
, H245_MultilinkIndication_excessiveError
), PInvalidCast
);
6484 const H245_MultilinkIndication_excessiveError
& other
= (const H245_MultilinkIndication_excessiveError
&)obj
;
6488 if ((result
= m_connectionIdentifier
.Compare(other
.m_connectionIdentifier
)) != EqualTo
)
6491 return PASN_Sequence::Compare(other
);
6495 PINDEX
H245_MultilinkIndication_excessiveError::GetDataLength() const
6498 length
+= m_connectionIdentifier
.GetObjectLength();
6503 BOOL
H245_MultilinkIndication_excessiveError::Decode(PASN_Stream
& strm
)
6505 if (!PreambleDecode(strm
))
6508 if (!m_connectionIdentifier
.Decode(strm
))
6511 return UnknownExtensionsDecode(strm
);
6515 void H245_MultilinkIndication_excessiveError::Encode(PASN_Stream
& strm
) const
6517 PreambleEncode(strm
);
6519 m_connectionIdentifier
.Encode(strm
);
6521 UnknownExtensionsEncode(strm
);
6525 PObject
* H245_MultilinkIndication_excessiveError::Clone() const
6527 #ifndef PASN_LEANANDMEAN
6528 PAssert(IsClass(H245_MultilinkIndication_excessiveError::Class()), PInvalidCast
);
6530 return new H245_MultilinkIndication_excessiveError(*this);
6535 // ArrayOf_DialingInformationNumber
6538 H245_ArrayOf_DialingInformationNumber::H245_ArrayOf_DialingInformationNumber(unsigned tag
, PASN_Object::TagClass tagClass
)
6539 : PASN_Array(tag
, tagClass
)
6544 PASN_Object
* H245_ArrayOf_DialingInformationNumber::CreateObject() const
6546 return new H245_DialingInformationNumber
;
6550 H245_DialingInformationNumber
& H245_ArrayOf_DialingInformationNumber::operator[](PINDEX i
) const
6552 return (H245_DialingInformationNumber
&)array
[i
];
6556 PObject
* H245_ArrayOf_DialingInformationNumber::Clone() const
6558 #ifndef PASN_LEANANDMEAN
6559 PAssert(IsClass(H245_ArrayOf_DialingInformationNumber::Class()), PInvalidCast
);
6561 return new H245_ArrayOf_DialingInformationNumber(*this);
6566 // ArrayOf_DialingInformationNetworkType
6569 H245_ArrayOf_DialingInformationNetworkType::H245_ArrayOf_DialingInformationNetworkType(unsigned tag
, PASN_Object::TagClass tagClass
)
6570 : PASN_Array(tag
, tagClass
)
6575 PASN_Object
* H245_ArrayOf_DialingInformationNetworkType::CreateObject() const
6577 return new H245_DialingInformationNetworkType
;
6581 H245_DialingInformationNetworkType
& H245_ArrayOf_DialingInformationNetworkType::operator[](PINDEX i
) const
6583 return (H245_DialingInformationNetworkType
&)array
[i
];
6587 PObject
* H245_ArrayOf_DialingInformationNetworkType::Clone() const
6589 #ifndef PASN_LEANANDMEAN
6590 PAssert(IsClass(H245_ArrayOf_DialingInformationNetworkType::Class()), PInvalidCast
);
6592 return new H245_ArrayOf_DialingInformationNetworkType(*this);
6597 #ifndef PASN_NOPRINTON
6598 const static PASN_Names Names_H245_FlowControlCommand_scope
[]={
6599 {"logicalChannelNumber",0}
6601 ,{"wholeMultiplex",2}
6605 // FlowControlCommand_scope
6608 H245_FlowControlCommand_scope::H245_FlowControlCommand_scope(unsigned tag
, PASN_Object::TagClass tagClass
)
6609 : PASN_Choice(tag
, tagClass
, 3, FALSE
6610 #ifndef PASN_NOPRINTON
6611 ,(const PASN_Names
*)Names_H245_FlowControlCommand_scope
,3
6618 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
6619 H245_FlowControlCommand_scope::operator H245_LogicalChannelNumber
&() const
6621 H245_FlowControlCommand_scope::operator H245_LogicalChannelNumber
&()
6623 #ifndef PASN_LEANANDMEAN
6624 PAssert(PIsDescendant(PAssertNULL(choice
), H245_LogicalChannelNumber
), PInvalidCast
);
6626 return *(H245_LogicalChannelNumber
*)choice
;
6630 H245_FlowControlCommand_scope::operator const H245_LogicalChannelNumber
&() const
6633 #ifndef PASN_LEANANDMEAN
6634 PAssert(PIsDescendant(PAssertNULL(choice
), H245_LogicalChannelNumber
), PInvalidCast
);
6636 return *(H245_LogicalChannelNumber
*)choice
;
6640 BOOL
H245_FlowControlCommand_scope::CreateObject()
6643 case e_logicalChannelNumber
:
6644 choice
= new H245_LogicalChannelNumber();
6647 choice
= new PASN_Integer();
6648 choice
->SetConstraints(PASN_Object::FixedConstraint
, 0, 65535);
6650 case e_wholeMultiplex
:
6651 choice
= new PASN_Null();
6660 PObject
* H245_FlowControlCommand_scope::Clone() const
6662 #ifndef PASN_LEANANDMEAN
6663 PAssert(IsClass(H245_FlowControlCommand_scope::Class()), PInvalidCast
);
6665 return new H245_FlowControlCommand_scope(*this);
6670 #ifndef PASN_NOPRINTON
6671 const static PASN_Names Names_H245_FlowControlCommand_restriction
[]={
6672 {"maximumBitRate",0}
6673 ,{"noRestriction",1}
6677 // FlowControlCommand_restriction
6680 H245_FlowControlCommand_restriction::H245_FlowControlCommand_restriction(unsigned tag
, PASN_Object::TagClass tagClass
)
6681 : PASN_Choice(tag
, tagClass
, 2, FALSE
6682 #ifndef PASN_NOPRINTON
6683 ,(const PASN_Names
*)Names_H245_FlowControlCommand_restriction
,2
6690 BOOL
H245_FlowControlCommand_restriction::CreateObject()
6693 case e_maximumBitRate
:
6694 choice
= new PASN_Integer();
6695 choice
->SetConstraints(PASN_Object::FixedConstraint
, 0, 16777215);
6697 case e_noRestriction
:
6698 choice
= new PASN_Null();
6707 PObject
* H245_FlowControlCommand_restriction::Clone() const
6709 #ifndef PASN_LEANANDMEAN
6710 PAssert(IsClass(H245_FlowControlCommand_restriction::Class()), PInvalidCast
);
6712 return new H245_FlowControlCommand_restriction(*this);
6717 #ifndef PASN_NOPRINTON
6718 const static PASN_Names Names_H245_EndSessionCommand_gstnOptions
[]={
6727 // EndSessionCommand_gstnOptions
6730 H245_EndSessionCommand_gstnOptions::H245_EndSessionCommand_gstnOptions(unsigned tag
, PASN_Object::TagClass tagClass
)
6731 : PASN_Choice(tag
, tagClass
, 5, TRUE
6732 #ifndef PASN_NOPRINTON
6733 ,(const PASN_Names
*)Names_H245_EndSessionCommand_gstnOptions
,5
6740 BOOL
H245_EndSessionCommand_gstnOptions::CreateObject()
6742 choice
= (tag
<= e_v34H324
) ? new PASN_Null() : NULL
;
6743 return choice
!= NULL
;
6747 PObject
* H245_EndSessionCommand_gstnOptions::Clone() const
6749 #ifndef PASN_LEANANDMEAN
6750 PAssert(IsClass(H245_EndSessionCommand_gstnOptions::Class()), PInvalidCast
);
6752 return new H245_EndSessionCommand_gstnOptions(*this);
6757 #ifndef PASN_NOPRINTON
6758 const static PASN_Names Names_H245_EndSessionCommand_isdnOptions
[]={
6761 ,{"terminalOnHold",2}
6765 // EndSessionCommand_isdnOptions
6768 H245_EndSessionCommand_isdnOptions::H245_EndSessionCommand_isdnOptions(unsigned tag
, PASN_Object::TagClass tagClass
)
6769 : PASN_Choice(tag
, tagClass
, 3, TRUE
6770 #ifndef PASN_NOPRINTON
6771 ,(const PASN_Names
*)Names_H245_EndSessionCommand_isdnOptions
,3
6778 BOOL
H245_EndSessionCommand_isdnOptions::CreateObject()
6780 choice
= (tag
<= e_terminalOnHold
) ? new PASN_Null() : NULL
;
6781 return choice
!= NULL
;
6785 PObject
* H245_EndSessionCommand_isdnOptions::Clone() const
6787 #ifndef PASN_LEANANDMEAN
6788 PAssert(IsClass(H245_EndSessionCommand_isdnOptions::Class()), PInvalidCast
);
6790 return new H245_EndSessionCommand_isdnOptions(*this);
6795 #ifndef PASN_NOPRINTON
6796 const static PASN_Names Names_H245_MiscellaneousCommand_type
[]={
6799 ,{"multipointModeCommand",2}
6800 ,{"cancelMultipointModeCommand",3}
6801 ,{"videoFreezePicture",4}
6802 ,{"videoFastUpdatePicture",5}
6803 ,{"videoFastUpdateGOB",6}
6804 ,{"videoTemporalSpatialTradeOff",7}
6805 ,{"videoSendSyncEveryGOB",8}
6806 ,{"videoSendSyncEveryGOBCancel",9}
6807 ,{"videoFastUpdateMB",10}
6808 ,{"maxH223MUXPDUsize",11}
6809 ,{"encryptionUpdate",12}
6810 ,{"encryptionUpdateRequest",13}
6811 ,{"switchReceiveMediaOff",14}
6812 ,{"switchReceiveMediaOn",15}
6813 ,{"progressiveRefinementStart",16}
6814 ,{"progressiveRefinementAbortOne",17}
6815 ,{"progressiveRefinementAbortContinuous",18}
6818 ,{"lostPartialPicture",21}
6819 ,{"recoveryReferencePicture",22}
6820 ,{"encryptionUpdateCommand",23}
6821 ,{"encryptionUpdateAck",24}
6825 // MiscellaneousCommand_type
6828 H245_MiscellaneousCommand_type::H245_MiscellaneousCommand_type(unsigned tag
, PASN_Object::TagClass tagClass
)
6829 : PASN_Choice(tag
, tagClass
, 10, TRUE
6830 #ifndef PASN_NOPRINTON
6831 ,(const PASN_Names
*)Names_H245_MiscellaneousCommand_type
,25
6838 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
6839 H245_MiscellaneousCommand_type::operator H245_MiscellaneousCommand_type_videoFastUpdateGOB
&() const
6841 H245_MiscellaneousCommand_type::operator H245_MiscellaneousCommand_type_videoFastUpdateGOB
&()
6843 #ifndef PASN_LEANANDMEAN
6844 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MiscellaneousCommand_type_videoFastUpdateGOB
), PInvalidCast
);
6846 return *(H245_MiscellaneousCommand_type_videoFastUpdateGOB
*)choice
;
6850 H245_MiscellaneousCommand_type::operator const H245_MiscellaneousCommand_type_videoFastUpdateGOB
&() const
6853 #ifndef PASN_LEANANDMEAN
6854 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MiscellaneousCommand_type_videoFastUpdateGOB
), PInvalidCast
);
6856 return *(H245_MiscellaneousCommand_type_videoFastUpdateGOB
*)choice
;
6860 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
6861 H245_MiscellaneousCommand_type::operator H245_MiscellaneousCommand_type_videoFastUpdateMB
&() const
6863 H245_MiscellaneousCommand_type::operator H245_MiscellaneousCommand_type_videoFastUpdateMB
&()
6865 #ifndef PASN_LEANANDMEAN
6866 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MiscellaneousCommand_type_videoFastUpdateMB
), PInvalidCast
);
6868 return *(H245_MiscellaneousCommand_type_videoFastUpdateMB
*)choice
;
6872 H245_MiscellaneousCommand_type::operator const H245_MiscellaneousCommand_type_videoFastUpdateMB
&() const
6875 #ifndef PASN_LEANANDMEAN
6876 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MiscellaneousCommand_type_videoFastUpdateMB
), PInvalidCast
);
6878 return *(H245_MiscellaneousCommand_type_videoFastUpdateMB
*)choice
;
6882 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
6883 H245_MiscellaneousCommand_type::operator H245_EncryptionSync
&() const
6885 H245_MiscellaneousCommand_type::operator H245_EncryptionSync
&()
6887 #ifndef PASN_LEANANDMEAN
6888 PAssert(PIsDescendant(PAssertNULL(choice
), H245_EncryptionSync
), PInvalidCast
);
6890 return *(H245_EncryptionSync
*)choice
;
6894 H245_MiscellaneousCommand_type::operator const H245_EncryptionSync
&() const
6897 #ifndef PASN_LEANANDMEAN
6898 PAssert(PIsDescendant(PAssertNULL(choice
), H245_EncryptionSync
), PInvalidCast
);
6900 return *(H245_EncryptionSync
*)choice
;
6904 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
6905 H245_MiscellaneousCommand_type::operator H245_EncryptionUpdateRequest
&() const
6907 H245_MiscellaneousCommand_type::operator H245_EncryptionUpdateRequest
&()
6909 #ifndef PASN_LEANANDMEAN
6910 PAssert(PIsDescendant(PAssertNULL(choice
), H245_EncryptionUpdateRequest
), PInvalidCast
);
6912 return *(H245_EncryptionUpdateRequest
*)choice
;
6916 H245_MiscellaneousCommand_type::operator const H245_EncryptionUpdateRequest
&() const
6919 #ifndef PASN_LEANANDMEAN
6920 PAssert(PIsDescendant(PAssertNULL(choice
), H245_EncryptionUpdateRequest
), PInvalidCast
);
6922 return *(H245_EncryptionUpdateRequest
*)choice
;
6926 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
6927 H245_MiscellaneousCommand_type::operator H245_MiscellaneousCommand_type_progressiveRefinementStart
&() const
6929 H245_MiscellaneousCommand_type::operator H245_MiscellaneousCommand_type_progressiveRefinementStart
&()
6931 #ifndef PASN_LEANANDMEAN
6932 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MiscellaneousCommand_type_progressiveRefinementStart
), PInvalidCast
);
6934 return *(H245_MiscellaneousCommand_type_progressiveRefinementStart
*)choice
;
6938 H245_MiscellaneousCommand_type::operator const H245_MiscellaneousCommand_type_progressiveRefinementStart
&() const
6941 #ifndef PASN_LEANANDMEAN
6942 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MiscellaneousCommand_type_progressiveRefinementStart
), PInvalidCast
);
6944 return *(H245_MiscellaneousCommand_type_progressiveRefinementStart
*)choice
;
6948 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
6949 H245_MiscellaneousCommand_type::operator H245_MiscellaneousCommand_type_videoBadMBs
&() const
6951 H245_MiscellaneousCommand_type::operator H245_MiscellaneousCommand_type_videoBadMBs
&()
6953 #ifndef PASN_LEANANDMEAN
6954 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MiscellaneousCommand_type_videoBadMBs
), PInvalidCast
);
6956 return *(H245_MiscellaneousCommand_type_videoBadMBs
*)choice
;
6960 H245_MiscellaneousCommand_type::operator const H245_MiscellaneousCommand_type_videoBadMBs
&() const
6963 #ifndef PASN_LEANANDMEAN
6964 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MiscellaneousCommand_type_videoBadMBs
), PInvalidCast
);
6966 return *(H245_MiscellaneousCommand_type_videoBadMBs
*)choice
;
6970 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
6971 H245_MiscellaneousCommand_type::operator H245_ArrayOf_PictureReference
&() const
6973 H245_MiscellaneousCommand_type::operator H245_ArrayOf_PictureReference
&()
6975 #ifndef PASN_LEANANDMEAN
6976 PAssert(PIsDescendant(PAssertNULL(choice
), H245_ArrayOf_PictureReference
), PInvalidCast
);
6978 return *(H245_ArrayOf_PictureReference
*)choice
;
6982 H245_MiscellaneousCommand_type::operator const H245_ArrayOf_PictureReference
&() const
6985 #ifndef PASN_LEANANDMEAN
6986 PAssert(PIsDescendant(PAssertNULL(choice
), H245_ArrayOf_PictureReference
), PInvalidCast
);
6988 return *(H245_ArrayOf_PictureReference
*)choice
;
6992 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
6993 H245_MiscellaneousCommand_type::operator H245_MiscellaneousCommand_type_lostPartialPicture
&() const
6995 H245_MiscellaneousCommand_type::operator H245_MiscellaneousCommand_type_lostPartialPicture
&()
6997 #ifndef PASN_LEANANDMEAN
6998 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MiscellaneousCommand_type_lostPartialPicture
), PInvalidCast
);
7000 return *(H245_MiscellaneousCommand_type_lostPartialPicture
*)choice
;
7004 H245_MiscellaneousCommand_type::operator const H245_MiscellaneousCommand_type_lostPartialPicture
&() const
7007 #ifndef PASN_LEANANDMEAN
7008 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MiscellaneousCommand_type_lostPartialPicture
), PInvalidCast
);
7010 return *(H245_MiscellaneousCommand_type_lostPartialPicture
*)choice
;
7014 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
7015 H245_MiscellaneousCommand_type::operator H245_MiscellaneousCommand_type_encryptionUpdateCommand
&() const
7017 H245_MiscellaneousCommand_type::operator H245_MiscellaneousCommand_type_encryptionUpdateCommand
&()
7019 #ifndef PASN_LEANANDMEAN
7020 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MiscellaneousCommand_type_encryptionUpdateCommand
), PInvalidCast
);
7022 return *(H245_MiscellaneousCommand_type_encryptionUpdateCommand
*)choice
;
7026 H245_MiscellaneousCommand_type::operator const H245_MiscellaneousCommand_type_encryptionUpdateCommand
&() const
7029 #ifndef PASN_LEANANDMEAN
7030 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MiscellaneousCommand_type_encryptionUpdateCommand
), PInvalidCast
);
7032 return *(H245_MiscellaneousCommand_type_encryptionUpdateCommand
*)choice
;
7036 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
7037 H245_MiscellaneousCommand_type::operator H245_MiscellaneousCommand_type_encryptionUpdateAck
&() const
7039 H245_MiscellaneousCommand_type::operator H245_MiscellaneousCommand_type_encryptionUpdateAck
&()
7041 #ifndef PASN_LEANANDMEAN
7042 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MiscellaneousCommand_type_encryptionUpdateAck
), PInvalidCast
);
7044 return *(H245_MiscellaneousCommand_type_encryptionUpdateAck
*)choice
;
7048 H245_MiscellaneousCommand_type::operator const H245_MiscellaneousCommand_type_encryptionUpdateAck
&() const
7051 #ifndef PASN_LEANANDMEAN
7052 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MiscellaneousCommand_type_encryptionUpdateAck
), PInvalidCast
);
7054 return *(H245_MiscellaneousCommand_type_encryptionUpdateAck
*)choice
;
7058 BOOL
H245_MiscellaneousCommand_type::CreateObject()
7061 case e_equaliseDelay
:
7063 case e_multipointModeCommand
:
7064 case e_cancelMultipointModeCommand
:
7065 case e_videoFreezePicture
:
7066 case e_videoFastUpdatePicture
:
7067 case e_videoSendSyncEveryGOB
:
7068 case e_videoSendSyncEveryGOBCancel
:
7069 case e_switchReceiveMediaOff
:
7070 case e_switchReceiveMediaOn
:
7071 case e_progressiveRefinementAbortOne
:
7072 case e_progressiveRefinementAbortContinuous
:
7073 choice
= new PASN_Null();
7075 case e_videoFastUpdateGOB
:
7076 choice
= new H245_MiscellaneousCommand_type_videoFastUpdateGOB();
7078 case e_videoTemporalSpatialTradeOff
:
7079 choice
= new PASN_Integer();
7080 choice
->SetConstraints(PASN_Object::FixedConstraint
, 0, 31);
7082 case e_videoFastUpdateMB
:
7083 choice
= new H245_MiscellaneousCommand_type_videoFastUpdateMB();
7085 case e_maxH223MUXPDUsize
:
7086 choice
= new PASN_Integer();
7087 choice
->SetConstraints(PASN_Object::FixedConstraint
, 1, 65535);
7089 case e_encryptionUpdate
:
7090 choice
= new H245_EncryptionSync();
7092 case e_encryptionUpdateRequest
:
7093 choice
= new H245_EncryptionUpdateRequest();
7095 case e_progressiveRefinementStart
:
7096 choice
= new H245_MiscellaneousCommand_type_progressiveRefinementStart();
7098 case e_videoBadMBs
:
7099 choice
= new H245_MiscellaneousCommand_type_videoBadMBs();
7101 case e_lostPicture
:
7102 case e_recoveryReferencePicture
:
7103 choice
= new H245_ArrayOf_PictureReference();
7105 case e_lostPartialPicture
:
7106 choice
= new H245_MiscellaneousCommand_type_lostPartialPicture();
7108 case e_encryptionUpdateCommand
:
7109 choice
= new H245_MiscellaneousCommand_type_encryptionUpdateCommand();
7111 case e_encryptionUpdateAck
:
7112 choice
= new H245_MiscellaneousCommand_type_encryptionUpdateAck();
7121 PObject
* H245_MiscellaneousCommand_type::Clone() const
7123 #ifndef PASN_LEANANDMEAN
7124 PAssert(IsClass(H245_MiscellaneousCommand_type::Class()), PInvalidCast
);
7126 return new H245_MiscellaneousCommand_type(*this);
7131 #ifndef PASN_NOPRINTON
7132 const static PASN_Names Names_H245_H223MultiplexReconfiguration_h223ModeChange
[]={
7136 ,{"toLevel2withOptionalHeader",3}
7140 // H223MultiplexReconfiguration_h223ModeChange
7143 H245_H223MultiplexReconfiguration_h223ModeChange::H245_H223MultiplexReconfiguration_h223ModeChange(unsigned tag
, PASN_Object::TagClass tagClass
)
7144 : PASN_Choice(tag
, tagClass
, 4, TRUE
7145 #ifndef PASN_NOPRINTON
7146 ,(const PASN_Names
*)Names_H245_H223MultiplexReconfiguration_h223ModeChange
,4
7153 BOOL
H245_H223MultiplexReconfiguration_h223ModeChange::CreateObject()
7155 choice
= (tag
<= e_toLevel2withOptionalHeader
) ? new PASN_Null() : NULL
;
7156 return choice
!= NULL
;
7160 PObject
* H245_H223MultiplexReconfiguration_h223ModeChange::Clone() const
7162 #ifndef PASN_LEANANDMEAN
7163 PAssert(IsClass(H245_H223MultiplexReconfiguration_h223ModeChange::Class()), PInvalidCast
);
7165 return new H245_H223MultiplexReconfiguration_h223ModeChange(*this);
7170 #ifndef PASN_NOPRINTON
7171 const static PASN_Names Names_H245_H223MultiplexReconfiguration_h223AnnexADoubleFlag
[]={
7177 // H223MultiplexReconfiguration_h223AnnexADoubleFlag
7180 H245_H223MultiplexReconfiguration_h223AnnexADoubleFlag::H245_H223MultiplexReconfiguration_h223AnnexADoubleFlag(unsigned tag
, PASN_Object::TagClass tagClass
)
7181 : PASN_Choice(tag
, tagClass
, 2, TRUE
7182 #ifndef PASN_NOPRINTON
7183 ,(const PASN_Names
*)Names_H245_H223MultiplexReconfiguration_h223AnnexADoubleFlag
,2
7190 BOOL
H245_H223MultiplexReconfiguration_h223AnnexADoubleFlag::CreateObject()
7192 choice
= (tag
<= e_stop
) ? new PASN_Null() : NULL
;
7193 return choice
!= NULL
;
7197 PObject
* H245_H223MultiplexReconfiguration_h223AnnexADoubleFlag::Clone() const
7199 #ifndef PASN_LEANANDMEAN
7200 PAssert(IsClass(H245_H223MultiplexReconfiguration_h223AnnexADoubleFlag::Class()), PInvalidCast
);
7202 return new H245_H223MultiplexReconfiguration_h223AnnexADoubleFlag(*this);
7207 #ifndef PASN_NOPRINTON
7208 const static PASN_Names Names_H245_NewATMVCCommand_aal
[]={
7214 // NewATMVCCommand_aal
7217 H245_NewATMVCCommand_aal::H245_NewATMVCCommand_aal(unsigned tag
, PASN_Object::TagClass tagClass
)
7218 : PASN_Choice(tag
, tagClass
, 2, TRUE
7219 #ifndef PASN_NOPRINTON
7220 ,(const PASN_Names
*)Names_H245_NewATMVCCommand_aal
,2
7227 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
7228 H245_NewATMVCCommand_aal::operator H245_NewATMVCCommand_aal_aal1
&() const
7230 H245_NewATMVCCommand_aal::operator H245_NewATMVCCommand_aal_aal1
&()
7232 #ifndef PASN_LEANANDMEAN
7233 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NewATMVCCommand_aal_aal1
), PInvalidCast
);
7235 return *(H245_NewATMVCCommand_aal_aal1
*)choice
;
7239 H245_NewATMVCCommand_aal::operator const H245_NewATMVCCommand_aal_aal1
&() const
7242 #ifndef PASN_LEANANDMEAN
7243 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NewATMVCCommand_aal_aal1
), PInvalidCast
);
7245 return *(H245_NewATMVCCommand_aal_aal1
*)choice
;
7249 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
7250 H245_NewATMVCCommand_aal::operator H245_NewATMVCCommand_aal_aal5
&() const
7252 H245_NewATMVCCommand_aal::operator H245_NewATMVCCommand_aal_aal5
&()
7254 #ifndef PASN_LEANANDMEAN
7255 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NewATMVCCommand_aal_aal5
), PInvalidCast
);
7257 return *(H245_NewATMVCCommand_aal_aal5
*)choice
;
7261 H245_NewATMVCCommand_aal::operator const H245_NewATMVCCommand_aal_aal5
&() const
7264 #ifndef PASN_LEANANDMEAN
7265 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NewATMVCCommand_aal_aal5
), PInvalidCast
);
7267 return *(H245_NewATMVCCommand_aal_aal5
*)choice
;
7271 BOOL
H245_NewATMVCCommand_aal::CreateObject()
7275 choice
= new H245_NewATMVCCommand_aal_aal1();
7278 choice
= new H245_NewATMVCCommand_aal_aal5();
7287 PObject
* H245_NewATMVCCommand_aal::Clone() const
7289 #ifndef PASN_LEANANDMEAN
7290 PAssert(IsClass(H245_NewATMVCCommand_aal::Class()), PInvalidCast
);
7292 return new H245_NewATMVCCommand_aal(*this);
7297 #ifndef PASN_NOPRINTON
7298 const static PASN_Names Names_H245_NewATMVCCommand_multiplex
[]={
7300 ,{"transportStream",1}
7301 ,{"programStream",2}
7305 // NewATMVCCommand_multiplex
7308 H245_NewATMVCCommand_multiplex::H245_NewATMVCCommand_multiplex(unsigned tag
, PASN_Object::TagClass tagClass
)
7309 : PASN_Choice(tag
, tagClass
, 3, TRUE
7310 #ifndef PASN_NOPRINTON
7311 ,(const PASN_Names
*)Names_H245_NewATMVCCommand_multiplex
,3
7318 BOOL
H245_NewATMVCCommand_multiplex::CreateObject()
7320 choice
= (tag
<= e_programStream
) ? new PASN_Null() : NULL
;
7321 return choice
!= NULL
;
7325 PObject
* H245_NewATMVCCommand_multiplex::Clone() const
7327 #ifndef PASN_LEANANDMEAN
7328 PAssert(IsClass(H245_NewATMVCCommand_multiplex::Class()), PInvalidCast
);
7330 return new H245_NewATMVCCommand_multiplex(*this);
7335 #ifndef PASN_NOPRINTON
7336 const static PASN_Names Names_H245_MobileMultilinkReconfigurationCommand_status
[]={
7338 ,{"reconfiguration",1}
7342 // MobileMultilinkReconfigurationCommand_status
7345 H245_MobileMultilinkReconfigurationCommand_status::H245_MobileMultilinkReconfigurationCommand_status(unsigned tag
, PASN_Object::TagClass tagClass
)
7346 : PASN_Choice(tag
, tagClass
, 2, TRUE
7347 #ifndef PASN_NOPRINTON
7348 ,(const PASN_Names
*)Names_H245_MobileMultilinkReconfigurationCommand_status
,2
7355 BOOL
H245_MobileMultilinkReconfigurationCommand_status::CreateObject()
7357 choice
= (tag
<= e_reconfiguration
) ? new PASN_Null() : NULL
;
7358 return choice
!= NULL
;
7362 PObject
* H245_MobileMultilinkReconfigurationCommand_status::Clone() const
7364 #ifndef PASN_LEANANDMEAN
7365 PAssert(IsClass(H245_MobileMultilinkReconfigurationCommand_status::Class()), PInvalidCast
);
7367 return new H245_MobileMultilinkReconfigurationCommand_status(*this);
7372 #ifndef PASN_NOPRINTON
7373 const static PASN_Names Names_H245_FunctionNotSupported_cause
[]={
7375 ,{"semanticError",1}
7376 ,{"unknownFunction",2}
7380 // FunctionNotSupported_cause
7383 H245_FunctionNotSupported_cause::H245_FunctionNotSupported_cause(unsigned tag
, PASN_Object::TagClass tagClass
)
7384 : PASN_Choice(tag
, tagClass
, 3, TRUE
7385 #ifndef PASN_NOPRINTON
7386 ,(const PASN_Names
*)Names_H245_FunctionNotSupported_cause
,3
7393 BOOL
H245_FunctionNotSupported_cause::CreateObject()
7395 choice
= (tag
<= e_unknownFunction
) ? new PASN_Null() : NULL
;
7396 return choice
!= NULL
;
7400 PObject
* H245_FunctionNotSupported_cause::Clone() const
7402 #ifndef PASN_LEANANDMEAN
7403 PAssert(IsClass(H245_FunctionNotSupported_cause::Class()), PInvalidCast
);
7405 return new H245_FunctionNotSupported_cause(*this);
7410 #ifndef PASN_NOPRINTON
7411 const static PASN_Names Names_H245_MiscellaneousIndication_type
[]={
7412 {"logicalChannelActive",0}
7413 ,{"logicalChannelInactive",1}
7414 ,{"multipointConference",2}
7415 ,{"cancelMultipointConference",3}
7416 ,{"multipointZeroComm",4}
7417 ,{"cancelMultipointZeroComm",5}
7418 ,{"multipointSecondaryStatus",6}
7419 ,{"cancelMultipointSecondaryStatus",7}
7420 ,{"videoIndicateReadyToActivate",8}
7421 ,{"videoTemporalSpatialTradeOff",9}
7422 ,{"videoNotDecodedMBs",10}
7423 ,{"transportCapability",11}
7427 // MiscellaneousIndication_type
7430 H245_MiscellaneousIndication_type::H245_MiscellaneousIndication_type(unsigned tag
, PASN_Object::TagClass tagClass
)
7431 : PASN_Choice(tag
, tagClass
, 10, TRUE
7432 #ifndef PASN_NOPRINTON
7433 ,(const PASN_Names
*)Names_H245_MiscellaneousIndication_type
,12
7440 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
7441 H245_MiscellaneousIndication_type::operator H245_MiscellaneousIndication_type_videoNotDecodedMBs
&() const
7443 H245_MiscellaneousIndication_type::operator H245_MiscellaneousIndication_type_videoNotDecodedMBs
&()
7445 #ifndef PASN_LEANANDMEAN
7446 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MiscellaneousIndication_type_videoNotDecodedMBs
), PInvalidCast
);
7448 return *(H245_MiscellaneousIndication_type_videoNotDecodedMBs
*)choice
;
7452 H245_MiscellaneousIndication_type::operator const H245_MiscellaneousIndication_type_videoNotDecodedMBs
&() const
7455 #ifndef PASN_LEANANDMEAN
7456 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MiscellaneousIndication_type_videoNotDecodedMBs
), PInvalidCast
);
7458 return *(H245_MiscellaneousIndication_type_videoNotDecodedMBs
*)choice
;
7462 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
7463 H245_MiscellaneousIndication_type::operator H245_TransportCapability
&() const
7465 H245_MiscellaneousIndication_type::operator H245_TransportCapability
&()
7467 #ifndef PASN_LEANANDMEAN
7468 PAssert(PIsDescendant(PAssertNULL(choice
), H245_TransportCapability
), PInvalidCast
);
7470 return *(H245_TransportCapability
*)choice
;
7474 H245_MiscellaneousIndication_type::operator const H245_TransportCapability
&() const
7477 #ifndef PASN_LEANANDMEAN
7478 PAssert(PIsDescendant(PAssertNULL(choice
), H245_TransportCapability
), PInvalidCast
);
7480 return *(H245_TransportCapability
*)choice
;
7484 BOOL
H245_MiscellaneousIndication_type::CreateObject()
7487 case e_logicalChannelActive
:
7488 case e_logicalChannelInactive
:
7489 case e_multipointConference
:
7490 case e_cancelMultipointConference
:
7491 case e_multipointZeroComm
:
7492 case e_cancelMultipointZeroComm
:
7493 case e_multipointSecondaryStatus
:
7494 case e_cancelMultipointSecondaryStatus
:
7495 case e_videoIndicateReadyToActivate
:
7496 choice
= new PASN_Null();
7498 case e_videoTemporalSpatialTradeOff
:
7499 choice
= new PASN_Integer();
7500 choice
->SetConstraints(PASN_Object::FixedConstraint
, 0, 31);
7502 case e_videoNotDecodedMBs
:
7503 choice
= new H245_MiscellaneousIndication_type_videoNotDecodedMBs();
7505 case e_transportCapability
:
7506 choice
= new H245_TransportCapability();
7515 PObject
* H245_MiscellaneousIndication_type::Clone() const
7517 #ifndef PASN_LEANANDMEAN
7518 PAssert(IsClass(H245_MiscellaneousIndication_type::Class()), PInvalidCast
);
7520 return new H245_MiscellaneousIndication_type(*this);
7525 #ifndef PASN_NOPRINTON
7526 const static PASN_Names Names_H245_JitterIndication_scope
[]={
7527 {"logicalChannelNumber",0}
7529 ,{"wholeMultiplex",2}
7533 // JitterIndication_scope
7536 H245_JitterIndication_scope::H245_JitterIndication_scope(unsigned tag
, PASN_Object::TagClass tagClass
)
7537 : PASN_Choice(tag
, tagClass
, 3, FALSE
7538 #ifndef PASN_NOPRINTON
7539 ,(const PASN_Names
*)Names_H245_JitterIndication_scope
,3
7546 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
7547 H245_JitterIndication_scope::operator H245_LogicalChannelNumber
&() const
7549 H245_JitterIndication_scope::operator H245_LogicalChannelNumber
&()
7551 #ifndef PASN_LEANANDMEAN
7552 PAssert(PIsDescendant(PAssertNULL(choice
), H245_LogicalChannelNumber
), PInvalidCast
);
7554 return *(H245_LogicalChannelNumber
*)choice
;
7558 H245_JitterIndication_scope::operator const H245_LogicalChannelNumber
&() const
7561 #ifndef PASN_LEANANDMEAN
7562 PAssert(PIsDescendant(PAssertNULL(choice
), H245_LogicalChannelNumber
), PInvalidCast
);
7564 return *(H245_LogicalChannelNumber
*)choice
;
7568 BOOL
H245_JitterIndication_scope::CreateObject()
7571 case e_logicalChannelNumber
:
7572 choice
= new H245_LogicalChannelNumber();
7575 choice
= new PASN_Integer();
7576 choice
->SetConstraints(PASN_Object::FixedConstraint
, 0, 65535);
7578 case e_wholeMultiplex
:
7579 choice
= new PASN_Null();
7588 PObject
* H245_JitterIndication_scope::Clone() const
7590 #ifndef PASN_LEANANDMEAN
7591 PAssert(IsClass(H245_JitterIndication_scope::Class()), PInvalidCast
);
7593 return new H245_JitterIndication_scope(*this);
7598 #ifndef PASN_NOPRINTON
7599 const static PASN_Names Names_H245_NewATMVCIndication_aal
[]={
7605 // NewATMVCIndication_aal
7608 H245_NewATMVCIndication_aal::H245_NewATMVCIndication_aal(unsigned tag
, PASN_Object::TagClass tagClass
)
7609 : PASN_Choice(tag
, tagClass
, 2, TRUE
7610 #ifndef PASN_NOPRINTON
7611 ,(const PASN_Names
*)Names_H245_NewATMVCIndication_aal
,2
7618 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
7619 H245_NewATMVCIndication_aal::operator H245_NewATMVCIndication_aal_aal1
&() const
7621 H245_NewATMVCIndication_aal::operator H245_NewATMVCIndication_aal_aal1
&()
7623 #ifndef PASN_LEANANDMEAN
7624 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NewATMVCIndication_aal_aal1
), PInvalidCast
);
7626 return *(H245_NewATMVCIndication_aal_aal1
*)choice
;
7630 H245_NewATMVCIndication_aal::operator const H245_NewATMVCIndication_aal_aal1
&() const
7633 #ifndef PASN_LEANANDMEAN
7634 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NewATMVCIndication_aal_aal1
), PInvalidCast
);
7636 return *(H245_NewATMVCIndication_aal_aal1
*)choice
;
7640 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
7641 H245_NewATMVCIndication_aal::operator H245_NewATMVCIndication_aal_aal5
&() const
7643 H245_NewATMVCIndication_aal::operator H245_NewATMVCIndication_aal_aal5
&()
7645 #ifndef PASN_LEANANDMEAN
7646 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NewATMVCIndication_aal_aal5
), PInvalidCast
);
7648 return *(H245_NewATMVCIndication_aal_aal5
*)choice
;
7652 H245_NewATMVCIndication_aal::operator const H245_NewATMVCIndication_aal_aal5
&() const
7655 #ifndef PASN_LEANANDMEAN
7656 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NewATMVCIndication_aal_aal5
), PInvalidCast
);
7658 return *(H245_NewATMVCIndication_aal_aal5
*)choice
;
7662 BOOL
H245_NewATMVCIndication_aal::CreateObject()
7666 choice
= new H245_NewATMVCIndication_aal_aal1();
7669 choice
= new H245_NewATMVCIndication_aal_aal5();
7678 PObject
* H245_NewATMVCIndication_aal::Clone() const
7680 #ifndef PASN_LEANANDMEAN
7681 PAssert(IsClass(H245_NewATMVCIndication_aal::Class()), PInvalidCast
);
7683 return new H245_NewATMVCIndication_aal(*this);
7688 #ifndef PASN_NOPRINTON
7689 const static PASN_Names Names_H245_NewATMVCIndication_multiplex
[]={
7691 ,{"transportStream",1}
7692 ,{"programStream",2}
7696 // NewATMVCIndication_multiplex
7699 H245_NewATMVCIndication_multiplex::H245_NewATMVCIndication_multiplex(unsigned tag
, PASN_Object::TagClass tagClass
)
7700 : PASN_Choice(tag
, tagClass
, 3, TRUE
7701 #ifndef PASN_NOPRINTON
7702 ,(const PASN_Names
*)Names_H245_NewATMVCIndication_multiplex
,3
7709 BOOL
H245_NewATMVCIndication_multiplex::CreateObject()
7711 choice
= (tag
<= e_programStream
) ? new PASN_Null() : NULL
;
7712 return choice
!= NULL
;
7716 PObject
* H245_NewATMVCIndication_multiplex::Clone() const
7718 #ifndef PASN_LEANANDMEAN
7719 PAssert(IsClass(H245_NewATMVCIndication_multiplex::Class()), PInvalidCast
);
7721 return new H245_NewATMVCIndication_multiplex(*this);
7726 #ifndef PASN_NOPRINTON
7727 const static PASN_Names Names_H245_UserInputIndication_userInputSupportIndication
[]={
7731 ,{"generalString",3}
7732 ,{"encryptedBasicString",4}
7733 ,{"encryptedIA5String",5}
7734 ,{"encryptedGeneralString",6}
7738 // UserInputIndication_userInputSupportIndication
7741 H245_UserInputIndication_userInputSupportIndication::H245_UserInputIndication_userInputSupportIndication(unsigned tag
, PASN_Object::TagClass tagClass
)
7742 : PASN_Choice(tag
, tagClass
, 4, TRUE
7743 #ifndef PASN_NOPRINTON
7744 ,(const PASN_Names
*)Names_H245_UserInputIndication_userInputSupportIndication
,7
7751 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
7752 H245_UserInputIndication_userInputSupportIndication::operator H245_NonStandardParameter
&() const
7754 H245_UserInputIndication_userInputSupportIndication::operator H245_NonStandardParameter
&()
7756 #ifndef PASN_LEANANDMEAN
7757 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NonStandardParameter
), PInvalidCast
);
7759 return *(H245_NonStandardParameter
*)choice
;
7763 H245_UserInputIndication_userInputSupportIndication::operator const H245_NonStandardParameter
&() const
7766 #ifndef PASN_LEANANDMEAN
7767 PAssert(PIsDescendant(PAssertNULL(choice
), H245_NonStandardParameter
), PInvalidCast
);
7769 return *(H245_NonStandardParameter
*)choice
;
7773 BOOL
H245_UserInputIndication_userInputSupportIndication::CreateObject()
7776 case e_nonStandard
:
7777 choice
= new H245_NonStandardParameter();
7779 case e_basicString
:
7781 case e_generalString
:
7782 case e_encryptedBasicString
:
7783 case e_encryptedIA5String
:
7784 case e_encryptedGeneralString
:
7785 choice
= new PASN_Null();
7794 PObject
* H245_UserInputIndication_userInputSupportIndication::Clone() const
7796 #ifndef PASN_LEANANDMEAN
7797 PAssert(IsClass(H245_UserInputIndication_userInputSupportIndication::Class()), PInvalidCast
);
7799 return new H245_UserInputIndication_userInputSupportIndication(*this);
7804 // UserInputIndication_encryptedAlphanumeric
7807 H245_UserInputIndication_encryptedAlphanumeric::H245_UserInputIndication_encryptedAlphanumeric(unsigned tag
, PASN_Object::TagClass tagClass
)
7808 : PASN_Sequence(tag
, tagClass
, 1, TRUE
, 0)
7813 #ifndef PASN_NOPRINTON
7814 void H245_UserInputIndication_encryptedAlphanumeric::PrintOn(ostream
& strm
) const
7816 int indent
= strm
.precision() + 2;
7818 strm
<< setw(indent
+15) << "algorithmOID = " << setprecision(indent
) << m_algorithmOID
<< '\n';
7819 if (HasOptionalField(e_paramS
))
7820 strm
<< setw(indent
+9) << "paramS = " << setprecision(indent
) << m_paramS
<< '\n';
7821 strm
<< setw(indent
+12) << "encrypted = " << setprecision(indent
) << m_encrypted
<< '\n';
7822 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
7827 PObject::Comparison
H245_UserInputIndication_encryptedAlphanumeric::Compare(const PObject
& obj
) const
7829 #ifndef PASN_LEANANDMEAN
7830 PAssert(PIsDescendant(&obj
, H245_UserInputIndication_encryptedAlphanumeric
), PInvalidCast
);
7832 const H245_UserInputIndication_encryptedAlphanumeric
& other
= (const H245_UserInputIndication_encryptedAlphanumeric
&)obj
;
7836 if ((result
= m_algorithmOID
.Compare(other
.m_algorithmOID
)) != EqualTo
)
7838 if ((result
= m_paramS
.Compare(other
.m_paramS
)) != EqualTo
)
7840 if ((result
= m_encrypted
.Compare(other
.m_encrypted
)) != EqualTo
)
7843 return PASN_Sequence::Compare(other
);
7847 PINDEX
H245_UserInputIndication_encryptedAlphanumeric::GetDataLength() const
7850 length
+= m_algorithmOID
.GetObjectLength();
7851 if (HasOptionalField(e_paramS
))
7852 length
+= m_paramS
.GetObjectLength();
7853 length
+= m_encrypted
.GetObjectLength();
7858 BOOL
H245_UserInputIndication_encryptedAlphanumeric::Decode(PASN_Stream
& strm
)
7860 if (!PreambleDecode(strm
))
7863 if (!m_algorithmOID
.Decode(strm
))
7865 if (HasOptionalField(e_paramS
) && !m_paramS
.Decode(strm
))
7867 if (!m_encrypted
.Decode(strm
))
7870 return UnknownExtensionsDecode(strm
);
7874 void H245_UserInputIndication_encryptedAlphanumeric::Encode(PASN_Stream
& strm
) const
7876 PreambleEncode(strm
);
7878 m_algorithmOID
.Encode(strm
);
7879 if (HasOptionalField(e_paramS
))
7880 m_paramS
.Encode(strm
);
7881 m_encrypted
.Encode(strm
);
7883 UnknownExtensionsEncode(strm
);
7887 PObject
* H245_UserInputIndication_encryptedAlphanumeric::Clone() const
7889 #ifndef PASN_LEANANDMEAN
7890 PAssert(IsClass(H245_UserInputIndication_encryptedAlphanumeric::Class()), PInvalidCast
);
7892 return new H245_UserInputIndication_encryptedAlphanumeric(*this);
7897 #ifndef PASN_NOPRINTON
7898 const static PASN_Names Names_H245_FlowControlIndication_scope
[]={
7899 {"logicalChannelNumber",0}
7901 ,{"wholeMultiplex",2}
7905 // FlowControlIndication_scope
7908 H245_FlowControlIndication_scope::H245_FlowControlIndication_scope(unsigned tag
, PASN_Object::TagClass tagClass
)
7909 : PASN_Choice(tag
, tagClass
, 3, FALSE
7910 #ifndef PASN_NOPRINTON
7911 ,(const PASN_Names
*)Names_H245_FlowControlIndication_scope
,3
7918 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
7919 H245_FlowControlIndication_scope::operator H245_LogicalChannelNumber
&() const
7921 H245_FlowControlIndication_scope::operator H245_LogicalChannelNumber
&()
7923 #ifndef PASN_LEANANDMEAN
7924 PAssert(PIsDescendant(PAssertNULL(choice
), H245_LogicalChannelNumber
), PInvalidCast
);
7926 return *(H245_LogicalChannelNumber
*)choice
;
7930 H245_FlowControlIndication_scope::operator const H245_LogicalChannelNumber
&() const
7933 #ifndef PASN_LEANANDMEAN
7934 PAssert(PIsDescendant(PAssertNULL(choice
), H245_LogicalChannelNumber
), PInvalidCast
);
7936 return *(H245_LogicalChannelNumber
*)choice
;
7940 BOOL
H245_FlowControlIndication_scope::CreateObject()
7943 case e_logicalChannelNumber
:
7944 choice
= new H245_LogicalChannelNumber();
7947 choice
= new PASN_Integer();
7948 choice
->SetConstraints(PASN_Object::FixedConstraint
, 0, 65535);
7950 case e_wholeMultiplex
:
7951 choice
= new PASN_Null();
7960 PObject
* H245_FlowControlIndication_scope::Clone() const
7962 #ifndef PASN_LEANANDMEAN
7963 PAssert(IsClass(H245_FlowControlIndication_scope::Class()), PInvalidCast
);
7965 return new H245_FlowControlIndication_scope(*this);
7970 #ifndef PASN_NOPRINTON
7971 const static PASN_Names Names_H245_FlowControlIndication_restriction
[]={
7972 {"maximumBitRate",0}
7973 ,{"noRestriction",1}
7977 // FlowControlIndication_restriction
7980 H245_FlowControlIndication_restriction::H245_FlowControlIndication_restriction(unsigned tag
, PASN_Object::TagClass tagClass
)
7981 : PASN_Choice(tag
, tagClass
, 2, FALSE
7982 #ifndef PASN_NOPRINTON
7983 ,(const PASN_Names
*)Names_H245_FlowControlIndication_restriction
,2
7990 BOOL
H245_FlowControlIndication_restriction::CreateObject()
7993 case e_maximumBitRate
:
7994 choice
= new PASN_Integer();
7995 choice
->SetConstraints(PASN_Object::FixedConstraint
, 0, 16777215);
7997 case e_noRestriction
:
7998 choice
= new PASN_Null();
8007 PObject
* H245_FlowControlIndication_restriction::Clone() const
8009 #ifndef PASN_LEANANDMEAN
8010 PAssert(IsClass(H245_FlowControlIndication_restriction::Class()), PInvalidCast
);
8012 return new H245_FlowControlIndication_restriction(*this);
8017 #ifndef PASN_NOPRINTON
8018 const static PASN_Names Names_H245_TerminalCapabilitySetReject_cause_tableEntryCapacityExceeded
[]={
8019 {"highestEntryNumberProcessed",0}
8020 ,{"noneProcessed",1}
8024 // TerminalCapabilitySetReject_cause_tableEntryCapacityExceeded
8027 H245_TerminalCapabilitySetReject_cause_tableEntryCapacityExceeded::H245_TerminalCapabilitySetReject_cause_tableEntryCapacityExceeded(unsigned tag
, PASN_Object::TagClass tagClass
)
8028 : PASN_Choice(tag
, tagClass
, 2, FALSE
8029 #ifndef PASN_NOPRINTON
8030 ,(const PASN_Names
*)Names_H245_TerminalCapabilitySetReject_cause_tableEntryCapacityExceeded
,2
8037 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
8038 H245_TerminalCapabilitySetReject_cause_tableEntryCapacityExceeded::operator H245_CapabilityTableEntryNumber
&() const
8040 H245_TerminalCapabilitySetReject_cause_tableEntryCapacityExceeded::operator H245_CapabilityTableEntryNumber
&()
8042 #ifndef PASN_LEANANDMEAN
8043 PAssert(PIsDescendant(PAssertNULL(choice
), H245_CapabilityTableEntryNumber
), PInvalidCast
);
8045 return *(H245_CapabilityTableEntryNumber
*)choice
;
8049 H245_TerminalCapabilitySetReject_cause_tableEntryCapacityExceeded::operator const H245_CapabilityTableEntryNumber
&() const
8052 #ifndef PASN_LEANANDMEAN
8053 PAssert(PIsDescendant(PAssertNULL(choice
), H245_CapabilityTableEntryNumber
), PInvalidCast
);
8055 return *(H245_CapabilityTableEntryNumber
*)choice
;
8059 BOOL
H245_TerminalCapabilitySetReject_cause_tableEntryCapacityExceeded::CreateObject()
8062 case e_highestEntryNumberProcessed
:
8063 choice
= new H245_CapabilityTableEntryNumber();
8065 case e_noneProcessed
:
8066 choice
= new PASN_Null();
8075 PObject
* H245_TerminalCapabilitySetReject_cause_tableEntryCapacityExceeded::Clone() const
8077 #ifndef PASN_LEANANDMEAN
8078 PAssert(IsClass(H245_TerminalCapabilitySetReject_cause_tableEntryCapacityExceeded::Class()), PInvalidCast
);
8080 return new H245_TerminalCapabilitySetReject_cause_tableEntryCapacityExceeded(*this);
8085 #ifndef PASN_NOPRINTON
8086 const static PASN_Names Names_H245_VCCapability_availableBitRates_type
[]={
8088 ,{"rangeOfBitRates",1}
8092 // VCCapability_availableBitRates_type
8095 H245_VCCapability_availableBitRates_type::H245_VCCapability_availableBitRates_type(unsigned tag
, PASN_Object::TagClass tagClass
)
8096 : PASN_Choice(tag
, tagClass
, 2, FALSE
8097 #ifndef PASN_NOPRINTON
8098 ,(const PASN_Names
*)Names_H245_VCCapability_availableBitRates_type
,2
8105 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
8106 H245_VCCapability_availableBitRates_type::operator H245_VCCapability_availableBitRates_type_rangeOfBitRates
&() const
8108 H245_VCCapability_availableBitRates_type::operator H245_VCCapability_availableBitRates_type_rangeOfBitRates
&()
8110 #ifndef PASN_LEANANDMEAN
8111 PAssert(PIsDescendant(PAssertNULL(choice
), H245_VCCapability_availableBitRates_type_rangeOfBitRates
), PInvalidCast
);
8113 return *(H245_VCCapability_availableBitRates_type_rangeOfBitRates
*)choice
;
8117 H245_VCCapability_availableBitRates_type::operator const H245_VCCapability_availableBitRates_type_rangeOfBitRates
&() const
8120 #ifndef PASN_LEANANDMEAN
8121 PAssert(PIsDescendant(PAssertNULL(choice
), H245_VCCapability_availableBitRates_type_rangeOfBitRates
), PInvalidCast
);
8123 return *(H245_VCCapability_availableBitRates_type_rangeOfBitRates
*)choice
;
8127 BOOL
H245_VCCapability_availableBitRates_type::CreateObject()
8130 case e_singleBitRate
:
8131 choice
= new PASN_Integer();
8132 choice
->SetConstraints(PASN_Object::FixedConstraint
, 1, 65535);
8134 case e_rangeOfBitRates
:
8135 choice
= new H245_VCCapability_availableBitRates_type_rangeOfBitRates();
8144 PObject
* H245_VCCapability_availableBitRates_type::Clone() const
8146 #ifndef PASN_LEANANDMEAN
8147 PAssert(IsClass(H245_VCCapability_availableBitRates_type::Class()), PInvalidCast
);
8149 return new H245_VCCapability_availableBitRates_type(*this);
8154 // ArrayOf_Q2931Address
8157 H245_ArrayOf_Q2931Address::H245_ArrayOf_Q2931Address(unsigned tag
, PASN_Object::TagClass tagClass
)
8158 : PASN_Array(tag
, tagClass
)
8163 PASN_Object
* H245_ArrayOf_Q2931Address::CreateObject() const
8165 return new H245_Q2931Address
;
8169 H245_Q2931Address
& H245_ArrayOf_Q2931Address::operator[](PINDEX i
) const
8171 return (H245_Q2931Address
&)array
[i
];
8175 PObject
* H245_ArrayOf_Q2931Address::Clone() const
8177 #ifndef PASN_LEANANDMEAN
8178 PAssert(IsClass(H245_ArrayOf_Q2931Address::Class()), PInvalidCast
);
8180 return new H245_ArrayOf_Q2931Address(*this);
8185 // H223Capability_h223MultiplexTableCapability_enhanced
8188 H245_H223Capability_h223MultiplexTableCapability_enhanced::H245_H223Capability_h223MultiplexTableCapability_enhanced(unsigned tag
, PASN_Object::TagClass tagClass
)
8189 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
8191 m_maximumNestingDepth
.SetConstraints(PASN_Object::FixedConstraint
, 1, 15);
8192 m_maximumElementListSize
.SetConstraints(PASN_Object::FixedConstraint
, 2, 255);
8193 m_maximumSubElementListSize
.SetConstraints(PASN_Object::FixedConstraint
, 2, 255);
8197 #ifndef PASN_NOPRINTON
8198 void H245_H223Capability_h223MultiplexTableCapability_enhanced::PrintOn(ostream
& strm
) const
8200 int indent
= strm
.precision() + 2;
8202 strm
<< setw(indent
+22) << "maximumNestingDepth = " << setprecision(indent
) << m_maximumNestingDepth
<< '\n';
8203 strm
<< setw(indent
+25) << "maximumElementListSize = " << setprecision(indent
) << m_maximumElementListSize
<< '\n';
8204 strm
<< setw(indent
+28) << "maximumSubElementListSize = " << setprecision(indent
) << m_maximumSubElementListSize
<< '\n';
8205 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
8210 PObject::Comparison
H245_H223Capability_h223MultiplexTableCapability_enhanced::Compare(const PObject
& obj
) const
8212 #ifndef PASN_LEANANDMEAN
8213 PAssert(PIsDescendant(&obj
, H245_H223Capability_h223MultiplexTableCapability_enhanced
), PInvalidCast
);
8215 const H245_H223Capability_h223MultiplexTableCapability_enhanced
& other
= (const H245_H223Capability_h223MultiplexTableCapability_enhanced
&)obj
;
8219 if ((result
= m_maximumNestingDepth
.Compare(other
.m_maximumNestingDepth
)) != EqualTo
)
8221 if ((result
= m_maximumElementListSize
.Compare(other
.m_maximumElementListSize
)) != EqualTo
)
8223 if ((result
= m_maximumSubElementListSize
.Compare(other
.m_maximumSubElementListSize
)) != EqualTo
)
8226 return PASN_Sequence::Compare(other
);
8230 PINDEX
H245_H223Capability_h223MultiplexTableCapability_enhanced::GetDataLength() const
8233 length
+= m_maximumNestingDepth
.GetObjectLength();
8234 length
+= m_maximumElementListSize
.GetObjectLength();
8235 length
+= m_maximumSubElementListSize
.GetObjectLength();
8240 BOOL
H245_H223Capability_h223MultiplexTableCapability_enhanced::Decode(PASN_Stream
& strm
)
8242 if (!PreambleDecode(strm
))
8245 if (!m_maximumNestingDepth
.Decode(strm
))
8247 if (!m_maximumElementListSize
.Decode(strm
))
8249 if (!m_maximumSubElementListSize
.Decode(strm
))
8252 return UnknownExtensionsDecode(strm
);
8256 void H245_H223Capability_h223MultiplexTableCapability_enhanced::Encode(PASN_Stream
& strm
) const
8258 PreambleEncode(strm
);
8260 m_maximumNestingDepth
.Encode(strm
);
8261 m_maximumElementListSize
.Encode(strm
);
8262 m_maximumSubElementListSize
.Encode(strm
);
8264 UnknownExtensionsEncode(strm
);
8268 PObject
* H245_H223Capability_h223MultiplexTableCapability_enhanced::Clone() const
8270 #ifndef PASN_LEANANDMEAN
8271 PAssert(IsClass(H245_H223Capability_h223MultiplexTableCapability_enhanced::Class()), PInvalidCast
);
8273 return new H245_H223Capability_h223MultiplexTableCapability_enhanced(*this);
8278 // ArrayOf_RTPH263VideoRedundancyFrameMapping
8281 H245_ArrayOf_RTPH263VideoRedundancyFrameMapping::H245_ArrayOf_RTPH263VideoRedundancyFrameMapping(unsigned tag
, PASN_Object::TagClass tagClass
)
8282 : PASN_Array(tag
, tagClass
)
8287 PASN_Object
* H245_ArrayOf_RTPH263VideoRedundancyFrameMapping::CreateObject() const
8289 return new H245_RTPH263VideoRedundancyFrameMapping
;
8293 H245_RTPH263VideoRedundancyFrameMapping
& H245_ArrayOf_RTPH263VideoRedundancyFrameMapping::operator[](PINDEX i
) const
8295 return (H245_RTPH263VideoRedundancyFrameMapping
&)array
[i
];
8299 PObject
* H245_ArrayOf_RTPH263VideoRedundancyFrameMapping::Clone() const
8301 #ifndef PASN_LEANANDMEAN
8302 PAssert(IsClass(H245_ArrayOf_RTPH263VideoRedundancyFrameMapping::Class()), PInvalidCast
);
8304 return new H245_ArrayOf_RTPH263VideoRedundancyFrameMapping(*this);
8309 // RefPictureSelection_enhancedReferencePicSelect_subPictureRemovalParameters
8312 H245_RefPictureSelection_enhancedReferencePicSelect_subPictureRemovalParameters::H245_RefPictureSelection_enhancedReferencePicSelect_subPictureRemovalParameters(unsigned tag
, PASN_Object::TagClass tagClass
)
8313 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
8315 m_mpuHorizMBs
.SetConstraints(PASN_Object::FixedConstraint
, 1, 128);
8316 m_mpuVertMBs
.SetConstraints(PASN_Object::FixedConstraint
, 1, 72);
8317 m_mpuTotalNumber
.SetConstraints(PASN_Object::FixedConstraint
, 1, 65536);
8321 #ifndef PASN_NOPRINTON
8322 void H245_RefPictureSelection_enhancedReferencePicSelect_subPictureRemovalParameters::PrintOn(ostream
& strm
) const
8324 int indent
= strm
.precision() + 2;
8326 strm
<< setw(indent
+14) << "mpuHorizMBs = " << setprecision(indent
) << m_mpuHorizMBs
<< '\n';
8327 strm
<< setw(indent
+13) << "mpuVertMBs = " << setprecision(indent
) << m_mpuVertMBs
<< '\n';
8328 strm
<< setw(indent
+17) << "mpuTotalNumber = " << setprecision(indent
) << m_mpuTotalNumber
<< '\n';
8329 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
8334 PObject::Comparison
H245_RefPictureSelection_enhancedReferencePicSelect_subPictureRemovalParameters::Compare(const PObject
& obj
) const
8336 #ifndef PASN_LEANANDMEAN
8337 PAssert(PIsDescendant(&obj
, H245_RefPictureSelection_enhancedReferencePicSelect_subPictureRemovalParameters
), PInvalidCast
);
8339 const H245_RefPictureSelection_enhancedReferencePicSelect_subPictureRemovalParameters
& other
= (const H245_RefPictureSelection_enhancedReferencePicSelect_subPictureRemovalParameters
&)obj
;
8343 if ((result
= m_mpuHorizMBs
.Compare(other
.m_mpuHorizMBs
)) != EqualTo
)
8345 if ((result
= m_mpuVertMBs
.Compare(other
.m_mpuVertMBs
)) != EqualTo
)
8347 if ((result
= m_mpuTotalNumber
.Compare(other
.m_mpuTotalNumber
)) != EqualTo
)
8350 return PASN_Sequence::Compare(other
);
8354 PINDEX
H245_RefPictureSelection_enhancedReferencePicSelect_subPictureRemovalParameters::GetDataLength() const
8357 length
+= m_mpuHorizMBs
.GetObjectLength();
8358 length
+= m_mpuVertMBs
.GetObjectLength();
8359 length
+= m_mpuTotalNumber
.GetObjectLength();
8364 BOOL
H245_RefPictureSelection_enhancedReferencePicSelect_subPictureRemovalParameters::Decode(PASN_Stream
& strm
)
8366 if (!PreambleDecode(strm
))
8369 if (!m_mpuHorizMBs
.Decode(strm
))
8371 if (!m_mpuVertMBs
.Decode(strm
))
8373 if (!m_mpuTotalNumber
.Decode(strm
))
8376 return UnknownExtensionsDecode(strm
);
8380 void H245_RefPictureSelection_enhancedReferencePicSelect_subPictureRemovalParameters::Encode(PASN_Stream
& strm
) const
8382 PreambleEncode(strm
);
8384 m_mpuHorizMBs
.Encode(strm
);
8385 m_mpuVertMBs
.Encode(strm
);
8386 m_mpuTotalNumber
.Encode(strm
);
8388 UnknownExtensionsEncode(strm
);
8392 PObject
* H245_RefPictureSelection_enhancedReferencePicSelect_subPictureRemovalParameters::Clone() const
8394 #ifndef PASN_LEANANDMEAN
8395 PAssert(IsClass(H245_RefPictureSelection_enhancedReferencePicSelect_subPictureRemovalParameters::Class()), PInvalidCast
);
8397 return new H245_RefPictureSelection_enhancedReferencePicSelect_subPictureRemovalParameters(*this);
8402 // CustomPictureFormat_mPI_customPCF
8405 H245_CustomPictureFormat_mPI_customPCF::H245_CustomPictureFormat_mPI_customPCF(unsigned tag
, PASN_Object::TagClass tagClass
)
8406 : PASN_Array(tag
, tagClass
)
8408 SetConstraints(PASN_Object::FixedConstraint
, 1, 16);
8412 PASN_Object
* H245_CustomPictureFormat_mPI_customPCF::CreateObject() const
8414 return new H245_CustomPictureFormat_mPI_customPCF_subtype
;
8418 H245_CustomPictureFormat_mPI_customPCF_subtype
& H245_CustomPictureFormat_mPI_customPCF::operator[](PINDEX i
) const
8420 return (H245_CustomPictureFormat_mPI_customPCF_subtype
&)array
[i
];
8424 PObject
* H245_CustomPictureFormat_mPI_customPCF::Clone() const
8426 #ifndef PASN_LEANANDMEAN
8427 PAssert(IsClass(H245_CustomPictureFormat_mPI_customPCF::Class()), PInvalidCast
);
8429 return new H245_CustomPictureFormat_mPI_customPCF(*this);
8434 // CustomPictureFormat_pixelAspectInformation_pixelAspectCode
8437 H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode::H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode(unsigned tag
, PASN_Object::TagClass tagClass
)
8438 : PASN_Array(tag
, tagClass
)
8440 SetConstraints(PASN_Object::FixedConstraint
, 1, 14);
8444 PASN_Object
* H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode::CreateObject() const
8446 PASN_Integer
* obj
= new PASN_Integer
;
8447 obj
->SetConstraints(PASN_Object::FixedConstraint
, 1, 14);
8452 PASN_Integer
& H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode::operator[](PINDEX i
) const
8454 return (PASN_Integer
&)array
[i
];
8458 PObject
* H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode::Clone() const
8460 #ifndef PASN_LEANANDMEAN
8461 PAssert(IsClass(H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode::Class()), PInvalidCast
);
8463 return new H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode(*this);
8468 // CustomPictureFormat_pixelAspectInformation_extendedPAR
8471 H245_CustomPictureFormat_pixelAspectInformation_extendedPAR::H245_CustomPictureFormat_pixelAspectInformation_extendedPAR(unsigned tag
, PASN_Object::TagClass tagClass
)
8472 : PASN_Array(tag
, tagClass
)
8474 SetConstraints(PASN_Object::FixedConstraint
, 1, 256);
8478 PASN_Object
* H245_CustomPictureFormat_pixelAspectInformation_extendedPAR::CreateObject() const
8480 return new H245_CustomPictureFormat_pixelAspectInformation_extendedPAR_subtype
;
8484 H245_CustomPictureFormat_pixelAspectInformation_extendedPAR_subtype
& H245_CustomPictureFormat_pixelAspectInformation_extendedPAR::operator[](PINDEX i
) const
8486 return (H245_CustomPictureFormat_pixelAspectInformation_extendedPAR_subtype
&)array
[i
];
8490 PObject
* H245_CustomPictureFormat_pixelAspectInformation_extendedPAR::Clone() const
8492 #ifndef PASN_LEANANDMEAN
8493 PAssert(IsClass(H245_CustomPictureFormat_pixelAspectInformation_extendedPAR::Class()), PInvalidCast
);
8495 return new H245_CustomPictureFormat_pixelAspectInformation_extendedPAR(*this);
8500 // DataApplicationCapability_application_t84
8503 H245_DataApplicationCapability_application_t84::H245_DataApplicationCapability_application_t84(unsigned tag
, PASN_Object::TagClass tagClass
)
8504 : PASN_Sequence(tag
, tagClass
, 0, FALSE
, 0)
8509 #ifndef PASN_NOPRINTON
8510 void H245_DataApplicationCapability_application_t84::PrintOn(ostream
& strm
) const
8512 int indent
= strm
.precision() + 2;
8514 strm
<< setw(indent
+14) << "t84Protocol = " << setprecision(indent
) << m_t84Protocol
<< '\n';
8515 strm
<< setw(indent
+13) << "t84Profile = " << setprecision(indent
) << m_t84Profile
<< '\n';
8516 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
8521 PObject::Comparison
H245_DataApplicationCapability_application_t84::Compare(const PObject
& obj
) const
8523 #ifndef PASN_LEANANDMEAN
8524 PAssert(PIsDescendant(&obj
, H245_DataApplicationCapability_application_t84
), PInvalidCast
);
8526 const H245_DataApplicationCapability_application_t84
& other
= (const H245_DataApplicationCapability_application_t84
&)obj
;
8530 if ((result
= m_t84Protocol
.Compare(other
.m_t84Protocol
)) != EqualTo
)
8532 if ((result
= m_t84Profile
.Compare(other
.m_t84Profile
)) != EqualTo
)
8535 return PASN_Sequence::Compare(other
);
8539 PINDEX
H245_DataApplicationCapability_application_t84::GetDataLength() const
8542 length
+= m_t84Protocol
.GetObjectLength();
8543 length
+= m_t84Profile
.GetObjectLength();
8548 BOOL
H245_DataApplicationCapability_application_t84::Decode(PASN_Stream
& strm
)
8550 if (!PreambleDecode(strm
))
8553 if (!m_t84Protocol
.Decode(strm
))
8555 if (!m_t84Profile
.Decode(strm
))
8558 return UnknownExtensionsDecode(strm
);
8562 void H245_DataApplicationCapability_application_t84::Encode(PASN_Stream
& strm
) const
8564 PreambleEncode(strm
);
8566 m_t84Protocol
.Encode(strm
);
8567 m_t84Profile
.Encode(strm
);
8569 UnknownExtensionsEncode(strm
);
8573 PObject
* H245_DataApplicationCapability_application_t84::Clone() const
8575 #ifndef PASN_LEANANDMEAN
8576 PAssert(IsClass(H245_DataApplicationCapability_application_t84::Class()), PInvalidCast
);
8578 return new H245_DataApplicationCapability_application_t84(*this);
8583 // DataApplicationCapability_application_nlpid
8586 H245_DataApplicationCapability_application_nlpid::H245_DataApplicationCapability_application_nlpid(unsigned tag
, PASN_Object::TagClass tagClass
)
8587 : PASN_Sequence(tag
, tagClass
, 0, FALSE
, 0)
8592 #ifndef PASN_NOPRINTON
8593 void H245_DataApplicationCapability_application_nlpid::PrintOn(ostream
& strm
) const
8595 int indent
= strm
.precision() + 2;
8597 strm
<< setw(indent
+16) << "nlpidProtocol = " << setprecision(indent
) << m_nlpidProtocol
<< '\n';
8598 strm
<< setw(indent
+12) << "nlpidData = " << setprecision(indent
) << m_nlpidData
<< '\n';
8599 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
8604 PObject::Comparison
H245_DataApplicationCapability_application_nlpid::Compare(const PObject
& obj
) const
8606 #ifndef PASN_LEANANDMEAN
8607 PAssert(PIsDescendant(&obj
, H245_DataApplicationCapability_application_nlpid
), PInvalidCast
);
8609 const H245_DataApplicationCapability_application_nlpid
& other
= (const H245_DataApplicationCapability_application_nlpid
&)obj
;
8613 if ((result
= m_nlpidProtocol
.Compare(other
.m_nlpidProtocol
)) != EqualTo
)
8615 if ((result
= m_nlpidData
.Compare(other
.m_nlpidData
)) != EqualTo
)
8618 return PASN_Sequence::Compare(other
);
8622 PINDEX
H245_DataApplicationCapability_application_nlpid::GetDataLength() const
8625 length
+= m_nlpidProtocol
.GetObjectLength();
8626 length
+= m_nlpidData
.GetObjectLength();
8631 BOOL
H245_DataApplicationCapability_application_nlpid::Decode(PASN_Stream
& strm
)
8633 if (!PreambleDecode(strm
))
8636 if (!m_nlpidProtocol
.Decode(strm
))
8638 if (!m_nlpidData
.Decode(strm
))
8641 return UnknownExtensionsDecode(strm
);
8645 void H245_DataApplicationCapability_application_nlpid::Encode(PASN_Stream
& strm
) const
8647 PreambleEncode(strm
);
8649 m_nlpidProtocol
.Encode(strm
);
8650 m_nlpidData
.Encode(strm
);
8652 UnknownExtensionsEncode(strm
);
8656 PObject
* H245_DataApplicationCapability_application_nlpid::Clone() const
8658 #ifndef PASN_LEANANDMEAN
8659 PAssert(IsClass(H245_DataApplicationCapability_application_nlpid::Class()), PInvalidCast
);
8661 return new H245_DataApplicationCapability_application_nlpid(*this);
8666 // DepFECCapability_rfc2733_separateStream
8669 H245_DepFECCapability_rfc2733_separateStream::H245_DepFECCapability_rfc2733_separateStream(unsigned tag
, PASN_Object::TagClass tagClass
)
8670 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
8675 #ifndef PASN_NOPRINTON
8676 void H245_DepFECCapability_rfc2733_separateStream::PrintOn(ostream
& strm
) const
8678 int indent
= strm
.precision() + 2;
8680 strm
<< setw(indent
+15) << "separatePort = " << setprecision(indent
) << m_separatePort
<< '\n';
8681 strm
<< setw(indent
+11) << "samePort = " << setprecision(indent
) << m_samePort
<< '\n';
8682 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
8687 PObject::Comparison
H245_DepFECCapability_rfc2733_separateStream::Compare(const PObject
& obj
) const
8689 #ifndef PASN_LEANANDMEAN
8690 PAssert(PIsDescendant(&obj
, H245_DepFECCapability_rfc2733_separateStream
), PInvalidCast
);
8692 const H245_DepFECCapability_rfc2733_separateStream
& other
= (const H245_DepFECCapability_rfc2733_separateStream
&)obj
;
8696 if ((result
= m_separatePort
.Compare(other
.m_separatePort
)) != EqualTo
)
8698 if ((result
= m_samePort
.Compare(other
.m_samePort
)) != EqualTo
)
8701 return PASN_Sequence::Compare(other
);
8705 PINDEX
H245_DepFECCapability_rfc2733_separateStream::GetDataLength() const
8708 length
+= m_separatePort
.GetObjectLength();
8709 length
+= m_samePort
.GetObjectLength();
8714 BOOL
H245_DepFECCapability_rfc2733_separateStream::Decode(PASN_Stream
& strm
)
8716 if (!PreambleDecode(strm
))
8719 if (!m_separatePort
.Decode(strm
))
8721 if (!m_samePort
.Decode(strm
))
8724 return UnknownExtensionsDecode(strm
);
8728 void H245_DepFECCapability_rfc2733_separateStream::Encode(PASN_Stream
& strm
) const
8730 PreambleEncode(strm
);
8732 m_separatePort
.Encode(strm
);
8733 m_samePort
.Encode(strm
);
8735 UnknownExtensionsEncode(strm
);
8739 PObject
* H245_DepFECCapability_rfc2733_separateStream::Clone() const
8741 #ifndef PASN_LEANANDMEAN
8742 PAssert(IsClass(H245_DepFECCapability_rfc2733_separateStream::Class()), PInvalidCast
);
8744 return new H245_DepFECCapability_rfc2733_separateStream(*this);
8749 #ifndef PASN_NOPRINTON
8750 const static PASN_Names Names_H245_OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters
[]={
8751 {"h222LogicalChannelParameters",0}
8752 ,{"h223LogicalChannelParameters",1}
8753 ,{"v76LogicalChannelParameters",2}
8754 ,{"h2250LogicalChannelParameters",3}
8759 // OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters
8762 H245_OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters::H245_OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters(unsigned tag
, PASN_Object::TagClass tagClass
)
8763 : PASN_Choice(tag
, tagClass
, 3, TRUE
8764 #ifndef PASN_NOPRINTON
8765 ,(const PASN_Names
*)Names_H245_OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters
,5
8772 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
8773 H245_OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters::operator H245_H222LogicalChannelParameters
&() const
8775 H245_OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters::operator H245_H222LogicalChannelParameters
&()
8777 #ifndef PASN_LEANANDMEAN
8778 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H222LogicalChannelParameters
), PInvalidCast
);
8780 return *(H245_H222LogicalChannelParameters
*)choice
;
8784 H245_OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters::operator const H245_H222LogicalChannelParameters
&() const
8787 #ifndef PASN_LEANANDMEAN
8788 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H222LogicalChannelParameters
), PInvalidCast
);
8790 return *(H245_H222LogicalChannelParameters
*)choice
;
8794 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
8795 H245_OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters::operator H245_H223LogicalChannelParameters
&() const
8797 H245_OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters::operator H245_H223LogicalChannelParameters
&()
8799 #ifndef PASN_LEANANDMEAN
8800 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223LogicalChannelParameters
), PInvalidCast
);
8802 return *(H245_H223LogicalChannelParameters
*)choice
;
8806 H245_OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters::operator const H245_H223LogicalChannelParameters
&() const
8809 #ifndef PASN_LEANANDMEAN
8810 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223LogicalChannelParameters
), PInvalidCast
);
8812 return *(H245_H223LogicalChannelParameters
*)choice
;
8816 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
8817 H245_OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters::operator H245_V76LogicalChannelParameters
&() const
8819 H245_OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters::operator H245_V76LogicalChannelParameters
&()
8821 #ifndef PASN_LEANANDMEAN
8822 PAssert(PIsDescendant(PAssertNULL(choice
), H245_V76LogicalChannelParameters
), PInvalidCast
);
8824 return *(H245_V76LogicalChannelParameters
*)choice
;
8828 H245_OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters::operator const H245_V76LogicalChannelParameters
&() const
8831 #ifndef PASN_LEANANDMEAN
8832 PAssert(PIsDescendant(PAssertNULL(choice
), H245_V76LogicalChannelParameters
), PInvalidCast
);
8834 return *(H245_V76LogicalChannelParameters
*)choice
;
8838 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
8839 H245_OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters::operator H245_H2250LogicalChannelParameters
&() const
8841 H245_OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters::operator H245_H2250LogicalChannelParameters
&()
8843 #ifndef PASN_LEANANDMEAN
8844 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H2250LogicalChannelParameters
), PInvalidCast
);
8846 return *(H245_H2250LogicalChannelParameters
*)choice
;
8850 H245_OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters::operator const H245_H2250LogicalChannelParameters
&() const
8853 #ifndef PASN_LEANANDMEAN
8854 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H2250LogicalChannelParameters
), PInvalidCast
);
8856 return *(H245_H2250LogicalChannelParameters
*)choice
;
8860 BOOL
H245_OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters::CreateObject()
8863 case e_h222LogicalChannelParameters
:
8864 choice
= new H245_H222LogicalChannelParameters();
8866 case e_h223LogicalChannelParameters
:
8867 choice
= new H245_H223LogicalChannelParameters();
8869 case e_v76LogicalChannelParameters
:
8870 choice
= new H245_V76LogicalChannelParameters();
8872 case e_h2250LogicalChannelParameters
:
8873 choice
= new H245_H2250LogicalChannelParameters();
8876 choice
= new PASN_Null();
8885 PObject
* H245_OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters::Clone() const
8887 #ifndef PASN_LEANANDMEAN
8888 PAssert(IsClass(H245_OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters::Class()), PInvalidCast
);
8890 return new H245_OpenLogicalChannel_forwardLogicalChannelParameters_multiplexParameters(*this);
8895 #ifndef PASN_NOPRINTON
8896 const static PASN_Names Names_H245_OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters
[]={
8897 {"h223LogicalChannelParameters",0}
8898 ,{"v76LogicalChannelParameters",1}
8899 ,{"h2250LogicalChannelParameters",2}
8903 // OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters
8906 H245_OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters::H245_OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters(unsigned tag
, PASN_Object::TagClass tagClass
)
8907 : PASN_Choice(tag
, tagClass
, 2, TRUE
8908 #ifndef PASN_NOPRINTON
8909 ,(const PASN_Names
*)Names_H245_OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters
,3
8916 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
8917 H245_OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters::operator H245_H223LogicalChannelParameters
&() const
8919 H245_OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters::operator H245_H223LogicalChannelParameters
&()
8921 #ifndef PASN_LEANANDMEAN
8922 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223LogicalChannelParameters
), PInvalidCast
);
8924 return *(H245_H223LogicalChannelParameters
*)choice
;
8928 H245_OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters::operator const H245_H223LogicalChannelParameters
&() const
8931 #ifndef PASN_LEANANDMEAN
8932 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H223LogicalChannelParameters
), PInvalidCast
);
8934 return *(H245_H223LogicalChannelParameters
*)choice
;
8938 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
8939 H245_OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters::operator H245_V76LogicalChannelParameters
&() const
8941 H245_OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters::operator H245_V76LogicalChannelParameters
&()
8943 #ifndef PASN_LEANANDMEAN
8944 PAssert(PIsDescendant(PAssertNULL(choice
), H245_V76LogicalChannelParameters
), PInvalidCast
);
8946 return *(H245_V76LogicalChannelParameters
*)choice
;
8950 H245_OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters::operator const H245_V76LogicalChannelParameters
&() const
8953 #ifndef PASN_LEANANDMEAN
8954 PAssert(PIsDescendant(PAssertNULL(choice
), H245_V76LogicalChannelParameters
), PInvalidCast
);
8956 return *(H245_V76LogicalChannelParameters
*)choice
;
8960 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
8961 H245_OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters::operator H245_H2250LogicalChannelParameters
&() const
8963 H245_OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters::operator H245_H2250LogicalChannelParameters
&()
8965 #ifndef PASN_LEANANDMEAN
8966 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H2250LogicalChannelParameters
), PInvalidCast
);
8968 return *(H245_H2250LogicalChannelParameters
*)choice
;
8972 H245_OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters::operator const H245_H2250LogicalChannelParameters
&() const
8975 #ifndef PASN_LEANANDMEAN
8976 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H2250LogicalChannelParameters
), PInvalidCast
);
8978 return *(H245_H2250LogicalChannelParameters
*)choice
;
8982 BOOL
H245_OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters::CreateObject()
8985 case e_h223LogicalChannelParameters
:
8986 choice
= new H245_H223LogicalChannelParameters();
8988 case e_v76LogicalChannelParameters
:
8989 choice
= new H245_V76LogicalChannelParameters();
8991 case e_h2250LogicalChannelParameters
:
8992 choice
= new H245_H2250LogicalChannelParameters();
9001 PObject
* H245_OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters::Clone() const
9003 #ifndef PASN_LEANANDMEAN
9004 PAssert(IsClass(H245_OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters::Class()), PInvalidCast
);
9006 return new H245_OpenLogicalChannel_reverseLogicalChannelParameters_multiplexParameters(*this);
9011 // H223LogicalChannelParameters_adaptationLayerType_al3
9014 H245_H223LogicalChannelParameters_adaptationLayerType_al3::H245_H223LogicalChannelParameters_adaptationLayerType_al3(unsigned tag
, PASN_Object::TagClass tagClass
)
9015 : PASN_Sequence(tag
, tagClass
, 0, FALSE
, 0)
9017 m_controlFieldOctets
.SetConstraints(PASN_Object::FixedConstraint
, 0, 2);
9018 m_sendBufferSize
.SetConstraints(PASN_Object::FixedConstraint
, 0, 16777215);
9022 #ifndef PASN_NOPRINTON
9023 void H245_H223LogicalChannelParameters_adaptationLayerType_al3::PrintOn(ostream
& strm
) const
9025 int indent
= strm
.precision() + 2;
9027 strm
<< setw(indent
+21) << "controlFieldOctets = " << setprecision(indent
) << m_controlFieldOctets
<< '\n';
9028 strm
<< setw(indent
+17) << "sendBufferSize = " << setprecision(indent
) << m_sendBufferSize
<< '\n';
9029 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
9034 PObject::Comparison
H245_H223LogicalChannelParameters_adaptationLayerType_al3::Compare(const PObject
& obj
) const
9036 #ifndef PASN_LEANANDMEAN
9037 PAssert(PIsDescendant(&obj
, H245_H223LogicalChannelParameters_adaptationLayerType_al3
), PInvalidCast
);
9039 const H245_H223LogicalChannelParameters_adaptationLayerType_al3
& other
= (const H245_H223LogicalChannelParameters_adaptationLayerType_al3
&)obj
;
9043 if ((result
= m_controlFieldOctets
.Compare(other
.m_controlFieldOctets
)) != EqualTo
)
9045 if ((result
= m_sendBufferSize
.Compare(other
.m_sendBufferSize
)) != EqualTo
)
9048 return PASN_Sequence::Compare(other
);
9052 PINDEX
H245_H223LogicalChannelParameters_adaptationLayerType_al3::GetDataLength() const
9055 length
+= m_controlFieldOctets
.GetObjectLength();
9056 length
+= m_sendBufferSize
.GetObjectLength();
9061 BOOL
H245_H223LogicalChannelParameters_adaptationLayerType_al3::Decode(PASN_Stream
& strm
)
9063 if (!PreambleDecode(strm
))
9066 if (!m_controlFieldOctets
.Decode(strm
))
9068 if (!m_sendBufferSize
.Decode(strm
))
9071 return UnknownExtensionsDecode(strm
);
9075 void H245_H223LogicalChannelParameters_adaptationLayerType_al3::Encode(PASN_Stream
& strm
) const
9077 PreambleEncode(strm
);
9079 m_controlFieldOctets
.Encode(strm
);
9080 m_sendBufferSize
.Encode(strm
);
9082 UnknownExtensionsEncode(strm
);
9086 PObject
* H245_H223LogicalChannelParameters_adaptationLayerType_al3::Clone() const
9088 #ifndef PASN_LEANANDMEAN
9089 PAssert(IsClass(H245_H223LogicalChannelParameters_adaptationLayerType_al3::Class()), PInvalidCast
);
9091 return new H245_H223LogicalChannelParameters_adaptationLayerType_al3(*this);
9096 // ArrayOf_RedundancyEncodingElement
9099 H245_ArrayOf_RedundancyEncodingElement::H245_ArrayOf_RedundancyEncodingElement(unsigned tag
, PASN_Object::TagClass tagClass
)
9100 : PASN_Array(tag
, tagClass
)
9105 PASN_Object
* H245_ArrayOf_RedundancyEncodingElement::CreateObject() const
9107 return new H245_RedundancyEncodingElement
;
9111 H245_RedundancyEncodingElement
& H245_ArrayOf_RedundancyEncodingElement::operator[](PINDEX i
) const
9113 return (H245_RedundancyEncodingElement
&)array
[i
];
9117 PObject
* H245_ArrayOf_RedundancyEncodingElement::Clone() const
9119 #ifndef PASN_LEANANDMEAN
9120 PAssert(IsClass(H245_ArrayOf_RedundancyEncodingElement::Class()), PInvalidCast
);
9122 return new H245_ArrayOf_RedundancyEncodingElement(*this);
9127 #ifndef PASN_NOPRINTON
9128 const static PASN_Names Names_H245_DepFECData_rfc2733_mode
[]={
9129 {"redundancyEncoding",0}
9130 ,{"separateStream",1}
9134 // DepFECData_rfc2733_mode
9137 H245_DepFECData_rfc2733_mode::H245_DepFECData_rfc2733_mode(unsigned tag
, PASN_Object::TagClass tagClass
)
9138 : PASN_Choice(tag
, tagClass
, 2, TRUE
9139 #ifndef PASN_NOPRINTON
9140 ,(const PASN_Names
*)Names_H245_DepFECData_rfc2733_mode
,2
9147 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
9148 H245_DepFECData_rfc2733_mode::operator H245_DepFECData_rfc2733_mode_separateStream
&() const
9150 H245_DepFECData_rfc2733_mode::operator H245_DepFECData_rfc2733_mode_separateStream
&()
9152 #ifndef PASN_LEANANDMEAN
9153 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DepFECData_rfc2733_mode_separateStream
), PInvalidCast
);
9155 return *(H245_DepFECData_rfc2733_mode_separateStream
*)choice
;
9159 H245_DepFECData_rfc2733_mode::operator const H245_DepFECData_rfc2733_mode_separateStream
&() const
9162 #ifndef PASN_LEANANDMEAN
9163 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DepFECData_rfc2733_mode_separateStream
), PInvalidCast
);
9165 return *(H245_DepFECData_rfc2733_mode_separateStream
*)choice
;
9169 BOOL
H245_DepFECData_rfc2733_mode::CreateObject()
9172 case e_redundancyEncoding
:
9173 choice
= new PASN_Null();
9175 case e_separateStream
:
9176 choice
= new H245_DepFECData_rfc2733_mode_separateStream();
9185 PObject
* H245_DepFECData_rfc2733_mode::Clone() const
9187 #ifndef PASN_LEANANDMEAN
9188 PAssert(IsClass(H245_DepFECData_rfc2733_mode::Class()), PInvalidCast
);
9190 return new H245_DepFECData_rfc2733_mode(*this);
9195 #ifndef PASN_NOPRINTON
9196 const static PASN_Names Names_H245_FECData_rfc2733_pktMode
[]={
9198 ,{"rfc2733sameport",1}
9199 ,{"rfc2733diffport",2}
9203 // FECData_rfc2733_pktMode
9206 H245_FECData_rfc2733_pktMode::H245_FECData_rfc2733_pktMode(unsigned tag
, PASN_Object::TagClass tagClass
)
9207 : PASN_Choice(tag
, tagClass
, 3, TRUE
9208 #ifndef PASN_NOPRINTON
9209 ,(const PASN_Names
*)Names_H245_FECData_rfc2733_pktMode
,3
9216 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
9217 H245_FECData_rfc2733_pktMode::operator H245_FECData_rfc2733_pktMode_rfc2733sameport
&() const
9219 H245_FECData_rfc2733_pktMode::operator H245_FECData_rfc2733_pktMode_rfc2733sameport
&()
9221 #ifndef PASN_LEANANDMEAN
9222 PAssert(PIsDescendant(PAssertNULL(choice
), H245_FECData_rfc2733_pktMode_rfc2733sameport
), PInvalidCast
);
9224 return *(H245_FECData_rfc2733_pktMode_rfc2733sameport
*)choice
;
9228 H245_FECData_rfc2733_pktMode::operator const H245_FECData_rfc2733_pktMode_rfc2733sameport
&() const
9231 #ifndef PASN_LEANANDMEAN
9232 PAssert(PIsDescendant(PAssertNULL(choice
), H245_FECData_rfc2733_pktMode_rfc2733sameport
), PInvalidCast
);
9234 return *(H245_FECData_rfc2733_pktMode_rfc2733sameport
*)choice
;
9238 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
9239 H245_FECData_rfc2733_pktMode::operator H245_FECData_rfc2733_pktMode_rfc2733diffport
&() const
9241 H245_FECData_rfc2733_pktMode::operator H245_FECData_rfc2733_pktMode_rfc2733diffport
&()
9243 #ifndef PASN_LEANANDMEAN
9244 PAssert(PIsDescendant(PAssertNULL(choice
), H245_FECData_rfc2733_pktMode_rfc2733diffport
), PInvalidCast
);
9246 return *(H245_FECData_rfc2733_pktMode_rfc2733diffport
*)choice
;
9250 H245_FECData_rfc2733_pktMode::operator const H245_FECData_rfc2733_pktMode_rfc2733diffport
&() const
9253 #ifndef PASN_LEANANDMEAN
9254 PAssert(PIsDescendant(PAssertNULL(choice
), H245_FECData_rfc2733_pktMode_rfc2733diffport
), PInvalidCast
);
9256 return *(H245_FECData_rfc2733_pktMode_rfc2733diffport
*)choice
;
9260 BOOL
H245_FECData_rfc2733_pktMode::CreateObject()
9263 case e_rfc2198coding
:
9264 choice
= new PASN_Null();
9266 case e_rfc2733sameport
:
9267 choice
= new H245_FECData_rfc2733_pktMode_rfc2733sameport();
9269 case e_rfc2733diffport
:
9270 choice
= new H245_FECData_rfc2733_pktMode_rfc2733diffport();
9279 PObject
* H245_FECData_rfc2733_pktMode::Clone() const
9281 #ifndef PASN_LEANANDMEAN
9282 PAssert(IsClass(H245_FECData_rfc2733_pktMode::Class()), PInvalidCast
);
9284 return new H245_FECData_rfc2733_pktMode(*this);
9289 #ifndef PASN_NOPRINTON
9290 const static PASN_Names Names_H245_UnicastAddress_iPSourceRouteAddress_routing
[]={
9296 // UnicastAddress_iPSourceRouteAddress_routing
9299 H245_UnicastAddress_iPSourceRouteAddress_routing::H245_UnicastAddress_iPSourceRouteAddress_routing(unsigned tag
, PASN_Object::TagClass tagClass
)
9300 : PASN_Choice(tag
, tagClass
, 2, FALSE
9301 #ifndef PASN_NOPRINTON
9302 ,(const PASN_Names
*)Names_H245_UnicastAddress_iPSourceRouteAddress_routing
,2
9309 BOOL
H245_UnicastAddress_iPSourceRouteAddress_routing::CreateObject()
9311 choice
= (tag
<= e_loose
) ? new PASN_Null() : NULL
;
9312 return choice
!= NULL
;
9316 PObject
* H245_UnicastAddress_iPSourceRouteAddress_routing::Clone() const
9318 #ifndef PASN_LEANANDMEAN
9319 PAssert(IsClass(H245_UnicastAddress_iPSourceRouteAddress_routing::Class()), PInvalidCast
);
9321 return new H245_UnicastAddress_iPSourceRouteAddress_routing(*this);
9326 // UnicastAddress_iPSourceRouteAddress_route
9329 H245_UnicastAddress_iPSourceRouteAddress_route::H245_UnicastAddress_iPSourceRouteAddress_route(unsigned tag
, PASN_Object::TagClass tagClass
)
9330 : PASN_Array(tag
, tagClass
)
9335 PASN_Object
* H245_UnicastAddress_iPSourceRouteAddress_route::CreateObject() const
9337 PASN_OctetString
* obj
= new PASN_OctetString
;
9338 obj
->SetConstraints(PASN_Object::FixedConstraint
, 4);
9343 PASN_OctetString
& H245_UnicastAddress_iPSourceRouteAddress_route::operator[](PINDEX i
) const
9345 return (PASN_OctetString
&)array
[i
];
9349 PObject
* H245_UnicastAddress_iPSourceRouteAddress_route::Clone() const
9351 #ifndef PASN_LEANANDMEAN
9352 PAssert(IsClass(H245_UnicastAddress_iPSourceRouteAddress_route::Class()), PInvalidCast
);
9354 return new H245_UnicastAddress_iPSourceRouteAddress_route(*this);
9359 #ifndef PASN_NOPRINTON
9360 const static PASN_Names Names_H245_OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters
[]={
9361 {"h222LogicalChannelParameters",0}
9362 ,{"h2250LogicalChannelParameters",1}
9366 // OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters
9369 H245_OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters::H245_OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters(unsigned tag
, PASN_Object::TagClass tagClass
)
9370 : PASN_Choice(tag
, tagClass
, 1, TRUE
9371 #ifndef PASN_NOPRINTON
9372 ,(const PASN_Names
*)Names_H245_OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters
,2
9379 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
9380 H245_OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters::operator H245_H222LogicalChannelParameters
&() const
9382 H245_OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters::operator H245_H222LogicalChannelParameters
&()
9384 #ifndef PASN_LEANANDMEAN
9385 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H222LogicalChannelParameters
), PInvalidCast
);
9387 return *(H245_H222LogicalChannelParameters
*)choice
;
9391 H245_OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters::operator const H245_H222LogicalChannelParameters
&() const
9394 #ifndef PASN_LEANANDMEAN
9395 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H222LogicalChannelParameters
), PInvalidCast
);
9397 return *(H245_H222LogicalChannelParameters
*)choice
;
9401 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
9402 H245_OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters::operator H245_H2250LogicalChannelParameters
&() const
9404 H245_OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters::operator H245_H2250LogicalChannelParameters
&()
9406 #ifndef PASN_LEANANDMEAN
9407 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H2250LogicalChannelParameters
), PInvalidCast
);
9409 return *(H245_H2250LogicalChannelParameters
*)choice
;
9413 H245_OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters::operator const H245_H2250LogicalChannelParameters
&() const
9416 #ifndef PASN_LEANANDMEAN
9417 PAssert(PIsDescendant(PAssertNULL(choice
), H245_H2250LogicalChannelParameters
), PInvalidCast
);
9419 return *(H245_H2250LogicalChannelParameters
*)choice
;
9423 BOOL
H245_OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters::CreateObject()
9426 case e_h222LogicalChannelParameters
:
9427 choice
= new H245_H222LogicalChannelParameters();
9429 case e_h2250LogicalChannelParameters
:
9430 choice
= new H245_H2250LogicalChannelParameters();
9439 PObject
* H245_OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters::Clone() const
9441 #ifndef PASN_LEANANDMEAN
9442 PAssert(IsClass(H245_OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters::Class()), PInvalidCast
);
9444 return new H245_OpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters(*this);
9449 #ifndef PASN_NOPRINTON
9450 const static PASN_Names Names_H245_DepFECMode_rfc2733Mode_mode
[]={
9451 {"redundancyEncoding",0}
9452 ,{"separateStream",1}
9456 // DepFECMode_rfc2733Mode_mode
9459 H245_DepFECMode_rfc2733Mode_mode::H245_DepFECMode_rfc2733Mode_mode(unsigned tag
, PASN_Object::TagClass tagClass
)
9460 : PASN_Choice(tag
, tagClass
, 2, TRUE
9461 #ifndef PASN_NOPRINTON
9462 ,(const PASN_Names
*)Names_H245_DepFECMode_rfc2733Mode_mode
,2
9469 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
9470 H245_DepFECMode_rfc2733Mode_mode::operator H245_DepFECMode_rfc2733Mode_mode_separateStream
&() const
9472 H245_DepFECMode_rfc2733Mode_mode::operator H245_DepFECMode_rfc2733Mode_mode_separateStream
&()
9474 #ifndef PASN_LEANANDMEAN
9475 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DepFECMode_rfc2733Mode_mode_separateStream
), PInvalidCast
);
9477 return *(H245_DepFECMode_rfc2733Mode_mode_separateStream
*)choice
;
9481 H245_DepFECMode_rfc2733Mode_mode::operator const H245_DepFECMode_rfc2733Mode_mode_separateStream
&() const
9484 #ifndef PASN_LEANANDMEAN
9485 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DepFECMode_rfc2733Mode_mode_separateStream
), PInvalidCast
);
9487 return *(H245_DepFECMode_rfc2733Mode_mode_separateStream
*)choice
;
9491 BOOL
H245_DepFECMode_rfc2733Mode_mode::CreateObject()
9494 case e_redundancyEncoding
:
9495 choice
= new PASN_Null();
9497 case e_separateStream
:
9498 choice
= new H245_DepFECMode_rfc2733Mode_mode_separateStream();
9507 PObject
* H245_DepFECMode_rfc2733Mode_mode::Clone() const
9509 #ifndef PASN_LEANANDMEAN
9510 PAssert(IsClass(H245_DepFECMode_rfc2733Mode_mode::Class()), PInvalidCast
);
9512 return new H245_DepFECMode_rfc2733Mode_mode(*this);
9517 // H223ModeParameters_adaptationLayerType_al3
9520 H245_H223ModeParameters_adaptationLayerType_al3::H245_H223ModeParameters_adaptationLayerType_al3(unsigned tag
, PASN_Object::TagClass tagClass
)
9521 : PASN_Sequence(tag
, tagClass
, 0, FALSE
, 0)
9523 m_controlFieldOctets
.SetConstraints(PASN_Object::FixedConstraint
, 0, 2);
9524 m_sendBufferSize
.SetConstraints(PASN_Object::FixedConstraint
, 0, 16777215);
9528 #ifndef PASN_NOPRINTON
9529 void H245_H223ModeParameters_adaptationLayerType_al3::PrintOn(ostream
& strm
) const
9531 int indent
= strm
.precision() + 2;
9533 strm
<< setw(indent
+21) << "controlFieldOctets = " << setprecision(indent
) << m_controlFieldOctets
<< '\n';
9534 strm
<< setw(indent
+17) << "sendBufferSize = " << setprecision(indent
) << m_sendBufferSize
<< '\n';
9535 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
9540 PObject::Comparison
H245_H223ModeParameters_adaptationLayerType_al3::Compare(const PObject
& obj
) const
9542 #ifndef PASN_LEANANDMEAN
9543 PAssert(PIsDescendant(&obj
, H245_H223ModeParameters_adaptationLayerType_al3
), PInvalidCast
);
9545 const H245_H223ModeParameters_adaptationLayerType_al3
& other
= (const H245_H223ModeParameters_adaptationLayerType_al3
&)obj
;
9549 if ((result
= m_controlFieldOctets
.Compare(other
.m_controlFieldOctets
)) != EqualTo
)
9551 if ((result
= m_sendBufferSize
.Compare(other
.m_sendBufferSize
)) != EqualTo
)
9554 return PASN_Sequence::Compare(other
);
9558 PINDEX
H245_H223ModeParameters_adaptationLayerType_al3::GetDataLength() const
9561 length
+= m_controlFieldOctets
.GetObjectLength();
9562 length
+= m_sendBufferSize
.GetObjectLength();
9567 BOOL
H245_H223ModeParameters_adaptationLayerType_al3::Decode(PASN_Stream
& strm
)
9569 if (!PreambleDecode(strm
))
9572 if (!m_controlFieldOctets
.Decode(strm
))
9574 if (!m_sendBufferSize
.Decode(strm
))
9577 return UnknownExtensionsDecode(strm
);
9581 void H245_H223ModeParameters_adaptationLayerType_al3::Encode(PASN_Stream
& strm
) const
9583 PreambleEncode(strm
);
9585 m_controlFieldOctets
.Encode(strm
);
9586 m_sendBufferSize
.Encode(strm
);
9588 UnknownExtensionsEncode(strm
);
9592 PObject
* H245_H223ModeParameters_adaptationLayerType_al3::Clone() const
9594 #ifndef PASN_LEANANDMEAN
9595 PAssert(IsClass(H245_H223ModeParameters_adaptationLayerType_al3::Class()), PInvalidCast
);
9597 return new H245_H223ModeParameters_adaptationLayerType_al3(*this);
9602 // DataMode_application_nlpid
9605 H245_DataMode_application_nlpid::H245_DataMode_application_nlpid(unsigned tag
, PASN_Object::TagClass tagClass
)
9606 : PASN_Sequence(tag
, tagClass
, 0, FALSE
, 0)
9611 #ifndef PASN_NOPRINTON
9612 void H245_DataMode_application_nlpid::PrintOn(ostream
& strm
) const
9614 int indent
= strm
.precision() + 2;
9616 strm
<< setw(indent
+16) << "nlpidProtocol = " << setprecision(indent
) << m_nlpidProtocol
<< '\n';
9617 strm
<< setw(indent
+12) << "nlpidData = " << setprecision(indent
) << m_nlpidData
<< '\n';
9618 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
9623 PObject::Comparison
H245_DataMode_application_nlpid::Compare(const PObject
& obj
) const
9625 #ifndef PASN_LEANANDMEAN
9626 PAssert(PIsDescendant(&obj
, H245_DataMode_application_nlpid
), PInvalidCast
);
9628 const H245_DataMode_application_nlpid
& other
= (const H245_DataMode_application_nlpid
&)obj
;
9632 if ((result
= m_nlpidProtocol
.Compare(other
.m_nlpidProtocol
)) != EqualTo
)
9634 if ((result
= m_nlpidData
.Compare(other
.m_nlpidData
)) != EqualTo
)
9637 return PASN_Sequence::Compare(other
);
9641 PINDEX
H245_DataMode_application_nlpid::GetDataLength() const
9644 length
+= m_nlpidProtocol
.GetObjectLength();
9645 length
+= m_nlpidData
.GetObjectLength();
9650 BOOL
H245_DataMode_application_nlpid::Decode(PASN_Stream
& strm
)
9652 if (!PreambleDecode(strm
))
9655 if (!m_nlpidProtocol
.Decode(strm
))
9657 if (!m_nlpidData
.Decode(strm
))
9660 return UnknownExtensionsDecode(strm
);
9664 void H245_DataMode_application_nlpid::Encode(PASN_Stream
& strm
) const
9666 PreambleEncode(strm
);
9668 m_nlpidProtocol
.Encode(strm
);
9669 m_nlpidData
.Encode(strm
);
9671 UnknownExtensionsEncode(strm
);
9675 PObject
* H245_DataMode_application_nlpid::Clone() const
9677 #ifndef PASN_LEANANDMEAN
9678 PAssert(IsClass(H245_DataMode_application_nlpid::Class()), PInvalidCast
);
9680 return new H245_DataMode_application_nlpid(*this);
9685 #ifndef PASN_NOPRINTON
9686 const static PASN_Names Names_H245_MultilinkRequest_maximumHeaderInterval_requestType
[]={
9687 {"currentIntervalInformation",0}
9688 ,{"requestedInterval",1}
9692 // MultilinkRequest_maximumHeaderInterval_requestType
9695 H245_MultilinkRequest_maximumHeaderInterval_requestType::H245_MultilinkRequest_maximumHeaderInterval_requestType(unsigned tag
, PASN_Object::TagClass tagClass
)
9696 : PASN_Choice(tag
, tagClass
, 2, TRUE
9697 #ifndef PASN_NOPRINTON
9698 ,(const PASN_Names
*)Names_H245_MultilinkRequest_maximumHeaderInterval_requestType
,2
9705 BOOL
H245_MultilinkRequest_maximumHeaderInterval_requestType::CreateObject()
9708 case e_currentIntervalInformation
:
9709 choice
= new PASN_Null();
9711 case e_requestedInterval
:
9712 choice
= new PASN_Integer();
9713 choice
->SetConstraints(PASN_Object::FixedConstraint
, 0, 65535);
9722 PObject
* H245_MultilinkRequest_maximumHeaderInterval_requestType::Clone() const
9724 #ifndef PASN_LEANANDMEAN
9725 PAssert(IsClass(H245_MultilinkRequest_maximumHeaderInterval_requestType::Class()), PInvalidCast
);
9727 return new H245_MultilinkRequest_maximumHeaderInterval_requestType(*this);
9732 #ifndef PASN_NOPRINTON
9733 const static PASN_Names Names_H245_MultilinkResponse_addConnection_responseCode
[]={
9739 // MultilinkResponse_addConnection_responseCode
9742 H245_MultilinkResponse_addConnection_responseCode::H245_MultilinkResponse_addConnection_responseCode(unsigned tag
, PASN_Object::TagClass tagClass
)
9743 : PASN_Choice(tag
, tagClass
, 2, TRUE
9744 #ifndef PASN_NOPRINTON
9745 ,(const PASN_Names
*)Names_H245_MultilinkResponse_addConnection_responseCode
,2
9752 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
9753 H245_MultilinkResponse_addConnection_responseCode::operator H245_MultilinkResponse_addConnection_responseCode_rejected
&() const
9755 H245_MultilinkResponse_addConnection_responseCode::operator H245_MultilinkResponse_addConnection_responseCode_rejected
&()
9757 #ifndef PASN_LEANANDMEAN
9758 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MultilinkResponse_addConnection_responseCode_rejected
), PInvalidCast
);
9760 return *(H245_MultilinkResponse_addConnection_responseCode_rejected
*)choice
;
9764 H245_MultilinkResponse_addConnection_responseCode::operator const H245_MultilinkResponse_addConnection_responseCode_rejected
&() const
9767 #ifndef PASN_LEANANDMEAN
9768 PAssert(PIsDescendant(PAssertNULL(choice
), H245_MultilinkResponse_addConnection_responseCode_rejected
), PInvalidCast
);
9770 return *(H245_MultilinkResponse_addConnection_responseCode_rejected
*)choice
;
9774 BOOL
H245_MultilinkResponse_addConnection_responseCode::CreateObject()
9778 choice
= new PASN_Null();
9781 choice
= new H245_MultilinkResponse_addConnection_responseCode_rejected();
9790 PObject
* H245_MultilinkResponse_addConnection_responseCode::Clone() const
9792 #ifndef PASN_LEANANDMEAN
9793 PAssert(IsClass(H245_MultilinkResponse_addConnection_responseCode::Class()), PInvalidCast
);
9795 return new H245_MultilinkResponse_addConnection_responseCode(*this);
9800 // ArrayOf_CapabilityDescriptorNumber
9803 H245_ArrayOf_CapabilityDescriptorNumber::H245_ArrayOf_CapabilityDescriptorNumber(unsigned tag
, PASN_Object::TagClass tagClass
)
9804 : PASN_Array(tag
, tagClass
)
9809 PASN_Object
* H245_ArrayOf_CapabilityDescriptorNumber::CreateObject() const
9811 return new H245_CapabilityDescriptorNumber
;
9815 H245_CapabilityDescriptorNumber
& H245_ArrayOf_CapabilityDescriptorNumber::operator[](PINDEX i
) const
9817 return (H245_CapabilityDescriptorNumber
&)array
[i
];
9821 PObject
* H245_ArrayOf_CapabilityDescriptorNumber::Clone() const
9823 #ifndef PASN_LEANANDMEAN
9824 PAssert(IsClass(H245_ArrayOf_CapabilityDescriptorNumber::Class()), PInvalidCast
);
9826 return new H245_ArrayOf_CapabilityDescriptorNumber(*this);
9831 // MiscellaneousCommand_type_videoFastUpdateGOB
9834 H245_MiscellaneousCommand_type_videoFastUpdateGOB::H245_MiscellaneousCommand_type_videoFastUpdateGOB(unsigned tag
, PASN_Object::TagClass tagClass
)
9835 : PASN_Sequence(tag
, tagClass
, 0, FALSE
, 0)
9837 m_firstGOB
.SetConstraints(PASN_Object::FixedConstraint
, 0, 17);
9838 m_numberOfGOBs
.SetConstraints(PASN_Object::FixedConstraint
, 1, 18);
9842 #ifndef PASN_NOPRINTON
9843 void H245_MiscellaneousCommand_type_videoFastUpdateGOB::PrintOn(ostream
& strm
) const
9845 int indent
= strm
.precision() + 2;
9847 strm
<< setw(indent
+11) << "firstGOB = " << setprecision(indent
) << m_firstGOB
<< '\n';
9848 strm
<< setw(indent
+15) << "numberOfGOBs = " << setprecision(indent
) << m_numberOfGOBs
<< '\n';
9849 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
9854 PObject::Comparison
H245_MiscellaneousCommand_type_videoFastUpdateGOB::Compare(const PObject
& obj
) const
9856 #ifndef PASN_LEANANDMEAN
9857 PAssert(PIsDescendant(&obj
, H245_MiscellaneousCommand_type_videoFastUpdateGOB
), PInvalidCast
);
9859 const H245_MiscellaneousCommand_type_videoFastUpdateGOB
& other
= (const H245_MiscellaneousCommand_type_videoFastUpdateGOB
&)obj
;
9863 if ((result
= m_firstGOB
.Compare(other
.m_firstGOB
)) != EqualTo
)
9865 if ((result
= m_numberOfGOBs
.Compare(other
.m_numberOfGOBs
)) != EqualTo
)
9868 return PASN_Sequence::Compare(other
);
9872 PINDEX
H245_MiscellaneousCommand_type_videoFastUpdateGOB::GetDataLength() const
9875 length
+= m_firstGOB
.GetObjectLength();
9876 length
+= m_numberOfGOBs
.GetObjectLength();
9881 BOOL
H245_MiscellaneousCommand_type_videoFastUpdateGOB::Decode(PASN_Stream
& strm
)
9883 if (!PreambleDecode(strm
))
9886 if (!m_firstGOB
.Decode(strm
))
9888 if (!m_numberOfGOBs
.Decode(strm
))
9891 return UnknownExtensionsDecode(strm
);
9895 void H245_MiscellaneousCommand_type_videoFastUpdateGOB::Encode(PASN_Stream
& strm
) const
9897 PreambleEncode(strm
);
9899 m_firstGOB
.Encode(strm
);
9900 m_numberOfGOBs
.Encode(strm
);
9902 UnknownExtensionsEncode(strm
);
9906 PObject
* H245_MiscellaneousCommand_type_videoFastUpdateGOB::Clone() const
9908 #ifndef PASN_LEANANDMEAN
9909 PAssert(IsClass(H245_MiscellaneousCommand_type_videoFastUpdateGOB::Class()), PInvalidCast
);
9911 return new H245_MiscellaneousCommand_type_videoFastUpdateGOB(*this);
9916 // MiscellaneousCommand_type_videoFastUpdateMB
9919 H245_MiscellaneousCommand_type_videoFastUpdateMB::H245_MiscellaneousCommand_type_videoFastUpdateMB(unsigned tag
, PASN_Object::TagClass tagClass
)
9920 : PASN_Sequence(tag
, tagClass
, 2, TRUE
, 0)
9922 m_firstGOB
.SetConstraints(PASN_Object::FixedConstraint
, 0, 255);
9923 m_firstMB
.SetConstraints(PASN_Object::FixedConstraint
, 1, 8192);
9924 m_numberOfMBs
.SetConstraints(PASN_Object::FixedConstraint
, 1, 8192);
9928 #ifndef PASN_NOPRINTON
9929 void H245_MiscellaneousCommand_type_videoFastUpdateMB::PrintOn(ostream
& strm
) const
9931 int indent
= strm
.precision() + 2;
9933 if (HasOptionalField(e_firstGOB
))
9934 strm
<< setw(indent
+11) << "firstGOB = " << setprecision(indent
) << m_firstGOB
<< '\n';
9935 if (HasOptionalField(e_firstMB
))
9936 strm
<< setw(indent
+10) << "firstMB = " << setprecision(indent
) << m_firstMB
<< '\n';
9937 strm
<< setw(indent
+14) << "numberOfMBs = " << setprecision(indent
) << m_numberOfMBs
<< '\n';
9938 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
9943 PObject::Comparison
H245_MiscellaneousCommand_type_videoFastUpdateMB::Compare(const PObject
& obj
) const
9945 #ifndef PASN_LEANANDMEAN
9946 PAssert(PIsDescendant(&obj
, H245_MiscellaneousCommand_type_videoFastUpdateMB
), PInvalidCast
);
9948 const H245_MiscellaneousCommand_type_videoFastUpdateMB
& other
= (const H245_MiscellaneousCommand_type_videoFastUpdateMB
&)obj
;
9952 if ((result
= m_firstGOB
.Compare(other
.m_firstGOB
)) != EqualTo
)
9954 if ((result
= m_firstMB
.Compare(other
.m_firstMB
)) != EqualTo
)
9956 if ((result
= m_numberOfMBs
.Compare(other
.m_numberOfMBs
)) != EqualTo
)
9959 return PASN_Sequence::Compare(other
);
9963 PINDEX
H245_MiscellaneousCommand_type_videoFastUpdateMB::GetDataLength() const
9966 if (HasOptionalField(e_firstGOB
))
9967 length
+= m_firstGOB
.GetObjectLength();
9968 if (HasOptionalField(e_firstMB
))
9969 length
+= m_firstMB
.GetObjectLength();
9970 length
+= m_numberOfMBs
.GetObjectLength();
9975 BOOL
H245_MiscellaneousCommand_type_videoFastUpdateMB::Decode(PASN_Stream
& strm
)
9977 if (!PreambleDecode(strm
))
9980 if (HasOptionalField(e_firstGOB
) && !m_firstGOB
.Decode(strm
))
9982 if (HasOptionalField(e_firstMB
) && !m_firstMB
.Decode(strm
))
9984 if (!m_numberOfMBs
.Decode(strm
))
9987 return UnknownExtensionsDecode(strm
);
9991 void H245_MiscellaneousCommand_type_videoFastUpdateMB::Encode(PASN_Stream
& strm
) const
9993 PreambleEncode(strm
);
9995 if (HasOptionalField(e_firstGOB
))
9996 m_firstGOB
.Encode(strm
);
9997 if (HasOptionalField(e_firstMB
))
9998 m_firstMB
.Encode(strm
);
9999 m_numberOfMBs
.Encode(strm
);
10001 UnknownExtensionsEncode(strm
);
10005 PObject
* H245_MiscellaneousCommand_type_videoFastUpdateMB::Clone() const
10007 #ifndef PASN_LEANANDMEAN
10008 PAssert(IsClass(H245_MiscellaneousCommand_type_videoFastUpdateMB::Class()), PInvalidCast
);
10010 return new H245_MiscellaneousCommand_type_videoFastUpdateMB(*this);
10015 // MiscellaneousCommand_type_videoBadMBs
10018 H245_MiscellaneousCommand_type_videoBadMBs::H245_MiscellaneousCommand_type_videoBadMBs(unsigned tag
, PASN_Object::TagClass tagClass
)
10019 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
10021 m_firstMB
.SetConstraints(PASN_Object::FixedConstraint
, 1, 9216);
10022 m_numberOfMBs
.SetConstraints(PASN_Object::FixedConstraint
, 1, 9216);
10023 m_temporalReference
.SetConstraints(PASN_Object::FixedConstraint
, 0, 1023);
10027 #ifndef PASN_NOPRINTON
10028 void H245_MiscellaneousCommand_type_videoBadMBs::PrintOn(ostream
& strm
) const
10030 int indent
= strm
.precision() + 2;
10032 strm
<< setw(indent
+10) << "firstMB = " << setprecision(indent
) << m_firstMB
<< '\n';
10033 strm
<< setw(indent
+14) << "numberOfMBs = " << setprecision(indent
) << m_numberOfMBs
<< '\n';
10034 strm
<< setw(indent
+20) << "temporalReference = " << setprecision(indent
) << m_temporalReference
<< '\n';
10035 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
10040 PObject::Comparison
H245_MiscellaneousCommand_type_videoBadMBs::Compare(const PObject
& obj
) const
10042 #ifndef PASN_LEANANDMEAN
10043 PAssert(PIsDescendant(&obj
, H245_MiscellaneousCommand_type_videoBadMBs
), PInvalidCast
);
10045 const H245_MiscellaneousCommand_type_videoBadMBs
& other
= (const H245_MiscellaneousCommand_type_videoBadMBs
&)obj
;
10049 if ((result
= m_firstMB
.Compare(other
.m_firstMB
)) != EqualTo
)
10051 if ((result
= m_numberOfMBs
.Compare(other
.m_numberOfMBs
)) != EqualTo
)
10053 if ((result
= m_temporalReference
.Compare(other
.m_temporalReference
)) != EqualTo
)
10056 return PASN_Sequence::Compare(other
);
10060 PINDEX
H245_MiscellaneousCommand_type_videoBadMBs::GetDataLength() const
10063 length
+= m_firstMB
.GetObjectLength();
10064 length
+= m_numberOfMBs
.GetObjectLength();
10065 length
+= m_temporalReference
.GetObjectLength();
10070 BOOL
H245_MiscellaneousCommand_type_videoBadMBs::Decode(PASN_Stream
& strm
)
10072 if (!PreambleDecode(strm
))
10075 if (!m_firstMB
.Decode(strm
))
10077 if (!m_numberOfMBs
.Decode(strm
))
10079 if (!m_temporalReference
.Decode(strm
))
10082 return UnknownExtensionsDecode(strm
);
10086 void H245_MiscellaneousCommand_type_videoBadMBs::Encode(PASN_Stream
& strm
) const
10088 PreambleEncode(strm
);
10090 m_firstMB
.Encode(strm
);
10091 m_numberOfMBs
.Encode(strm
);
10092 m_temporalReference
.Encode(strm
);
10094 UnknownExtensionsEncode(strm
);
10098 PObject
* H245_MiscellaneousCommand_type_videoBadMBs::Clone() const
10100 #ifndef PASN_LEANANDMEAN
10101 PAssert(IsClass(H245_MiscellaneousCommand_type_videoBadMBs::Class()), PInvalidCast
);
10103 return new H245_MiscellaneousCommand_type_videoBadMBs(*this);
10108 // ArrayOf_PictureReference
10111 H245_ArrayOf_PictureReference::H245_ArrayOf_PictureReference(unsigned tag
, PASN_Object::TagClass tagClass
)
10112 : PASN_Array(tag
, tagClass
)
10117 PASN_Object
* H245_ArrayOf_PictureReference::CreateObject() const
10119 return new H245_PictureReference
;
10123 H245_PictureReference
& H245_ArrayOf_PictureReference::operator[](PINDEX i
) const
10125 return (H245_PictureReference
&)array
[i
];
10129 PObject
* H245_ArrayOf_PictureReference::Clone() const
10131 #ifndef PASN_LEANANDMEAN
10132 PAssert(IsClass(H245_ArrayOf_PictureReference::Class()), PInvalidCast
);
10134 return new H245_ArrayOf_PictureReference(*this);
10139 // MiscellaneousCommand_type_lostPartialPicture
10142 H245_MiscellaneousCommand_type_lostPartialPicture::H245_MiscellaneousCommand_type_lostPartialPicture(unsigned tag
, PASN_Object::TagClass tagClass
)
10143 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
10145 m_firstMB
.SetConstraints(PASN_Object::FixedConstraint
, 1, 9216);
10146 m_numberOfMBs
.SetConstraints(PASN_Object::FixedConstraint
, 1, 9216);
10150 #ifndef PASN_NOPRINTON
10151 void H245_MiscellaneousCommand_type_lostPartialPicture::PrintOn(ostream
& strm
) const
10153 int indent
= strm
.precision() + 2;
10155 strm
<< setw(indent
+19) << "pictureReference = " << setprecision(indent
) << m_pictureReference
<< '\n';
10156 strm
<< setw(indent
+10) << "firstMB = " << setprecision(indent
) << m_firstMB
<< '\n';
10157 strm
<< setw(indent
+14) << "numberOfMBs = " << setprecision(indent
) << m_numberOfMBs
<< '\n';
10158 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
10163 PObject::Comparison
H245_MiscellaneousCommand_type_lostPartialPicture::Compare(const PObject
& obj
) const
10165 #ifndef PASN_LEANANDMEAN
10166 PAssert(PIsDescendant(&obj
, H245_MiscellaneousCommand_type_lostPartialPicture
), PInvalidCast
);
10168 const H245_MiscellaneousCommand_type_lostPartialPicture
& other
= (const H245_MiscellaneousCommand_type_lostPartialPicture
&)obj
;
10172 if ((result
= m_pictureReference
.Compare(other
.m_pictureReference
)) != EqualTo
)
10174 if ((result
= m_firstMB
.Compare(other
.m_firstMB
)) != EqualTo
)
10176 if ((result
= m_numberOfMBs
.Compare(other
.m_numberOfMBs
)) != EqualTo
)
10179 return PASN_Sequence::Compare(other
);
10183 PINDEX
H245_MiscellaneousCommand_type_lostPartialPicture::GetDataLength() const
10186 length
+= m_pictureReference
.GetObjectLength();
10187 length
+= m_firstMB
.GetObjectLength();
10188 length
+= m_numberOfMBs
.GetObjectLength();
10193 BOOL
H245_MiscellaneousCommand_type_lostPartialPicture::Decode(PASN_Stream
& strm
)
10195 if (!PreambleDecode(strm
))
10198 if (!m_pictureReference
.Decode(strm
))
10200 if (!m_firstMB
.Decode(strm
))
10202 if (!m_numberOfMBs
.Decode(strm
))
10205 return UnknownExtensionsDecode(strm
);
10209 void H245_MiscellaneousCommand_type_lostPartialPicture::Encode(PASN_Stream
& strm
) const
10211 PreambleEncode(strm
);
10213 m_pictureReference
.Encode(strm
);
10214 m_firstMB
.Encode(strm
);
10215 m_numberOfMBs
.Encode(strm
);
10217 UnknownExtensionsEncode(strm
);
10221 PObject
* H245_MiscellaneousCommand_type_lostPartialPicture::Clone() const
10223 #ifndef PASN_LEANANDMEAN
10224 PAssert(IsClass(H245_MiscellaneousCommand_type_lostPartialPicture::Class()), PInvalidCast
);
10226 return new H245_MiscellaneousCommand_type_lostPartialPicture(*this);
10231 // MiscellaneousCommand_type_encryptionUpdateAck
10234 H245_MiscellaneousCommand_type_encryptionUpdateAck::H245_MiscellaneousCommand_type_encryptionUpdateAck(unsigned tag
, PASN_Object::TagClass tagClass
)
10235 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
10237 m_synchFlag
.SetConstraints(PASN_Object::FixedConstraint
, 0, 255);
10241 #ifndef PASN_NOPRINTON
10242 void H245_MiscellaneousCommand_type_encryptionUpdateAck::PrintOn(ostream
& strm
) const
10244 int indent
= strm
.precision() + 2;
10246 strm
<< setw(indent
+12) << "synchFlag = " << setprecision(indent
) << m_synchFlag
<< '\n';
10247 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
10252 PObject::Comparison
H245_MiscellaneousCommand_type_encryptionUpdateAck::Compare(const PObject
& obj
) const
10254 #ifndef PASN_LEANANDMEAN
10255 PAssert(PIsDescendant(&obj
, H245_MiscellaneousCommand_type_encryptionUpdateAck
), PInvalidCast
);
10257 const H245_MiscellaneousCommand_type_encryptionUpdateAck
& other
= (const H245_MiscellaneousCommand_type_encryptionUpdateAck
&)obj
;
10261 if ((result
= m_synchFlag
.Compare(other
.m_synchFlag
)) != EqualTo
)
10264 return PASN_Sequence::Compare(other
);
10268 PINDEX
H245_MiscellaneousCommand_type_encryptionUpdateAck::GetDataLength() const
10271 length
+= m_synchFlag
.GetObjectLength();
10276 BOOL
H245_MiscellaneousCommand_type_encryptionUpdateAck::Decode(PASN_Stream
& strm
)
10278 if (!PreambleDecode(strm
))
10281 if (!m_synchFlag
.Decode(strm
))
10284 return UnknownExtensionsDecode(strm
);
10288 void H245_MiscellaneousCommand_type_encryptionUpdateAck::Encode(PASN_Stream
& strm
) const
10290 PreambleEncode(strm
);
10292 m_synchFlag
.Encode(strm
);
10294 UnknownExtensionsEncode(strm
);
10298 PObject
* H245_MiscellaneousCommand_type_encryptionUpdateAck::Clone() const
10300 #ifndef PASN_LEANANDMEAN
10301 PAssert(IsClass(H245_MiscellaneousCommand_type_encryptionUpdateAck::Class()), PInvalidCast
);
10303 return new H245_MiscellaneousCommand_type_encryptionUpdateAck(*this);
10308 // NewATMVCCommand_aal_aal5
10311 H245_NewATMVCCommand_aal_aal5::H245_NewATMVCCommand_aal_aal5(unsigned tag
, PASN_Object::TagClass tagClass
)
10312 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
10314 m_forwardMaximumSDUSize
.SetConstraints(PASN_Object::FixedConstraint
, 0, 65535);
10315 m_backwardMaximumSDUSize
.SetConstraints(PASN_Object::FixedConstraint
, 0, 65535);
10319 #ifndef PASN_NOPRINTON
10320 void H245_NewATMVCCommand_aal_aal5::PrintOn(ostream
& strm
) const
10322 int indent
= strm
.precision() + 2;
10324 strm
<< setw(indent
+24) << "forwardMaximumSDUSize = " << setprecision(indent
) << m_forwardMaximumSDUSize
<< '\n';
10325 strm
<< setw(indent
+25) << "backwardMaximumSDUSize = " << setprecision(indent
) << m_backwardMaximumSDUSize
<< '\n';
10326 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
10331 PObject::Comparison
H245_NewATMVCCommand_aal_aal5::Compare(const PObject
& obj
) const
10333 #ifndef PASN_LEANANDMEAN
10334 PAssert(PIsDescendant(&obj
, H245_NewATMVCCommand_aal_aal5
), PInvalidCast
);
10336 const H245_NewATMVCCommand_aal_aal5
& other
= (const H245_NewATMVCCommand_aal_aal5
&)obj
;
10340 if ((result
= m_forwardMaximumSDUSize
.Compare(other
.m_forwardMaximumSDUSize
)) != EqualTo
)
10342 if ((result
= m_backwardMaximumSDUSize
.Compare(other
.m_backwardMaximumSDUSize
)) != EqualTo
)
10345 return PASN_Sequence::Compare(other
);
10349 PINDEX
H245_NewATMVCCommand_aal_aal5::GetDataLength() const
10352 length
+= m_forwardMaximumSDUSize
.GetObjectLength();
10353 length
+= m_backwardMaximumSDUSize
.GetObjectLength();
10358 BOOL
H245_NewATMVCCommand_aal_aal5::Decode(PASN_Stream
& strm
)
10360 if (!PreambleDecode(strm
))
10363 if (!m_forwardMaximumSDUSize
.Decode(strm
))
10365 if (!m_backwardMaximumSDUSize
.Decode(strm
))
10368 return UnknownExtensionsDecode(strm
);
10372 void H245_NewATMVCCommand_aal_aal5::Encode(PASN_Stream
& strm
) const
10374 PreambleEncode(strm
);
10376 m_forwardMaximumSDUSize
.Encode(strm
);
10377 m_backwardMaximumSDUSize
.Encode(strm
);
10379 UnknownExtensionsEncode(strm
);
10383 PObject
* H245_NewATMVCCommand_aal_aal5::Clone() const
10385 #ifndef PASN_LEANANDMEAN
10386 PAssert(IsClass(H245_NewATMVCCommand_aal_aal5::Class()), PInvalidCast
);
10388 return new H245_NewATMVCCommand_aal_aal5(*this);
10393 #ifndef PASN_NOPRINTON
10394 const static PASN_Names Names_H245_NewATMVCCommand_reverseParameters_multiplex
[]={
10396 ,{"transportStream",1}
10397 ,{"programStream",2}
10401 // NewATMVCCommand_reverseParameters_multiplex
10404 H245_NewATMVCCommand_reverseParameters_multiplex::H245_NewATMVCCommand_reverseParameters_multiplex(unsigned tag
, PASN_Object::TagClass tagClass
)
10405 : PASN_Choice(tag
, tagClass
, 3, TRUE
10406 #ifndef PASN_NOPRINTON
10407 ,(const PASN_Names
*)Names_H245_NewATMVCCommand_reverseParameters_multiplex
,3
10414 BOOL
H245_NewATMVCCommand_reverseParameters_multiplex::CreateObject()
10416 choice
= (tag
<= e_programStream
) ? new PASN_Null() : NULL
;
10417 return choice
!= NULL
;
10421 PObject
* H245_NewATMVCCommand_reverseParameters_multiplex::Clone() const
10423 #ifndef PASN_LEANANDMEAN
10424 PAssert(IsClass(H245_NewATMVCCommand_reverseParameters_multiplex::Class()), PInvalidCast
);
10426 return new H245_NewATMVCCommand_reverseParameters_multiplex(*this);
10431 // MiscellaneousIndication_type_videoNotDecodedMBs
10434 H245_MiscellaneousIndication_type_videoNotDecodedMBs::H245_MiscellaneousIndication_type_videoNotDecodedMBs(unsigned tag
, PASN_Object::TagClass tagClass
)
10435 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
10437 m_firstMB
.SetConstraints(PASN_Object::FixedConstraint
, 1, 8192);
10438 m_numberOfMBs
.SetConstraints(PASN_Object::FixedConstraint
, 1, 8192);
10439 m_temporalReference
.SetConstraints(PASN_Object::FixedConstraint
, 0, 255);
10443 #ifndef PASN_NOPRINTON
10444 void H245_MiscellaneousIndication_type_videoNotDecodedMBs::PrintOn(ostream
& strm
) const
10446 int indent
= strm
.precision() + 2;
10448 strm
<< setw(indent
+10) << "firstMB = " << setprecision(indent
) << m_firstMB
<< '\n';
10449 strm
<< setw(indent
+14) << "numberOfMBs = " << setprecision(indent
) << m_numberOfMBs
<< '\n';
10450 strm
<< setw(indent
+20) << "temporalReference = " << setprecision(indent
) << m_temporalReference
<< '\n';
10451 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
10456 PObject::Comparison
H245_MiscellaneousIndication_type_videoNotDecodedMBs::Compare(const PObject
& obj
) const
10458 #ifndef PASN_LEANANDMEAN
10459 PAssert(PIsDescendant(&obj
, H245_MiscellaneousIndication_type_videoNotDecodedMBs
), PInvalidCast
);
10461 const H245_MiscellaneousIndication_type_videoNotDecodedMBs
& other
= (const H245_MiscellaneousIndication_type_videoNotDecodedMBs
&)obj
;
10465 if ((result
= m_firstMB
.Compare(other
.m_firstMB
)) != EqualTo
)
10467 if ((result
= m_numberOfMBs
.Compare(other
.m_numberOfMBs
)) != EqualTo
)
10469 if ((result
= m_temporalReference
.Compare(other
.m_temporalReference
)) != EqualTo
)
10472 return PASN_Sequence::Compare(other
);
10476 PINDEX
H245_MiscellaneousIndication_type_videoNotDecodedMBs::GetDataLength() const
10479 length
+= m_firstMB
.GetObjectLength();
10480 length
+= m_numberOfMBs
.GetObjectLength();
10481 length
+= m_temporalReference
.GetObjectLength();
10486 BOOL
H245_MiscellaneousIndication_type_videoNotDecodedMBs::Decode(PASN_Stream
& strm
)
10488 if (!PreambleDecode(strm
))
10491 if (!m_firstMB
.Decode(strm
))
10493 if (!m_numberOfMBs
.Decode(strm
))
10495 if (!m_temporalReference
.Decode(strm
))
10498 return UnknownExtensionsDecode(strm
);
10502 void H245_MiscellaneousIndication_type_videoNotDecodedMBs::Encode(PASN_Stream
& strm
) const
10504 PreambleEncode(strm
);
10506 m_firstMB
.Encode(strm
);
10507 m_numberOfMBs
.Encode(strm
);
10508 m_temporalReference
.Encode(strm
);
10510 UnknownExtensionsEncode(strm
);
10514 PObject
* H245_MiscellaneousIndication_type_videoNotDecodedMBs::Clone() const
10516 #ifndef PASN_LEANANDMEAN
10517 PAssert(IsClass(H245_MiscellaneousIndication_type_videoNotDecodedMBs::Class()), PInvalidCast
);
10519 return new H245_MiscellaneousIndication_type_videoNotDecodedMBs(*this);
10524 // NewATMVCIndication_aal_aal5
10527 H245_NewATMVCIndication_aal_aal5::H245_NewATMVCIndication_aal_aal5(unsigned tag
, PASN_Object::TagClass tagClass
)
10528 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
10530 m_forwardMaximumSDUSize
.SetConstraints(PASN_Object::FixedConstraint
, 0, 65535);
10531 m_backwardMaximumSDUSize
.SetConstraints(PASN_Object::FixedConstraint
, 0, 65535);
10535 #ifndef PASN_NOPRINTON
10536 void H245_NewATMVCIndication_aal_aal5::PrintOn(ostream
& strm
) const
10538 int indent
= strm
.precision() + 2;
10540 strm
<< setw(indent
+24) << "forwardMaximumSDUSize = " << setprecision(indent
) << m_forwardMaximumSDUSize
<< '\n';
10541 strm
<< setw(indent
+25) << "backwardMaximumSDUSize = " << setprecision(indent
) << m_backwardMaximumSDUSize
<< '\n';
10542 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
10547 PObject::Comparison
H245_NewATMVCIndication_aal_aal5::Compare(const PObject
& obj
) const
10549 #ifndef PASN_LEANANDMEAN
10550 PAssert(PIsDescendant(&obj
, H245_NewATMVCIndication_aal_aal5
), PInvalidCast
);
10552 const H245_NewATMVCIndication_aal_aal5
& other
= (const H245_NewATMVCIndication_aal_aal5
&)obj
;
10556 if ((result
= m_forwardMaximumSDUSize
.Compare(other
.m_forwardMaximumSDUSize
)) != EqualTo
)
10558 if ((result
= m_backwardMaximumSDUSize
.Compare(other
.m_backwardMaximumSDUSize
)) != EqualTo
)
10561 return PASN_Sequence::Compare(other
);
10565 PINDEX
H245_NewATMVCIndication_aal_aal5::GetDataLength() const
10568 length
+= m_forwardMaximumSDUSize
.GetObjectLength();
10569 length
+= m_backwardMaximumSDUSize
.GetObjectLength();
10574 BOOL
H245_NewATMVCIndication_aal_aal5::Decode(PASN_Stream
& strm
)
10576 if (!PreambleDecode(strm
))
10579 if (!m_forwardMaximumSDUSize
.Decode(strm
))
10581 if (!m_backwardMaximumSDUSize
.Decode(strm
))
10584 return UnknownExtensionsDecode(strm
);
10588 void H245_NewATMVCIndication_aal_aal5::Encode(PASN_Stream
& strm
) const
10590 PreambleEncode(strm
);
10592 m_forwardMaximumSDUSize
.Encode(strm
);
10593 m_backwardMaximumSDUSize
.Encode(strm
);
10595 UnknownExtensionsEncode(strm
);
10599 PObject
* H245_NewATMVCIndication_aal_aal5::Clone() const
10601 #ifndef PASN_LEANANDMEAN
10602 PAssert(IsClass(H245_NewATMVCIndication_aal_aal5::Class()), PInvalidCast
);
10604 return new H245_NewATMVCIndication_aal_aal5(*this);
10609 #ifndef PASN_NOPRINTON
10610 const static PASN_Names Names_H245_NewATMVCIndication_reverseParameters_multiplex
[]={
10612 ,{"transportStream",1}
10613 ,{"programStream",2}
10617 // NewATMVCIndication_reverseParameters_multiplex
10620 H245_NewATMVCIndication_reverseParameters_multiplex::H245_NewATMVCIndication_reverseParameters_multiplex(unsigned tag
, PASN_Object::TagClass tagClass
)
10621 : PASN_Choice(tag
, tagClass
, 3, TRUE
10622 #ifndef PASN_NOPRINTON
10623 ,(const PASN_Names
*)Names_H245_NewATMVCIndication_reverseParameters_multiplex
,3
10630 BOOL
H245_NewATMVCIndication_reverseParameters_multiplex::CreateObject()
10632 choice
= (tag
<= e_programStream
) ? new PASN_Null() : NULL
;
10633 return choice
!= NULL
;
10637 PObject
* H245_NewATMVCIndication_reverseParameters_multiplex::Clone() const
10639 #ifndef PASN_LEANANDMEAN
10640 PAssert(IsClass(H245_NewATMVCIndication_reverseParameters_multiplex::Class()), PInvalidCast
);
10642 return new H245_NewATMVCIndication_reverseParameters_multiplex(*this);
10647 // UserInputIndication_signal_rtp
10650 H245_UserInputIndication_signal_rtp::H245_UserInputIndication_signal_rtp(unsigned tag
, PASN_Object::TagClass tagClass
)
10651 : PASN_Sequence(tag
, tagClass
, 2, TRUE
, 0)
10653 m_timestamp
.SetConstraints(PASN_Object::FixedConstraint
, 0, 4294967295U);
10654 m_expirationTime
.SetConstraints(PASN_Object::FixedConstraint
, 0, 4294967295U);
10658 #ifndef PASN_NOPRINTON
10659 void H245_UserInputIndication_signal_rtp::PrintOn(ostream
& strm
) const
10661 int indent
= strm
.precision() + 2;
10663 if (HasOptionalField(e_timestamp
))
10664 strm
<< setw(indent
+12) << "timestamp = " << setprecision(indent
) << m_timestamp
<< '\n';
10665 if (HasOptionalField(e_expirationTime
))
10666 strm
<< setw(indent
+17) << "expirationTime = " << setprecision(indent
) << m_expirationTime
<< '\n';
10667 strm
<< setw(indent
+23) << "logicalChannelNumber = " << setprecision(indent
) << m_logicalChannelNumber
<< '\n';
10668 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
10673 PObject::Comparison
H245_UserInputIndication_signal_rtp::Compare(const PObject
& obj
) const
10675 #ifndef PASN_LEANANDMEAN
10676 PAssert(PIsDescendant(&obj
, H245_UserInputIndication_signal_rtp
), PInvalidCast
);
10678 const H245_UserInputIndication_signal_rtp
& other
= (const H245_UserInputIndication_signal_rtp
&)obj
;
10682 if ((result
= m_timestamp
.Compare(other
.m_timestamp
)) != EqualTo
)
10684 if ((result
= m_expirationTime
.Compare(other
.m_expirationTime
)) != EqualTo
)
10686 if ((result
= m_logicalChannelNumber
.Compare(other
.m_logicalChannelNumber
)) != EqualTo
)
10689 return PASN_Sequence::Compare(other
);
10693 PINDEX
H245_UserInputIndication_signal_rtp::GetDataLength() const
10696 if (HasOptionalField(e_timestamp
))
10697 length
+= m_timestamp
.GetObjectLength();
10698 if (HasOptionalField(e_expirationTime
))
10699 length
+= m_expirationTime
.GetObjectLength();
10700 length
+= m_logicalChannelNumber
.GetObjectLength();
10705 BOOL
H245_UserInputIndication_signal_rtp::Decode(PASN_Stream
& strm
)
10707 if (!PreambleDecode(strm
))
10710 if (HasOptionalField(e_timestamp
) && !m_timestamp
.Decode(strm
))
10712 if (HasOptionalField(e_expirationTime
) && !m_expirationTime
.Decode(strm
))
10714 if (!m_logicalChannelNumber
.Decode(strm
))
10717 return UnknownExtensionsDecode(strm
);
10721 void H245_UserInputIndication_signal_rtp::Encode(PASN_Stream
& strm
) const
10723 PreambleEncode(strm
);
10725 if (HasOptionalField(e_timestamp
))
10726 m_timestamp
.Encode(strm
);
10727 if (HasOptionalField(e_expirationTime
))
10728 m_expirationTime
.Encode(strm
);
10729 m_logicalChannelNumber
.Encode(strm
);
10731 UnknownExtensionsEncode(strm
);
10735 PObject
* H245_UserInputIndication_signal_rtp::Clone() const
10737 #ifndef PASN_LEANANDMEAN
10738 PAssert(IsClass(H245_UserInputIndication_signal_rtp::Class()), PInvalidCast
);
10740 return new H245_UserInputIndication_signal_rtp(*this);
10745 // UserInputIndication_signalUpdate_rtp
10748 H245_UserInputIndication_signalUpdate_rtp::H245_UserInputIndication_signalUpdate_rtp(unsigned tag
, PASN_Object::TagClass tagClass
)
10749 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
10754 #ifndef PASN_NOPRINTON
10755 void H245_UserInputIndication_signalUpdate_rtp::PrintOn(ostream
& strm
) const
10757 int indent
= strm
.precision() + 2;
10759 strm
<< setw(indent
+23) << "logicalChannelNumber = " << setprecision(indent
) << m_logicalChannelNumber
<< '\n';
10760 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
10765 PObject::Comparison
H245_UserInputIndication_signalUpdate_rtp::Compare(const PObject
& obj
) const
10767 #ifndef PASN_LEANANDMEAN
10768 PAssert(PIsDescendant(&obj
, H245_UserInputIndication_signalUpdate_rtp
), PInvalidCast
);
10770 const H245_UserInputIndication_signalUpdate_rtp
& other
= (const H245_UserInputIndication_signalUpdate_rtp
&)obj
;
10774 if ((result
= m_logicalChannelNumber
.Compare(other
.m_logicalChannelNumber
)) != EqualTo
)
10777 return PASN_Sequence::Compare(other
);
10781 PINDEX
H245_UserInputIndication_signalUpdate_rtp::GetDataLength() const
10784 length
+= m_logicalChannelNumber
.GetObjectLength();
10789 BOOL
H245_UserInputIndication_signalUpdate_rtp::Decode(PASN_Stream
& strm
)
10791 if (!PreambleDecode(strm
))
10794 if (!m_logicalChannelNumber
.Decode(strm
))
10797 return UnknownExtensionsDecode(strm
);
10801 void H245_UserInputIndication_signalUpdate_rtp::Encode(PASN_Stream
& strm
) const
10803 PreambleEncode(strm
);
10805 m_logicalChannelNumber
.Encode(strm
);
10807 UnknownExtensionsEncode(strm
);
10811 PObject
* H245_UserInputIndication_signalUpdate_rtp::Clone() const
10813 #ifndef PASN_LEANANDMEAN
10814 PAssert(IsClass(H245_UserInputIndication_signalUpdate_rtp::Class()), PInvalidCast
);
10816 return new H245_UserInputIndication_signalUpdate_rtp(*this);
10821 // UserInputIndication_extendedAlphanumeric_encryptedAlphanumeric
10824 H245_UserInputIndication_extendedAlphanumeric_encryptedAlphanumeric::H245_UserInputIndication_extendedAlphanumeric_encryptedAlphanumeric(unsigned tag
, PASN_Object::TagClass tagClass
)
10825 : PASN_Sequence(tag
, tagClass
, 1, TRUE
, 0)
10830 #ifndef PASN_NOPRINTON
10831 void H245_UserInputIndication_extendedAlphanumeric_encryptedAlphanumeric::PrintOn(ostream
& strm
) const
10833 int indent
= strm
.precision() + 2;
10835 strm
<< setw(indent
+15) << "algorithmOID = " << setprecision(indent
) << m_algorithmOID
<< '\n';
10836 if (HasOptionalField(e_paramS
))
10837 strm
<< setw(indent
+9) << "paramS = " << setprecision(indent
) << m_paramS
<< '\n';
10838 strm
<< setw(indent
+12) << "encrypted = " << setprecision(indent
) << m_encrypted
<< '\n';
10839 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
10844 PObject::Comparison
H245_UserInputIndication_extendedAlphanumeric_encryptedAlphanumeric::Compare(const PObject
& obj
) const
10846 #ifndef PASN_LEANANDMEAN
10847 PAssert(PIsDescendant(&obj
, H245_UserInputIndication_extendedAlphanumeric_encryptedAlphanumeric
), PInvalidCast
);
10849 const H245_UserInputIndication_extendedAlphanumeric_encryptedAlphanumeric
& other
= (const H245_UserInputIndication_extendedAlphanumeric_encryptedAlphanumeric
&)obj
;
10853 if ((result
= m_algorithmOID
.Compare(other
.m_algorithmOID
)) != EqualTo
)
10855 if ((result
= m_paramS
.Compare(other
.m_paramS
)) != EqualTo
)
10857 if ((result
= m_encrypted
.Compare(other
.m_encrypted
)) != EqualTo
)
10860 return PASN_Sequence::Compare(other
);
10864 PINDEX
H245_UserInputIndication_extendedAlphanumeric_encryptedAlphanumeric::GetDataLength() const
10867 length
+= m_algorithmOID
.GetObjectLength();
10868 if (HasOptionalField(e_paramS
))
10869 length
+= m_paramS
.GetObjectLength();
10870 length
+= m_encrypted
.GetObjectLength();
10875 BOOL
H245_UserInputIndication_extendedAlphanumeric_encryptedAlphanumeric::Decode(PASN_Stream
& strm
)
10877 if (!PreambleDecode(strm
))
10880 if (!m_algorithmOID
.Decode(strm
))
10882 if (HasOptionalField(e_paramS
) && !m_paramS
.Decode(strm
))
10884 if (!m_encrypted
.Decode(strm
))
10887 return UnknownExtensionsDecode(strm
);
10891 void H245_UserInputIndication_extendedAlphanumeric_encryptedAlphanumeric::Encode(PASN_Stream
& strm
) const
10893 PreambleEncode(strm
);
10895 m_algorithmOID
.Encode(strm
);
10896 if (HasOptionalField(e_paramS
))
10897 m_paramS
.Encode(strm
);
10898 m_encrypted
.Encode(strm
);
10900 UnknownExtensionsEncode(strm
);
10904 PObject
* H245_UserInputIndication_extendedAlphanumeric_encryptedAlphanumeric::Clone() const
10906 #ifndef PASN_LEANANDMEAN
10907 PAssert(IsClass(H245_UserInputIndication_extendedAlphanumeric_encryptedAlphanumeric::Class()), PInvalidCast
);
10909 return new H245_UserInputIndication_extendedAlphanumeric_encryptedAlphanumeric(*this);
10914 // VCCapability_availableBitRates_type_rangeOfBitRates
10917 H245_VCCapability_availableBitRates_type_rangeOfBitRates::H245_VCCapability_availableBitRates_type_rangeOfBitRates(unsigned tag
, PASN_Object::TagClass tagClass
)
10918 : PASN_Sequence(tag
, tagClass
, 0, FALSE
, 0)
10920 m_lowerBitRate
.SetConstraints(PASN_Object::FixedConstraint
, 1, 65535);
10921 m_higherBitRate
.SetConstraints(PASN_Object::FixedConstraint
, 1, 65535);
10925 #ifndef PASN_NOPRINTON
10926 void H245_VCCapability_availableBitRates_type_rangeOfBitRates::PrintOn(ostream
& strm
) const
10928 int indent
= strm
.precision() + 2;
10930 strm
<< setw(indent
+15) << "lowerBitRate = " << setprecision(indent
) << m_lowerBitRate
<< '\n';
10931 strm
<< setw(indent
+16) << "higherBitRate = " << setprecision(indent
) << m_higherBitRate
<< '\n';
10932 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
10937 PObject::Comparison
H245_VCCapability_availableBitRates_type_rangeOfBitRates::Compare(const PObject
& obj
) const
10939 #ifndef PASN_LEANANDMEAN
10940 PAssert(PIsDescendant(&obj
, H245_VCCapability_availableBitRates_type_rangeOfBitRates
), PInvalidCast
);
10942 const H245_VCCapability_availableBitRates_type_rangeOfBitRates
& other
= (const H245_VCCapability_availableBitRates_type_rangeOfBitRates
&)obj
;
10946 if ((result
= m_lowerBitRate
.Compare(other
.m_lowerBitRate
)) != EqualTo
)
10948 if ((result
= m_higherBitRate
.Compare(other
.m_higherBitRate
)) != EqualTo
)
10951 return PASN_Sequence::Compare(other
);
10955 PINDEX
H245_VCCapability_availableBitRates_type_rangeOfBitRates::GetDataLength() const
10958 length
+= m_lowerBitRate
.GetObjectLength();
10959 length
+= m_higherBitRate
.GetObjectLength();
10964 BOOL
H245_VCCapability_availableBitRates_type_rangeOfBitRates::Decode(PASN_Stream
& strm
)
10966 if (!PreambleDecode(strm
))
10969 if (!m_lowerBitRate
.Decode(strm
))
10971 if (!m_higherBitRate
.Decode(strm
))
10974 return UnknownExtensionsDecode(strm
);
10978 void H245_VCCapability_availableBitRates_type_rangeOfBitRates::Encode(PASN_Stream
& strm
) const
10980 PreambleEncode(strm
);
10982 m_lowerBitRate
.Encode(strm
);
10983 m_higherBitRate
.Encode(strm
);
10985 UnknownExtensionsEncode(strm
);
10989 PObject
* H245_VCCapability_availableBitRates_type_rangeOfBitRates::Clone() const
10991 #ifndef PASN_LEANANDMEAN
10992 PAssert(IsClass(H245_VCCapability_availableBitRates_type_rangeOfBitRates::Class()), PInvalidCast
);
10994 return new H245_VCCapability_availableBitRates_type_rangeOfBitRates(*this);
10999 // CustomPictureFormat_mPI_customPCF_subtype
11002 H245_CustomPictureFormat_mPI_customPCF_subtype::H245_CustomPictureFormat_mPI_customPCF_subtype(unsigned tag
, PASN_Object::TagClass tagClass
)
11003 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
11005 m_clockConversionCode
.SetConstraints(PASN_Object::FixedConstraint
, 1000, 1001);
11006 m_clockDivisor
.SetConstraints(PASN_Object::FixedConstraint
, 1, 127);
11007 m_customMPI
.SetConstraints(PASN_Object::FixedConstraint
, 1, 2048);
11011 #ifndef PASN_NOPRINTON
11012 void H245_CustomPictureFormat_mPI_customPCF_subtype::PrintOn(ostream
& strm
) const
11014 int indent
= strm
.precision() + 2;
11016 strm
<< setw(indent
+22) << "clockConversionCode = " << setprecision(indent
) << m_clockConversionCode
<< '\n';
11017 strm
<< setw(indent
+15) << "clockDivisor = " << setprecision(indent
) << m_clockDivisor
<< '\n';
11018 strm
<< setw(indent
+12) << "customMPI = " << setprecision(indent
) << m_customMPI
<< '\n';
11019 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
11024 PObject::Comparison
H245_CustomPictureFormat_mPI_customPCF_subtype::Compare(const PObject
& obj
) const
11026 #ifndef PASN_LEANANDMEAN
11027 PAssert(PIsDescendant(&obj
, H245_CustomPictureFormat_mPI_customPCF_subtype
), PInvalidCast
);
11029 const H245_CustomPictureFormat_mPI_customPCF_subtype
& other
= (const H245_CustomPictureFormat_mPI_customPCF_subtype
&)obj
;
11033 if ((result
= m_clockConversionCode
.Compare(other
.m_clockConversionCode
)) != EqualTo
)
11035 if ((result
= m_clockDivisor
.Compare(other
.m_clockDivisor
)) != EqualTo
)
11037 if ((result
= m_customMPI
.Compare(other
.m_customMPI
)) != EqualTo
)
11040 return PASN_Sequence::Compare(other
);
11044 PINDEX
H245_CustomPictureFormat_mPI_customPCF_subtype::GetDataLength() const
11047 length
+= m_clockConversionCode
.GetObjectLength();
11048 length
+= m_clockDivisor
.GetObjectLength();
11049 length
+= m_customMPI
.GetObjectLength();
11054 BOOL
H245_CustomPictureFormat_mPI_customPCF_subtype::Decode(PASN_Stream
& strm
)
11056 if (!PreambleDecode(strm
))
11059 if (!m_clockConversionCode
.Decode(strm
))
11061 if (!m_clockDivisor
.Decode(strm
))
11063 if (!m_customMPI
.Decode(strm
))
11066 return UnknownExtensionsDecode(strm
);
11070 void H245_CustomPictureFormat_mPI_customPCF_subtype::Encode(PASN_Stream
& strm
) const
11072 PreambleEncode(strm
);
11074 m_clockConversionCode
.Encode(strm
);
11075 m_clockDivisor
.Encode(strm
);
11076 m_customMPI
.Encode(strm
);
11078 UnknownExtensionsEncode(strm
);
11082 PObject
* H245_CustomPictureFormat_mPI_customPCF_subtype::Clone() const
11084 #ifndef PASN_LEANANDMEAN
11085 PAssert(IsClass(H245_CustomPictureFormat_mPI_customPCF_subtype::Class()), PInvalidCast
);
11087 return new H245_CustomPictureFormat_mPI_customPCF_subtype(*this);
11092 // CustomPictureFormat_pixelAspectInformation_extendedPAR_subtype
11095 H245_CustomPictureFormat_pixelAspectInformation_extendedPAR_subtype::H245_CustomPictureFormat_pixelAspectInformation_extendedPAR_subtype(unsigned tag
, PASN_Object::TagClass tagClass
)
11096 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
11098 m_width
.SetConstraints(PASN_Object::FixedConstraint
, 1, 255);
11099 m_height
.SetConstraints(PASN_Object::FixedConstraint
, 1, 255);
11103 #ifndef PASN_NOPRINTON
11104 void H245_CustomPictureFormat_pixelAspectInformation_extendedPAR_subtype::PrintOn(ostream
& strm
) const
11106 int indent
= strm
.precision() + 2;
11108 strm
<< setw(indent
+8) << "width = " << setprecision(indent
) << m_width
<< '\n';
11109 strm
<< setw(indent
+9) << "height = " << setprecision(indent
) << m_height
<< '\n';
11110 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
11115 PObject::Comparison
H245_CustomPictureFormat_pixelAspectInformation_extendedPAR_subtype::Compare(const PObject
& obj
) const
11117 #ifndef PASN_LEANANDMEAN
11118 PAssert(PIsDescendant(&obj
, H245_CustomPictureFormat_pixelAspectInformation_extendedPAR_subtype
), PInvalidCast
);
11120 const H245_CustomPictureFormat_pixelAspectInformation_extendedPAR_subtype
& other
= (const H245_CustomPictureFormat_pixelAspectInformation_extendedPAR_subtype
&)obj
;
11124 if ((result
= m_width
.Compare(other
.m_width
)) != EqualTo
)
11126 if ((result
= m_height
.Compare(other
.m_height
)) != EqualTo
)
11129 return PASN_Sequence::Compare(other
);
11133 PINDEX
H245_CustomPictureFormat_pixelAspectInformation_extendedPAR_subtype::GetDataLength() const
11136 length
+= m_width
.GetObjectLength();
11137 length
+= m_height
.GetObjectLength();
11142 BOOL
H245_CustomPictureFormat_pixelAspectInformation_extendedPAR_subtype::Decode(PASN_Stream
& strm
)
11144 if (!PreambleDecode(strm
))
11147 if (!m_width
.Decode(strm
))
11149 if (!m_height
.Decode(strm
))
11152 return UnknownExtensionsDecode(strm
);
11156 void H245_CustomPictureFormat_pixelAspectInformation_extendedPAR_subtype::Encode(PASN_Stream
& strm
) const
11158 PreambleEncode(strm
);
11160 m_width
.Encode(strm
);
11161 m_height
.Encode(strm
);
11163 UnknownExtensionsEncode(strm
);
11167 PObject
* H245_CustomPictureFormat_pixelAspectInformation_extendedPAR_subtype::Clone() const
11169 #ifndef PASN_LEANANDMEAN
11170 PAssert(IsClass(H245_CustomPictureFormat_pixelAspectInformation_extendedPAR_subtype::Class()), PInvalidCast
);
11172 return new H245_CustomPictureFormat_pixelAspectInformation_extendedPAR_subtype(*this);
11177 #ifndef PASN_NOPRINTON
11178 const static PASN_Names Names_H245_V76LogicalChannelParameters_mode_eRM_recovery
[]={
11185 // V76LogicalChannelParameters_mode_eRM_recovery
11188 H245_V76LogicalChannelParameters_mode_eRM_recovery::H245_V76LogicalChannelParameters_mode_eRM_recovery(unsigned tag
, PASN_Object::TagClass tagClass
)
11189 : PASN_Choice(tag
, tagClass
, 3, TRUE
11190 #ifndef PASN_NOPRINTON
11191 ,(const PASN_Names
*)Names_H245_V76LogicalChannelParameters_mode_eRM_recovery
,3
11198 BOOL
H245_V76LogicalChannelParameters_mode_eRM_recovery::CreateObject()
11200 choice
= (tag
<= e_mSREJ
) ? new PASN_Null() : NULL
;
11201 return choice
!= NULL
;
11205 PObject
* H245_V76LogicalChannelParameters_mode_eRM_recovery::Clone() const
11207 #ifndef PASN_LEANANDMEAN
11208 PAssert(IsClass(H245_V76LogicalChannelParameters_mode_eRM_recovery::Class()), PInvalidCast
);
11210 return new H245_V76LogicalChannelParameters_mode_eRM_recovery(*this);
11215 #ifndef PASN_NOPRINTON
11216 const static PASN_Names Names_H245_DepFECData_rfc2733_mode_separateStream
[]={
11217 {"differentPort",0}
11222 // DepFECData_rfc2733_mode_separateStream
11225 H245_DepFECData_rfc2733_mode_separateStream::H245_DepFECData_rfc2733_mode_separateStream(unsigned tag
, PASN_Object::TagClass tagClass
)
11226 : PASN_Choice(tag
, tagClass
, 2, TRUE
11227 #ifndef PASN_NOPRINTON
11228 ,(const PASN_Names
*)Names_H245_DepFECData_rfc2733_mode_separateStream
,2
11235 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
11236 H245_DepFECData_rfc2733_mode_separateStream::operator H245_DepFECData_rfc2733_mode_separateStream_differentPort
&() const
11238 H245_DepFECData_rfc2733_mode_separateStream::operator H245_DepFECData_rfc2733_mode_separateStream_differentPort
&()
11240 #ifndef PASN_LEANANDMEAN
11241 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DepFECData_rfc2733_mode_separateStream_differentPort
), PInvalidCast
);
11243 return *(H245_DepFECData_rfc2733_mode_separateStream_differentPort
*)choice
;
11247 H245_DepFECData_rfc2733_mode_separateStream::operator const H245_DepFECData_rfc2733_mode_separateStream_differentPort
&() const
11250 #ifndef PASN_LEANANDMEAN
11251 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DepFECData_rfc2733_mode_separateStream_differentPort
), PInvalidCast
);
11253 return *(H245_DepFECData_rfc2733_mode_separateStream_differentPort
*)choice
;
11257 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
11258 H245_DepFECData_rfc2733_mode_separateStream::operator H245_DepFECData_rfc2733_mode_separateStream_samePort
&() const
11260 H245_DepFECData_rfc2733_mode_separateStream::operator H245_DepFECData_rfc2733_mode_separateStream_samePort
&()
11262 #ifndef PASN_LEANANDMEAN
11263 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DepFECData_rfc2733_mode_separateStream_samePort
), PInvalidCast
);
11265 return *(H245_DepFECData_rfc2733_mode_separateStream_samePort
*)choice
;
11269 H245_DepFECData_rfc2733_mode_separateStream::operator const H245_DepFECData_rfc2733_mode_separateStream_samePort
&() const
11272 #ifndef PASN_LEANANDMEAN
11273 PAssert(PIsDescendant(PAssertNULL(choice
), H245_DepFECData_rfc2733_mode_separateStream_samePort
), PInvalidCast
);
11275 return *(H245_DepFECData_rfc2733_mode_separateStream_samePort
*)choice
;
11279 BOOL
H245_DepFECData_rfc2733_mode_separateStream::CreateObject()
11282 case e_differentPort
:
11283 choice
= new H245_DepFECData_rfc2733_mode_separateStream_differentPort();
11286 choice
= new H245_DepFECData_rfc2733_mode_separateStream_samePort();
11295 PObject
* H245_DepFECData_rfc2733_mode_separateStream::Clone() const
11297 #ifndef PASN_LEANANDMEAN
11298 PAssert(IsClass(H245_DepFECData_rfc2733_mode_separateStream::Class()), PInvalidCast
);
11300 return new H245_DepFECData_rfc2733_mode_separateStream(*this);
11305 // FECData_rfc2733_pktMode_rfc2733sameport
11308 H245_FECData_rfc2733_pktMode_rfc2733sameport::H245_FECData_rfc2733_pktMode_rfc2733sameport(unsigned tag
, PASN_Object::TagClass tagClass
)
11309 : PASN_Sequence(tag
, tagClass
, 0, TRUE
, 0)
11314 #ifndef PASN_NOPRINTON
11315 void H245_FECData_rfc2733_pktMode_rfc2733sameport::PrintOn(ostream
& strm
) const
11317 int indent
= strm
.precision() + 2;
11319 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
11324 PINDEX
H245_FECData_rfc2733_pktMode_rfc2733sameport::GetDataLength() const
11331 BOOL
H245_FECData_rfc2733_pktMode_rfc2733sameport::Decode(PASN_Stream
& strm
)
11333 if (!PreambleDecode(strm
))
11337 return UnknownExtensionsDecode(strm
);
11341 void H245_FECData_rfc2733_pktMode_rfc2733sameport::Encode(PASN_Stream
& strm
) const
11343 PreambleEncode(strm
);
11346 UnknownExtensionsEncode(strm
);
11350 PObject
* H245_FECData_rfc2733_pktMode_rfc2733sameport::Clone() const
11352 #ifndef PASN_LEANANDMEAN
11353 PAssert(IsClass(H245_FECData_rfc2733_pktMode_rfc2733sameport::Class()), PInvalidCast
);
11355 return new H245_FECData_rfc2733_pktMode_rfc2733sameport(*this);
11359 #endif // if ! H323_DISABLE_H245
11362 // End of h245_2.cxx