4 // Code automatically generated by asnparse.
8 #pragma implementation "h4505.h"
17 #if ! H323_DISABLE_H4505
21 #ifndef PASN_NOPRINTON
22 const static PASN_Names Names_H4505_CallParkPickupOperations
[]={
25 ,{"groupIndicationOn",8}
26 ,{"groupIndicationOff",9}
31 ,{"cpickupNotify",114}
35 // CallParkPickupOperations
38 H4505_CallParkPickupOperations::H4505_CallParkPickupOperations(unsigned tag
, PASN_Object::TagClass tagClass
)
39 : PASN_Enumeration(tag
, tagClass
, 114, FALSE
40 #ifndef PASN_NOPRINTON
41 ,(const PASN_Names
*)Names_H4505_CallParkPickupOperations
,9
48 H4505_CallParkPickupOperations
& H4505_CallParkPickupOperations::operator=(unsigned v
)
55 PObject
* H4505_CallParkPickupOperations::Clone() const
57 #ifndef PASN_LEANANDMEAN
58 PAssert(IsClass(H4505_CallParkPickupOperations::Class()), PInvalidCast
);
60 return new H4505_CallParkPickupOperations(*this);
68 H4505_ParkedToPosition::H4505_ParkedToPosition(unsigned tag
, PASN_Object::TagClass tagClass
)
69 : PASN_Integer(tag
, tagClass
)
71 SetConstraints(PASN_Object::FixedConstraint
, 0, 65535);
75 H4505_ParkedToPosition
& H4505_ParkedToPosition::operator=(int v
)
82 H4505_ParkedToPosition
& H4505_ParkedToPosition::operator=(unsigned v
)
89 PObject
* H4505_ParkedToPosition::Clone() const
91 #ifndef PASN_LEANANDMEAN
92 PAssert(IsClass(H4505_ParkedToPosition::Class()), PInvalidCast
);
94 return new H4505_ParkedToPosition(*this);
98 #ifndef PASN_NOPRINTON
99 const static PASN_Names Names_H4505_ParkCondition
[]={
101 ,{"parkedToUserIdle",1}
102 ,{"parkedToUserBusy",2}
110 H4505_ParkCondition::H4505_ParkCondition(unsigned tag
, PASN_Object::TagClass tagClass
)
111 : PASN_Enumeration(tag
, tagClass
, 3, TRUE
112 #ifndef PASN_NOPRINTON
113 ,(const PASN_Names
*)Names_H4505_ParkCondition
,4
120 H4505_ParkCondition
& H4505_ParkCondition::operator=(unsigned v
)
127 PObject
* H4505_ParkCondition::Clone() const
129 #ifndef PASN_LEANANDMEAN
130 PAssert(IsClass(H4505_ParkCondition::Class()), PInvalidCast
);
132 return new H4505_ParkCondition(*this);
136 #ifndef PASN_NOPRINTON
137 const static PASN_Names Names_H4505_CallType
[]={
146 H4505_CallType::H4505_CallType(unsigned tag
, PASN_Object::TagClass tagClass
)
147 : PASN_Enumeration(tag
, tagClass
, 1, TRUE
148 #ifndef PASN_NOPRINTON
149 ,(const PASN_Names
*)Names_H4505_CallType
,2
156 H4505_CallType
& H4505_CallType::operator=(unsigned v
)
163 PObject
* H4505_CallType::Clone() const
165 #ifndef PASN_LEANANDMEAN
166 PAssert(IsClass(H4505_CallType::Class()), PInvalidCast
);
168 return new H4505_CallType(*this);
172 #ifndef PASN_NOPRINTON
173 const static PASN_Names Names_H4505_CallPickupErrors
[]={
174 {"callPickupIdInvalid",2000}
175 ,{"callAlreadyPickedUp",2001}
183 H4505_CallPickupErrors::H4505_CallPickupErrors(unsigned tag
, PASN_Object::TagClass tagClass
)
184 : PASN_Enumeration(tag
, tagClass
, 2002, FALSE
185 #ifndef PASN_NOPRINTON
186 ,(const PASN_Names
*)Names_H4505_CallPickupErrors
,3
193 H4505_CallPickupErrors
& H4505_CallPickupErrors::operator=(unsigned v
)
200 PObject
* H4505_CallPickupErrors::Clone() const
202 #ifndef PASN_LEANANDMEAN
203 PAssert(IsClass(H4505_CallPickupErrors::Class()), PInvalidCast
);
205 return new H4505_CallPickupErrors(*this);
210 // ArrayOf_MixedExtension
213 H4505_ArrayOf_MixedExtension::H4505_ArrayOf_MixedExtension(unsigned tag
, PASN_Object::TagClass tagClass
)
214 : PASN_Array(tag
, tagClass
)
219 PASN_Object
* H4505_ArrayOf_MixedExtension::CreateObject() const
221 return new H4504_MixedExtension
;
225 H4504_MixedExtension
& H4505_ArrayOf_MixedExtension::operator[](PINDEX i
) const
227 return (H4504_MixedExtension
&)array
[i
];
231 PObject
* H4505_ArrayOf_MixedExtension::Clone() const
233 #ifndef PASN_LEANANDMEAN
234 PAssert(IsClass(H4505_ArrayOf_MixedExtension::Class()), PInvalidCast
);
236 return new H4505_ArrayOf_MixedExtension(*this);
244 H4505_CpRequestArg::H4505_CpRequestArg(unsigned tag
, PASN_Object::TagClass tagClass
)
245 : PASN_Sequence(tag
, tagClass
, 2, TRUE
, 0)
247 m_extensionArg
.SetConstraints(PASN_Object::FixedConstraint
, 0, 255);
251 #ifndef PASN_NOPRINTON
252 void H4505_CpRequestArg::PrintOn(ostream
& strm
) const
254 int indent
= strm
.precision() + 2;
256 strm
<< setw(indent
+16) << "parkingNumber = " << setprecision(indent
) << m_parkingNumber
<< '\n';
257 strm
<< setw(indent
+15) << "parkedNumber = " << setprecision(indent
) << m_parkedNumber
<< '\n';
258 strm
<< setw(indent
+17) << "parkedToNumber = " << setprecision(indent
) << m_parkedToNumber
<< '\n';
259 if (HasOptionalField(e_parkedToPosition
))
260 strm
<< setw(indent
+19) << "parkedToPosition = " << setprecision(indent
) << m_parkedToPosition
<< '\n';
261 if (HasOptionalField(e_extensionArg
))
262 strm
<< setw(indent
+15) << "extensionArg = " << setprecision(indent
) << m_extensionArg
<< '\n';
263 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
268 PObject::Comparison
H4505_CpRequestArg::Compare(const PObject
& obj
) const
270 #ifndef PASN_LEANANDMEAN
271 PAssert(PIsDescendant(&obj
, H4505_CpRequestArg
), PInvalidCast
);
273 const H4505_CpRequestArg
& other
= (const H4505_CpRequestArg
&)obj
;
277 if ((result
= m_parkingNumber
.Compare(other
.m_parkingNumber
)) != EqualTo
)
279 if ((result
= m_parkedNumber
.Compare(other
.m_parkedNumber
)) != EqualTo
)
281 if ((result
= m_parkedToNumber
.Compare(other
.m_parkedToNumber
)) != EqualTo
)
283 if ((result
= m_parkedToPosition
.Compare(other
.m_parkedToPosition
)) != EqualTo
)
285 if ((result
= m_extensionArg
.Compare(other
.m_extensionArg
)) != EqualTo
)
288 return PASN_Sequence::Compare(other
);
292 PINDEX
H4505_CpRequestArg::GetDataLength() const
295 length
+= m_parkingNumber
.GetObjectLength();
296 length
+= m_parkedNumber
.GetObjectLength();
297 length
+= m_parkedToNumber
.GetObjectLength();
298 if (HasOptionalField(e_parkedToPosition
))
299 length
+= m_parkedToPosition
.GetObjectLength();
300 if (HasOptionalField(e_extensionArg
))
301 length
+= m_extensionArg
.GetObjectLength();
306 BOOL
H4505_CpRequestArg::Decode(PASN_Stream
& strm
)
308 if (!PreambleDecode(strm
))
311 if (!m_parkingNumber
.Decode(strm
))
313 if (!m_parkedNumber
.Decode(strm
))
315 if (!m_parkedToNumber
.Decode(strm
))
317 if (HasOptionalField(e_parkedToPosition
) && !m_parkedToPosition
.Decode(strm
))
319 if (HasOptionalField(e_extensionArg
) && !m_extensionArg
.Decode(strm
))
322 return UnknownExtensionsDecode(strm
);
326 void H4505_CpRequestArg::Encode(PASN_Stream
& strm
) const
328 PreambleEncode(strm
);
330 m_parkingNumber
.Encode(strm
);
331 m_parkedNumber
.Encode(strm
);
332 m_parkedToNumber
.Encode(strm
);
333 if (HasOptionalField(e_parkedToPosition
))
334 m_parkedToPosition
.Encode(strm
);
335 if (HasOptionalField(e_extensionArg
))
336 m_extensionArg
.Encode(strm
);
338 UnknownExtensionsEncode(strm
);
342 PObject
* H4505_CpRequestArg::Clone() const
344 #ifndef PASN_LEANANDMEAN
345 PAssert(IsClass(H4505_CpRequestArg::Class()), PInvalidCast
);
347 return new H4505_CpRequestArg(*this);
355 H4505_CpRequestRes::H4505_CpRequestRes(unsigned tag
, PASN_Object::TagClass tagClass
)
356 : PASN_Sequence(tag
, tagClass
, 2, TRUE
, 0)
358 m_extensionRes
.SetConstraints(PASN_Object::FixedConstraint
, 0, 255);
362 #ifndef PASN_NOPRINTON
363 void H4505_CpRequestRes::PrintOn(ostream
& strm
) const
365 int indent
= strm
.precision() + 2;
367 strm
<< setw(indent
+17) << "parkedToNumber = " << setprecision(indent
) << m_parkedToNumber
<< '\n';
368 if (HasOptionalField(e_parkedToPosition
))
369 strm
<< setw(indent
+19) << "parkedToPosition = " << setprecision(indent
) << m_parkedToPosition
<< '\n';
370 strm
<< setw(indent
+16) << "parkCondition = " << setprecision(indent
) << m_parkCondition
<< '\n';
371 if (HasOptionalField(e_extensionRes
))
372 strm
<< setw(indent
+15) << "extensionRes = " << setprecision(indent
) << m_extensionRes
<< '\n';
373 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
378 PObject::Comparison
H4505_CpRequestRes::Compare(const PObject
& obj
) const
380 #ifndef PASN_LEANANDMEAN
381 PAssert(PIsDescendant(&obj
, H4505_CpRequestRes
), PInvalidCast
);
383 const H4505_CpRequestRes
& other
= (const H4505_CpRequestRes
&)obj
;
387 if ((result
= m_parkedToNumber
.Compare(other
.m_parkedToNumber
)) != EqualTo
)
389 if ((result
= m_parkedToPosition
.Compare(other
.m_parkedToPosition
)) != EqualTo
)
391 if ((result
= m_parkCondition
.Compare(other
.m_parkCondition
)) != EqualTo
)
393 if ((result
= m_extensionRes
.Compare(other
.m_extensionRes
)) != EqualTo
)
396 return PASN_Sequence::Compare(other
);
400 PINDEX
H4505_CpRequestRes::GetDataLength() const
403 length
+= m_parkedToNumber
.GetObjectLength();
404 if (HasOptionalField(e_parkedToPosition
))
405 length
+= m_parkedToPosition
.GetObjectLength();
406 length
+= m_parkCondition
.GetObjectLength();
407 if (HasOptionalField(e_extensionRes
))
408 length
+= m_extensionRes
.GetObjectLength();
413 BOOL
H4505_CpRequestRes::Decode(PASN_Stream
& strm
)
415 if (!PreambleDecode(strm
))
418 if (!m_parkedToNumber
.Decode(strm
))
420 if (HasOptionalField(e_parkedToPosition
) && !m_parkedToPosition
.Decode(strm
))
422 if (!m_parkCondition
.Decode(strm
))
424 if (HasOptionalField(e_extensionRes
) && !m_extensionRes
.Decode(strm
))
427 return UnknownExtensionsDecode(strm
);
431 void H4505_CpRequestRes::Encode(PASN_Stream
& strm
) const
433 PreambleEncode(strm
);
435 m_parkedToNumber
.Encode(strm
);
436 if (HasOptionalField(e_parkedToPosition
))
437 m_parkedToPosition
.Encode(strm
);
438 m_parkCondition
.Encode(strm
);
439 if (HasOptionalField(e_extensionRes
))
440 m_extensionRes
.Encode(strm
);
442 UnknownExtensionsEncode(strm
);
446 PObject
* H4505_CpRequestRes::Clone() const
448 #ifndef PASN_LEANANDMEAN
449 PAssert(IsClass(H4505_CpRequestRes::Class()), PInvalidCast
);
451 return new H4505_CpRequestRes(*this);
459 H4505_CpSetupArg::H4505_CpSetupArg(unsigned tag
, PASN_Object::TagClass tagClass
)
460 : PASN_Sequence(tag
, tagClass
, 2, TRUE
, 0)
462 m_extensionArg
.SetConstraints(PASN_Object::FixedConstraint
, 0, 255);
466 #ifndef PASN_NOPRINTON
467 void H4505_CpSetupArg::PrintOn(ostream
& strm
) const
469 int indent
= strm
.precision() + 2;
471 strm
<< setw(indent
+16) << "parkingNumber = " << setprecision(indent
) << m_parkingNumber
<< '\n';
472 strm
<< setw(indent
+15) << "parkedNumber = " << setprecision(indent
) << m_parkedNumber
<< '\n';
473 strm
<< setw(indent
+17) << "parkedToNumber = " << setprecision(indent
) << m_parkedToNumber
<< '\n';
474 if (HasOptionalField(e_parkedToPosition
))
475 strm
<< setw(indent
+19) << "parkedToPosition = " << setprecision(indent
) << m_parkedToPosition
<< '\n';
476 if (HasOptionalField(e_extensionArg
))
477 strm
<< setw(indent
+15) << "extensionArg = " << setprecision(indent
) << m_extensionArg
<< '\n';
478 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
483 PObject::Comparison
H4505_CpSetupArg::Compare(const PObject
& obj
) const
485 #ifndef PASN_LEANANDMEAN
486 PAssert(PIsDescendant(&obj
, H4505_CpSetupArg
), PInvalidCast
);
488 const H4505_CpSetupArg
& other
= (const H4505_CpSetupArg
&)obj
;
492 if ((result
= m_parkingNumber
.Compare(other
.m_parkingNumber
)) != EqualTo
)
494 if ((result
= m_parkedNumber
.Compare(other
.m_parkedNumber
)) != EqualTo
)
496 if ((result
= m_parkedToNumber
.Compare(other
.m_parkedToNumber
)) != EqualTo
)
498 if ((result
= m_parkedToPosition
.Compare(other
.m_parkedToPosition
)) != EqualTo
)
500 if ((result
= m_extensionArg
.Compare(other
.m_extensionArg
)) != EqualTo
)
503 return PASN_Sequence::Compare(other
);
507 PINDEX
H4505_CpSetupArg::GetDataLength() const
510 length
+= m_parkingNumber
.GetObjectLength();
511 length
+= m_parkedNumber
.GetObjectLength();
512 length
+= m_parkedToNumber
.GetObjectLength();
513 if (HasOptionalField(e_parkedToPosition
))
514 length
+= m_parkedToPosition
.GetObjectLength();
515 if (HasOptionalField(e_extensionArg
))
516 length
+= m_extensionArg
.GetObjectLength();
521 BOOL
H4505_CpSetupArg::Decode(PASN_Stream
& strm
)
523 if (!PreambleDecode(strm
))
526 if (!m_parkingNumber
.Decode(strm
))
528 if (!m_parkedNumber
.Decode(strm
))
530 if (!m_parkedToNumber
.Decode(strm
))
532 if (HasOptionalField(e_parkedToPosition
) && !m_parkedToPosition
.Decode(strm
))
534 if (HasOptionalField(e_extensionArg
) && !m_extensionArg
.Decode(strm
))
537 return UnknownExtensionsDecode(strm
);
541 void H4505_CpSetupArg::Encode(PASN_Stream
& strm
) const
543 PreambleEncode(strm
);
545 m_parkingNumber
.Encode(strm
);
546 m_parkedNumber
.Encode(strm
);
547 m_parkedToNumber
.Encode(strm
);
548 if (HasOptionalField(e_parkedToPosition
))
549 m_parkedToPosition
.Encode(strm
);
550 if (HasOptionalField(e_extensionArg
))
551 m_extensionArg
.Encode(strm
);
553 UnknownExtensionsEncode(strm
);
557 PObject
* H4505_CpSetupArg::Clone() const
559 #ifndef PASN_LEANANDMEAN
560 PAssert(IsClass(H4505_CpSetupArg::Class()), PInvalidCast
);
562 return new H4505_CpSetupArg(*this);
570 H4505_CpSetupRes::H4505_CpSetupRes(unsigned tag
, PASN_Object::TagClass tagClass
)
571 : PASN_Sequence(tag
, tagClass
, 2, TRUE
, 0)
573 m_extensionRes
.SetConstraints(PASN_Object::FixedConstraint
, 0, 255);
577 #ifndef PASN_NOPRINTON
578 void H4505_CpSetupRes::PrintOn(ostream
& strm
) const
580 int indent
= strm
.precision() + 2;
582 strm
<< setw(indent
+17) << "parkedToNumber = " << setprecision(indent
) << m_parkedToNumber
<< '\n';
583 if (HasOptionalField(e_parkedToPosition
))
584 strm
<< setw(indent
+19) << "parkedToPosition = " << setprecision(indent
) << m_parkedToPosition
<< '\n';
585 strm
<< setw(indent
+16) << "parkCondition = " << setprecision(indent
) << m_parkCondition
<< '\n';
586 if (HasOptionalField(e_extensionRes
))
587 strm
<< setw(indent
+15) << "extensionRes = " << setprecision(indent
) << m_extensionRes
<< '\n';
588 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
593 PObject::Comparison
H4505_CpSetupRes::Compare(const PObject
& obj
) const
595 #ifndef PASN_LEANANDMEAN
596 PAssert(PIsDescendant(&obj
, H4505_CpSetupRes
), PInvalidCast
);
598 const H4505_CpSetupRes
& other
= (const H4505_CpSetupRes
&)obj
;
602 if ((result
= m_parkedToNumber
.Compare(other
.m_parkedToNumber
)) != EqualTo
)
604 if ((result
= m_parkedToPosition
.Compare(other
.m_parkedToPosition
)) != EqualTo
)
606 if ((result
= m_parkCondition
.Compare(other
.m_parkCondition
)) != EqualTo
)
608 if ((result
= m_extensionRes
.Compare(other
.m_extensionRes
)) != EqualTo
)
611 return PASN_Sequence::Compare(other
);
615 PINDEX
H4505_CpSetupRes::GetDataLength() const
618 length
+= m_parkedToNumber
.GetObjectLength();
619 if (HasOptionalField(e_parkedToPosition
))
620 length
+= m_parkedToPosition
.GetObjectLength();
621 length
+= m_parkCondition
.GetObjectLength();
622 if (HasOptionalField(e_extensionRes
))
623 length
+= m_extensionRes
.GetObjectLength();
628 BOOL
H4505_CpSetupRes::Decode(PASN_Stream
& strm
)
630 if (!PreambleDecode(strm
))
633 if (!m_parkedToNumber
.Decode(strm
))
635 if (HasOptionalField(e_parkedToPosition
) && !m_parkedToPosition
.Decode(strm
))
637 if (!m_parkCondition
.Decode(strm
))
639 if (HasOptionalField(e_extensionRes
) && !m_extensionRes
.Decode(strm
))
642 return UnknownExtensionsDecode(strm
);
646 void H4505_CpSetupRes::Encode(PASN_Stream
& strm
) const
648 PreambleEncode(strm
);
650 m_parkedToNumber
.Encode(strm
);
651 if (HasOptionalField(e_parkedToPosition
))
652 m_parkedToPosition
.Encode(strm
);
653 m_parkCondition
.Encode(strm
);
654 if (HasOptionalField(e_extensionRes
))
655 m_extensionRes
.Encode(strm
);
657 UnknownExtensionsEncode(strm
);
661 PObject
* H4505_CpSetupRes::Clone() const
663 #ifndef PASN_LEANANDMEAN
664 PAssert(IsClass(H4505_CpSetupRes::Class()), PInvalidCast
);
666 return new H4505_CpSetupRes(*this);
671 // GroupIndicationOnArg
674 H4505_GroupIndicationOnArg::H4505_GroupIndicationOnArg(unsigned tag
, PASN_Object::TagClass tagClass
)
675 : PASN_Sequence(tag
, tagClass
, 2, TRUE
, 0)
677 m_extensionArg
.SetConstraints(PASN_Object::FixedConstraint
, 0, 255);
681 #ifndef PASN_NOPRINTON
682 void H4505_GroupIndicationOnArg::PrintOn(ostream
& strm
) const
684 int indent
= strm
.precision() + 2;
686 strm
<< setw(indent
+15) << "callPickupId = " << setprecision(indent
) << m_callPickupId
<< '\n';
687 strm
<< setw(indent
+20) << "groupMemberUserNr = " << setprecision(indent
) << m_groupMemberUserNr
<< '\n';
688 strm
<< setw(indent
+19) << "retrieveCallType = " << setprecision(indent
) << m_retrieveCallType
<< '\n';
689 strm
<< setw(indent
+18) << "partyToRetrieve = " << setprecision(indent
) << m_partyToRetrieve
<< '\n';
690 strm
<< setw(indent
+18) << "retrieveAddress = " << setprecision(indent
) << m_retrieveAddress
<< '\n';
691 if (HasOptionalField(e_parkPosition
))
692 strm
<< setw(indent
+15) << "parkPosition = " << setprecision(indent
) << m_parkPosition
<< '\n';
693 if (HasOptionalField(e_extensionArg
))
694 strm
<< setw(indent
+15) << "extensionArg = " << setprecision(indent
) << m_extensionArg
<< '\n';
695 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
700 PObject::Comparison
H4505_GroupIndicationOnArg::Compare(const PObject
& obj
) const
702 #ifndef PASN_LEANANDMEAN
703 PAssert(PIsDescendant(&obj
, H4505_GroupIndicationOnArg
), PInvalidCast
);
705 const H4505_GroupIndicationOnArg
& other
= (const H4505_GroupIndicationOnArg
&)obj
;
709 if ((result
= m_callPickupId
.Compare(other
.m_callPickupId
)) != EqualTo
)
711 if ((result
= m_groupMemberUserNr
.Compare(other
.m_groupMemberUserNr
)) != EqualTo
)
713 if ((result
= m_retrieveCallType
.Compare(other
.m_retrieveCallType
)) != EqualTo
)
715 if ((result
= m_partyToRetrieve
.Compare(other
.m_partyToRetrieve
)) != EqualTo
)
717 if ((result
= m_retrieveAddress
.Compare(other
.m_retrieveAddress
)) != EqualTo
)
719 if ((result
= m_parkPosition
.Compare(other
.m_parkPosition
)) != EqualTo
)
721 if ((result
= m_extensionArg
.Compare(other
.m_extensionArg
)) != EqualTo
)
724 return PASN_Sequence::Compare(other
);
728 PINDEX
H4505_GroupIndicationOnArg::GetDataLength() const
731 length
+= m_callPickupId
.GetObjectLength();
732 length
+= m_groupMemberUserNr
.GetObjectLength();
733 length
+= m_retrieveCallType
.GetObjectLength();
734 length
+= m_partyToRetrieve
.GetObjectLength();
735 length
+= m_retrieveAddress
.GetObjectLength();
736 if (HasOptionalField(e_parkPosition
))
737 length
+= m_parkPosition
.GetObjectLength();
738 if (HasOptionalField(e_extensionArg
))
739 length
+= m_extensionArg
.GetObjectLength();
744 BOOL
H4505_GroupIndicationOnArg::Decode(PASN_Stream
& strm
)
746 if (!PreambleDecode(strm
))
749 if (!m_callPickupId
.Decode(strm
))
751 if (!m_groupMemberUserNr
.Decode(strm
))
753 if (!m_retrieveCallType
.Decode(strm
))
755 if (!m_partyToRetrieve
.Decode(strm
))
757 if (!m_retrieveAddress
.Decode(strm
))
759 if (HasOptionalField(e_parkPosition
) && !m_parkPosition
.Decode(strm
))
761 if (HasOptionalField(e_extensionArg
) && !m_extensionArg
.Decode(strm
))
764 return UnknownExtensionsDecode(strm
);
768 void H4505_GroupIndicationOnArg::Encode(PASN_Stream
& strm
) const
770 PreambleEncode(strm
);
772 m_callPickupId
.Encode(strm
);
773 m_groupMemberUserNr
.Encode(strm
);
774 m_retrieveCallType
.Encode(strm
);
775 m_partyToRetrieve
.Encode(strm
);
776 m_retrieveAddress
.Encode(strm
);
777 if (HasOptionalField(e_parkPosition
))
778 m_parkPosition
.Encode(strm
);
779 if (HasOptionalField(e_extensionArg
))
780 m_extensionArg
.Encode(strm
);
782 UnknownExtensionsEncode(strm
);
786 PObject
* H4505_GroupIndicationOnArg::Clone() const
788 #ifndef PASN_LEANANDMEAN
789 PAssert(IsClass(H4505_GroupIndicationOnArg::Class()), PInvalidCast
);
791 return new H4505_GroupIndicationOnArg(*this);
796 // GroupIndicationOnRes
799 H4505_GroupIndicationOnRes::H4505_GroupIndicationOnRes(unsigned tag
, PASN_Object::TagClass tagClass
)
800 : PASN_Sequence(tag
, tagClass
, 1, TRUE
, 0)
802 m_extensionRes
.SetConstraints(PASN_Object::FixedConstraint
, 0, 255);
806 #ifndef PASN_NOPRINTON
807 void H4505_GroupIndicationOnRes::PrintOn(ostream
& strm
) const
809 int indent
= strm
.precision() + 2;
811 if (HasOptionalField(e_extensionRes
))
812 strm
<< setw(indent
+15) << "extensionRes = " << setprecision(indent
) << m_extensionRes
<< '\n';
813 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
818 PObject::Comparison
H4505_GroupIndicationOnRes::Compare(const PObject
& obj
) const
820 #ifndef PASN_LEANANDMEAN
821 PAssert(PIsDescendant(&obj
, H4505_GroupIndicationOnRes
), PInvalidCast
);
823 const H4505_GroupIndicationOnRes
& other
= (const H4505_GroupIndicationOnRes
&)obj
;
827 if ((result
= m_extensionRes
.Compare(other
.m_extensionRes
)) != EqualTo
)
830 return PASN_Sequence::Compare(other
);
834 PINDEX
H4505_GroupIndicationOnRes::GetDataLength() const
837 if (HasOptionalField(e_extensionRes
))
838 length
+= m_extensionRes
.GetObjectLength();
843 BOOL
H4505_GroupIndicationOnRes::Decode(PASN_Stream
& strm
)
845 if (!PreambleDecode(strm
))
848 if (HasOptionalField(e_extensionRes
) && !m_extensionRes
.Decode(strm
))
851 return UnknownExtensionsDecode(strm
);
855 void H4505_GroupIndicationOnRes::Encode(PASN_Stream
& strm
) const
857 PreambleEncode(strm
);
859 if (HasOptionalField(e_extensionRes
))
860 m_extensionRes
.Encode(strm
);
862 UnknownExtensionsEncode(strm
);
866 PObject
* H4505_GroupIndicationOnRes::Clone() const
868 #ifndef PASN_LEANANDMEAN
869 PAssert(IsClass(H4505_GroupIndicationOnRes::Class()), PInvalidCast
);
871 return new H4505_GroupIndicationOnRes(*this);
876 // GroupIndicationOffArg
879 H4505_GroupIndicationOffArg::H4505_GroupIndicationOffArg(unsigned tag
, PASN_Object::TagClass tagClass
)
880 : PASN_Sequence(tag
, tagClass
, 1, TRUE
, 0)
882 m_extensionArg
.SetConstraints(PASN_Object::FixedConstraint
, 0, 255);
886 #ifndef PASN_NOPRINTON
887 void H4505_GroupIndicationOffArg::PrintOn(ostream
& strm
) const
889 int indent
= strm
.precision() + 2;
891 strm
<< setw(indent
+15) << "callPickupId = " << setprecision(indent
) << m_callPickupId
<< '\n';
892 strm
<< setw(indent
+20) << "groupMemberUserNr = " << setprecision(indent
) << m_groupMemberUserNr
<< '\n';
893 if (HasOptionalField(e_extensionArg
))
894 strm
<< setw(indent
+15) << "extensionArg = " << setprecision(indent
) << m_extensionArg
<< '\n';
895 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
900 PObject::Comparison
H4505_GroupIndicationOffArg::Compare(const PObject
& obj
) const
902 #ifndef PASN_LEANANDMEAN
903 PAssert(PIsDescendant(&obj
, H4505_GroupIndicationOffArg
), PInvalidCast
);
905 const H4505_GroupIndicationOffArg
& other
= (const H4505_GroupIndicationOffArg
&)obj
;
909 if ((result
= m_callPickupId
.Compare(other
.m_callPickupId
)) != EqualTo
)
911 if ((result
= m_groupMemberUserNr
.Compare(other
.m_groupMemberUserNr
)) != EqualTo
)
913 if ((result
= m_extensionArg
.Compare(other
.m_extensionArg
)) != EqualTo
)
916 return PASN_Sequence::Compare(other
);
920 PINDEX
H4505_GroupIndicationOffArg::GetDataLength() const
923 length
+= m_callPickupId
.GetObjectLength();
924 length
+= m_groupMemberUserNr
.GetObjectLength();
925 if (HasOptionalField(e_extensionArg
))
926 length
+= m_extensionArg
.GetObjectLength();
931 BOOL
H4505_GroupIndicationOffArg::Decode(PASN_Stream
& strm
)
933 if (!PreambleDecode(strm
))
936 if (!m_callPickupId
.Decode(strm
))
938 if (!m_groupMemberUserNr
.Decode(strm
))
940 if (HasOptionalField(e_extensionArg
) && !m_extensionArg
.Decode(strm
))
943 return UnknownExtensionsDecode(strm
);
947 void H4505_GroupIndicationOffArg::Encode(PASN_Stream
& strm
) const
949 PreambleEncode(strm
);
951 m_callPickupId
.Encode(strm
);
952 m_groupMemberUserNr
.Encode(strm
);
953 if (HasOptionalField(e_extensionArg
))
954 m_extensionArg
.Encode(strm
);
956 UnknownExtensionsEncode(strm
);
960 PObject
* H4505_GroupIndicationOffArg::Clone() const
962 #ifndef PASN_LEANANDMEAN
963 PAssert(IsClass(H4505_GroupIndicationOffArg::Class()), PInvalidCast
);
965 return new H4505_GroupIndicationOffArg(*this);
970 // GroupIndicationOffRes
973 H4505_GroupIndicationOffRes::H4505_GroupIndicationOffRes(unsigned tag
, PASN_Object::TagClass tagClass
)
974 : PASN_Sequence(tag
, tagClass
, 1, TRUE
, 0)
976 m_extensionRes
.SetConstraints(PASN_Object::FixedConstraint
, 0, 255);
980 #ifndef PASN_NOPRINTON
981 void H4505_GroupIndicationOffRes::PrintOn(ostream
& strm
) const
983 int indent
= strm
.precision() + 2;
985 if (HasOptionalField(e_extensionRes
))
986 strm
<< setw(indent
+15) << "extensionRes = " << setprecision(indent
) << m_extensionRes
<< '\n';
987 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
992 PObject::Comparison
H4505_GroupIndicationOffRes::Compare(const PObject
& obj
) const
994 #ifndef PASN_LEANANDMEAN
995 PAssert(PIsDescendant(&obj
, H4505_GroupIndicationOffRes
), PInvalidCast
);
997 const H4505_GroupIndicationOffRes
& other
= (const H4505_GroupIndicationOffRes
&)obj
;
1001 if ((result
= m_extensionRes
.Compare(other
.m_extensionRes
)) != EqualTo
)
1004 return PASN_Sequence::Compare(other
);
1008 PINDEX
H4505_GroupIndicationOffRes::GetDataLength() const
1011 if (HasOptionalField(e_extensionRes
))
1012 length
+= m_extensionRes
.GetObjectLength();
1017 BOOL
H4505_GroupIndicationOffRes::Decode(PASN_Stream
& strm
)
1019 if (!PreambleDecode(strm
))
1022 if (HasOptionalField(e_extensionRes
) && !m_extensionRes
.Decode(strm
))
1025 return UnknownExtensionsDecode(strm
);
1029 void H4505_GroupIndicationOffRes::Encode(PASN_Stream
& strm
) const
1031 PreambleEncode(strm
);
1033 if (HasOptionalField(e_extensionRes
))
1034 m_extensionRes
.Encode(strm
);
1036 UnknownExtensionsEncode(strm
);
1040 PObject
* H4505_GroupIndicationOffRes::Clone() const
1042 #ifndef PASN_LEANANDMEAN
1043 PAssert(IsClass(H4505_GroupIndicationOffRes::Class()), PInvalidCast
);
1045 return new H4505_GroupIndicationOffRes(*this);
1053 H4505_PickrequArg::H4505_PickrequArg(unsigned tag
, PASN_Object::TagClass tagClass
)
1054 : PASN_Sequence(tag
, tagClass
, 4, TRUE
, 0)
1056 m_extensionArg
.SetConstraints(PASN_Object::FixedConstraint
, 0, 255);
1060 #ifndef PASN_NOPRINTON
1061 void H4505_PickrequArg::PrintOn(ostream
& strm
) const
1063 int indent
= strm
.precision() + 2;
1065 strm
<< setw(indent
+19) << "picking_upNumber = " << setprecision(indent
) << m_picking_upNumber
<< '\n';
1066 if (HasOptionalField(e_callPickupId
))
1067 strm
<< setw(indent
+15) << "callPickupId = " << setprecision(indent
) << m_callPickupId
<< '\n';
1068 if (HasOptionalField(e_partyToRetrieve
))
1069 strm
<< setw(indent
+18) << "partyToRetrieve = " << setprecision(indent
) << m_partyToRetrieve
<< '\n';
1070 strm
<< setw(indent
+18) << "retrieveAddress = " << setprecision(indent
) << m_retrieveAddress
<< '\n';
1071 if (HasOptionalField(e_parkPosition
))
1072 strm
<< setw(indent
+15) << "parkPosition = " << setprecision(indent
) << m_parkPosition
<< '\n';
1073 if (HasOptionalField(e_extensionArg
))
1074 strm
<< setw(indent
+15) << "extensionArg = " << setprecision(indent
) << m_extensionArg
<< '\n';
1075 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
1080 PObject::Comparison
H4505_PickrequArg::Compare(const PObject
& obj
) const
1082 #ifndef PASN_LEANANDMEAN
1083 PAssert(PIsDescendant(&obj
, H4505_PickrequArg
), PInvalidCast
);
1085 const H4505_PickrequArg
& other
= (const H4505_PickrequArg
&)obj
;
1089 if ((result
= m_picking_upNumber
.Compare(other
.m_picking_upNumber
)) != EqualTo
)
1091 if ((result
= m_callPickupId
.Compare(other
.m_callPickupId
)) != EqualTo
)
1093 if ((result
= m_partyToRetrieve
.Compare(other
.m_partyToRetrieve
)) != EqualTo
)
1095 if ((result
= m_retrieveAddress
.Compare(other
.m_retrieveAddress
)) != EqualTo
)
1097 if ((result
= m_parkPosition
.Compare(other
.m_parkPosition
)) != EqualTo
)
1099 if ((result
= m_extensionArg
.Compare(other
.m_extensionArg
)) != EqualTo
)
1102 return PASN_Sequence::Compare(other
);
1106 PINDEX
H4505_PickrequArg::GetDataLength() const
1109 length
+= m_picking_upNumber
.GetObjectLength();
1110 if (HasOptionalField(e_callPickupId
))
1111 length
+= m_callPickupId
.GetObjectLength();
1112 if (HasOptionalField(e_partyToRetrieve
))
1113 length
+= m_partyToRetrieve
.GetObjectLength();
1114 length
+= m_retrieveAddress
.GetObjectLength();
1115 if (HasOptionalField(e_parkPosition
))
1116 length
+= m_parkPosition
.GetObjectLength();
1117 if (HasOptionalField(e_extensionArg
))
1118 length
+= m_extensionArg
.GetObjectLength();
1123 BOOL
H4505_PickrequArg::Decode(PASN_Stream
& strm
)
1125 if (!PreambleDecode(strm
))
1128 if (!m_picking_upNumber
.Decode(strm
))
1130 if (HasOptionalField(e_callPickupId
) && !m_callPickupId
.Decode(strm
))
1132 if (HasOptionalField(e_partyToRetrieve
) && !m_partyToRetrieve
.Decode(strm
))
1134 if (!m_retrieveAddress
.Decode(strm
))
1136 if (HasOptionalField(e_parkPosition
) && !m_parkPosition
.Decode(strm
))
1138 if (HasOptionalField(e_extensionArg
) && !m_extensionArg
.Decode(strm
))
1141 return UnknownExtensionsDecode(strm
);
1145 void H4505_PickrequArg::Encode(PASN_Stream
& strm
) const
1147 PreambleEncode(strm
);
1149 m_picking_upNumber
.Encode(strm
);
1150 if (HasOptionalField(e_callPickupId
))
1151 m_callPickupId
.Encode(strm
);
1152 if (HasOptionalField(e_partyToRetrieve
))
1153 m_partyToRetrieve
.Encode(strm
);
1154 m_retrieveAddress
.Encode(strm
);
1155 if (HasOptionalField(e_parkPosition
))
1156 m_parkPosition
.Encode(strm
);
1157 if (HasOptionalField(e_extensionArg
))
1158 m_extensionArg
.Encode(strm
);
1160 UnknownExtensionsEncode(strm
);
1164 PObject
* H4505_PickrequArg::Clone() const
1166 #ifndef PASN_LEANANDMEAN
1167 PAssert(IsClass(H4505_PickrequArg::Class()), PInvalidCast
);
1169 return new H4505_PickrequArg(*this);
1177 H4505_PickrequRes::H4505_PickrequRes(unsigned tag
, PASN_Object::TagClass tagClass
)
1178 : PASN_Sequence(tag
, tagClass
, 1, TRUE
, 0)
1180 m_extensionRes
.SetConstraints(PASN_Object::FixedConstraint
, 0, 255);
1184 #ifndef PASN_NOPRINTON
1185 void H4505_PickrequRes::PrintOn(ostream
& strm
) const
1187 int indent
= strm
.precision() + 2;
1189 strm
<< setw(indent
+15) << "callPickupId = " << setprecision(indent
) << m_callPickupId
<< '\n';
1190 if (HasOptionalField(e_extensionRes
))
1191 strm
<< setw(indent
+15) << "extensionRes = " << setprecision(indent
) << m_extensionRes
<< '\n';
1192 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
1197 PObject::Comparison
H4505_PickrequRes::Compare(const PObject
& obj
) const
1199 #ifndef PASN_LEANANDMEAN
1200 PAssert(PIsDescendant(&obj
, H4505_PickrequRes
), PInvalidCast
);
1202 const H4505_PickrequRes
& other
= (const H4505_PickrequRes
&)obj
;
1206 if ((result
= m_callPickupId
.Compare(other
.m_callPickupId
)) != EqualTo
)
1208 if ((result
= m_extensionRes
.Compare(other
.m_extensionRes
)) != EqualTo
)
1211 return PASN_Sequence::Compare(other
);
1215 PINDEX
H4505_PickrequRes::GetDataLength() const
1218 length
+= m_callPickupId
.GetObjectLength();
1219 if (HasOptionalField(e_extensionRes
))
1220 length
+= m_extensionRes
.GetObjectLength();
1225 BOOL
H4505_PickrequRes::Decode(PASN_Stream
& strm
)
1227 if (!PreambleDecode(strm
))
1230 if (!m_callPickupId
.Decode(strm
))
1232 if (HasOptionalField(e_extensionRes
) && !m_extensionRes
.Decode(strm
))
1235 return UnknownExtensionsDecode(strm
);
1239 void H4505_PickrequRes::Encode(PASN_Stream
& strm
) const
1241 PreambleEncode(strm
);
1243 m_callPickupId
.Encode(strm
);
1244 if (HasOptionalField(e_extensionRes
))
1245 m_extensionRes
.Encode(strm
);
1247 UnknownExtensionsEncode(strm
);
1251 PObject
* H4505_PickrequRes::Clone() const
1253 #ifndef PASN_LEANANDMEAN
1254 PAssert(IsClass(H4505_PickrequRes::Class()), PInvalidCast
);
1256 return new H4505_PickrequRes(*this);
1264 H4505_PickupArg::H4505_PickupArg(unsigned tag
, PASN_Object::TagClass tagClass
)
1265 : PASN_Sequence(tag
, tagClass
, 1, TRUE
, 0)
1267 m_extensionArg
.SetConstraints(PASN_Object::FixedConstraint
, 0, 255);
1271 #ifndef PASN_NOPRINTON
1272 void H4505_PickupArg::PrintOn(ostream
& strm
) const
1274 int indent
= strm
.precision() + 2;
1276 strm
<< setw(indent
+15) << "callPickupId = " << setprecision(indent
) << m_callPickupId
<< '\n';
1277 strm
<< setw(indent
+19) << "picking_upNumber = " << setprecision(indent
) << m_picking_upNumber
<< '\n';
1278 if (HasOptionalField(e_extensionArg
))
1279 strm
<< setw(indent
+15) << "extensionArg = " << setprecision(indent
) << m_extensionArg
<< '\n';
1280 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
1285 PObject::Comparison
H4505_PickupArg::Compare(const PObject
& obj
) const
1287 #ifndef PASN_LEANANDMEAN
1288 PAssert(PIsDescendant(&obj
, H4505_PickupArg
), PInvalidCast
);
1290 const H4505_PickupArg
& other
= (const H4505_PickupArg
&)obj
;
1294 if ((result
= m_callPickupId
.Compare(other
.m_callPickupId
)) != EqualTo
)
1296 if ((result
= m_picking_upNumber
.Compare(other
.m_picking_upNumber
)) != EqualTo
)
1298 if ((result
= m_extensionArg
.Compare(other
.m_extensionArg
)) != EqualTo
)
1301 return PASN_Sequence::Compare(other
);
1305 PINDEX
H4505_PickupArg::GetDataLength() const
1308 length
+= m_callPickupId
.GetObjectLength();
1309 length
+= m_picking_upNumber
.GetObjectLength();
1310 if (HasOptionalField(e_extensionArg
))
1311 length
+= m_extensionArg
.GetObjectLength();
1316 BOOL
H4505_PickupArg::Decode(PASN_Stream
& strm
)
1318 if (!PreambleDecode(strm
))
1321 if (!m_callPickupId
.Decode(strm
))
1323 if (!m_picking_upNumber
.Decode(strm
))
1325 if (HasOptionalField(e_extensionArg
) && !m_extensionArg
.Decode(strm
))
1328 return UnknownExtensionsDecode(strm
);
1332 void H4505_PickupArg::Encode(PASN_Stream
& strm
) const
1334 PreambleEncode(strm
);
1336 m_callPickupId
.Encode(strm
);
1337 m_picking_upNumber
.Encode(strm
);
1338 if (HasOptionalField(e_extensionArg
))
1339 m_extensionArg
.Encode(strm
);
1341 UnknownExtensionsEncode(strm
);
1345 PObject
* H4505_PickupArg::Clone() const
1347 #ifndef PASN_LEANANDMEAN
1348 PAssert(IsClass(H4505_PickupArg::Class()), PInvalidCast
);
1350 return new H4505_PickupArg(*this);
1358 H4505_PickupRes::H4505_PickupRes(unsigned tag
, PASN_Object::TagClass tagClass
)
1359 : PASN_Sequence(tag
, tagClass
, 1, TRUE
, 0)
1361 m_extensionRes
.SetConstraints(PASN_Object::FixedConstraint
, 0, 255);
1365 #ifndef PASN_NOPRINTON
1366 void H4505_PickupRes::PrintOn(ostream
& strm
) const
1368 int indent
= strm
.precision() + 2;
1370 if (HasOptionalField(e_extensionRes
))
1371 strm
<< setw(indent
+15) << "extensionRes = " << setprecision(indent
) << m_extensionRes
<< '\n';
1372 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
1377 PObject::Comparison
H4505_PickupRes::Compare(const PObject
& obj
) const
1379 #ifndef PASN_LEANANDMEAN
1380 PAssert(PIsDescendant(&obj
, H4505_PickupRes
), PInvalidCast
);
1382 const H4505_PickupRes
& other
= (const H4505_PickupRes
&)obj
;
1386 if ((result
= m_extensionRes
.Compare(other
.m_extensionRes
)) != EqualTo
)
1389 return PASN_Sequence::Compare(other
);
1393 PINDEX
H4505_PickupRes::GetDataLength() const
1396 if (HasOptionalField(e_extensionRes
))
1397 length
+= m_extensionRes
.GetObjectLength();
1402 BOOL
H4505_PickupRes::Decode(PASN_Stream
& strm
)
1404 if (!PreambleDecode(strm
))
1407 if (HasOptionalField(e_extensionRes
) && !m_extensionRes
.Decode(strm
))
1410 return UnknownExtensionsDecode(strm
);
1414 void H4505_PickupRes::Encode(PASN_Stream
& strm
) const
1416 PreambleEncode(strm
);
1418 if (HasOptionalField(e_extensionRes
))
1419 m_extensionRes
.Encode(strm
);
1421 UnknownExtensionsEncode(strm
);
1425 PObject
* H4505_PickupRes::Clone() const
1427 #ifndef PASN_LEANANDMEAN
1428 PAssert(IsClass(H4505_PickupRes::Class()), PInvalidCast
);
1430 return new H4505_PickupRes(*this);
1438 H4505_PickExeArg::H4505_PickExeArg(unsigned tag
, PASN_Object::TagClass tagClass
)
1439 : PASN_Sequence(tag
, tagClass
, 1, TRUE
, 0)
1441 m_extensionArg
.SetConstraints(PASN_Object::FixedConstraint
, 0, 255);
1445 #ifndef PASN_NOPRINTON
1446 void H4505_PickExeArg::PrintOn(ostream
& strm
) const
1448 int indent
= strm
.precision() + 2;
1450 strm
<< setw(indent
+15) << "callPickupId = " << setprecision(indent
) << m_callPickupId
<< '\n';
1451 strm
<< setw(indent
+19) << "picking_upNumber = " << setprecision(indent
) << m_picking_upNumber
<< '\n';
1452 strm
<< setw(indent
+18) << "partyToRetrieve = " << setprecision(indent
) << m_partyToRetrieve
<< '\n';
1453 if (HasOptionalField(e_extensionArg
))
1454 strm
<< setw(indent
+15) << "extensionArg = " << setprecision(indent
) << m_extensionArg
<< '\n';
1455 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
1460 PObject::Comparison
H4505_PickExeArg::Compare(const PObject
& obj
) const
1462 #ifndef PASN_LEANANDMEAN
1463 PAssert(PIsDescendant(&obj
, H4505_PickExeArg
), PInvalidCast
);
1465 const H4505_PickExeArg
& other
= (const H4505_PickExeArg
&)obj
;
1469 if ((result
= m_callPickupId
.Compare(other
.m_callPickupId
)) != EqualTo
)
1471 if ((result
= m_picking_upNumber
.Compare(other
.m_picking_upNumber
)) != EqualTo
)
1473 if ((result
= m_partyToRetrieve
.Compare(other
.m_partyToRetrieve
)) != EqualTo
)
1475 if ((result
= m_extensionArg
.Compare(other
.m_extensionArg
)) != EqualTo
)
1478 return PASN_Sequence::Compare(other
);
1482 PINDEX
H4505_PickExeArg::GetDataLength() const
1485 length
+= m_callPickupId
.GetObjectLength();
1486 length
+= m_picking_upNumber
.GetObjectLength();
1487 length
+= m_partyToRetrieve
.GetObjectLength();
1488 if (HasOptionalField(e_extensionArg
))
1489 length
+= m_extensionArg
.GetObjectLength();
1494 BOOL
H4505_PickExeArg::Decode(PASN_Stream
& strm
)
1496 if (!PreambleDecode(strm
))
1499 if (!m_callPickupId
.Decode(strm
))
1501 if (!m_picking_upNumber
.Decode(strm
))
1503 if (!m_partyToRetrieve
.Decode(strm
))
1505 if (HasOptionalField(e_extensionArg
) && !m_extensionArg
.Decode(strm
))
1508 return UnknownExtensionsDecode(strm
);
1512 void H4505_PickExeArg::Encode(PASN_Stream
& strm
) const
1514 PreambleEncode(strm
);
1516 m_callPickupId
.Encode(strm
);
1517 m_picking_upNumber
.Encode(strm
);
1518 m_partyToRetrieve
.Encode(strm
);
1519 if (HasOptionalField(e_extensionArg
))
1520 m_extensionArg
.Encode(strm
);
1522 UnknownExtensionsEncode(strm
);
1526 PObject
* H4505_PickExeArg::Clone() const
1528 #ifndef PASN_LEANANDMEAN
1529 PAssert(IsClass(H4505_PickExeArg::Class()), PInvalidCast
);
1531 return new H4505_PickExeArg(*this);
1539 H4505_PickExeRes::H4505_PickExeRes(unsigned tag
, PASN_Object::TagClass tagClass
)
1540 : PASN_Sequence(tag
, tagClass
, 1, TRUE
, 0)
1542 m_extensionRes
.SetConstraints(PASN_Object::FixedConstraint
, 0, 255);
1546 #ifndef PASN_NOPRINTON
1547 void H4505_PickExeRes::PrintOn(ostream
& strm
) const
1549 int indent
= strm
.precision() + 2;
1551 if (HasOptionalField(e_extensionRes
))
1552 strm
<< setw(indent
+15) << "extensionRes = " << setprecision(indent
) << m_extensionRes
<< '\n';
1553 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
1558 PObject::Comparison
H4505_PickExeRes::Compare(const PObject
& obj
) const
1560 #ifndef PASN_LEANANDMEAN
1561 PAssert(PIsDescendant(&obj
, H4505_PickExeRes
), PInvalidCast
);
1563 const H4505_PickExeRes
& other
= (const H4505_PickExeRes
&)obj
;
1567 if ((result
= m_extensionRes
.Compare(other
.m_extensionRes
)) != EqualTo
)
1570 return PASN_Sequence::Compare(other
);
1574 PINDEX
H4505_PickExeRes::GetDataLength() const
1577 if (HasOptionalField(e_extensionRes
))
1578 length
+= m_extensionRes
.GetObjectLength();
1583 BOOL
H4505_PickExeRes::Decode(PASN_Stream
& strm
)
1585 if (!PreambleDecode(strm
))
1588 if (HasOptionalField(e_extensionRes
) && !m_extensionRes
.Decode(strm
))
1591 return UnknownExtensionsDecode(strm
);
1595 void H4505_PickExeRes::Encode(PASN_Stream
& strm
) const
1597 PreambleEncode(strm
);
1599 if (HasOptionalField(e_extensionRes
))
1600 m_extensionRes
.Encode(strm
);
1602 UnknownExtensionsEncode(strm
);
1606 PObject
* H4505_PickExeRes::Clone() const
1608 #ifndef PASN_LEANANDMEAN
1609 PAssert(IsClass(H4505_PickExeRes::Class()), PInvalidCast
);
1611 return new H4505_PickExeRes(*this);
1619 H4505_CpNotifyArg::H4505_CpNotifyArg(unsigned tag
, PASN_Object::TagClass tagClass
)
1620 : PASN_Sequence(tag
, tagClass
, 2, TRUE
, 0)
1622 m_extensionArg
.SetConstraints(PASN_Object::FixedConstraint
, 0, 255);
1626 #ifndef PASN_NOPRINTON
1627 void H4505_CpNotifyArg::PrintOn(ostream
& strm
) const
1629 int indent
= strm
.precision() + 2;
1631 if (HasOptionalField(e_parkingNumber
))
1632 strm
<< setw(indent
+16) << "parkingNumber = " << setprecision(indent
) << m_parkingNumber
<< '\n';
1633 if (HasOptionalField(e_extensionArg
))
1634 strm
<< setw(indent
+15) << "extensionArg = " << setprecision(indent
) << m_extensionArg
<< '\n';
1635 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
1640 PObject::Comparison
H4505_CpNotifyArg::Compare(const PObject
& obj
) const
1642 #ifndef PASN_LEANANDMEAN
1643 PAssert(PIsDescendant(&obj
, H4505_CpNotifyArg
), PInvalidCast
);
1645 const H4505_CpNotifyArg
& other
= (const H4505_CpNotifyArg
&)obj
;
1649 if ((result
= m_parkingNumber
.Compare(other
.m_parkingNumber
)) != EqualTo
)
1651 if ((result
= m_extensionArg
.Compare(other
.m_extensionArg
)) != EqualTo
)
1654 return PASN_Sequence::Compare(other
);
1658 PINDEX
H4505_CpNotifyArg::GetDataLength() const
1661 if (HasOptionalField(e_parkingNumber
))
1662 length
+= m_parkingNumber
.GetObjectLength();
1663 if (HasOptionalField(e_extensionArg
))
1664 length
+= m_extensionArg
.GetObjectLength();
1669 BOOL
H4505_CpNotifyArg::Decode(PASN_Stream
& strm
)
1671 if (!PreambleDecode(strm
))
1674 if (HasOptionalField(e_parkingNumber
) && !m_parkingNumber
.Decode(strm
))
1676 if (HasOptionalField(e_extensionArg
) && !m_extensionArg
.Decode(strm
))
1679 return UnknownExtensionsDecode(strm
);
1683 void H4505_CpNotifyArg::Encode(PASN_Stream
& strm
) const
1685 PreambleEncode(strm
);
1687 if (HasOptionalField(e_parkingNumber
))
1688 m_parkingNumber
.Encode(strm
);
1689 if (HasOptionalField(e_extensionArg
))
1690 m_extensionArg
.Encode(strm
);
1692 UnknownExtensionsEncode(strm
);
1696 PObject
* H4505_CpNotifyArg::Clone() const
1698 #ifndef PASN_LEANANDMEAN
1699 PAssert(IsClass(H4505_CpNotifyArg::Class()), PInvalidCast
);
1701 return new H4505_CpNotifyArg(*this);
1709 H4505_CpickupNotifyArg::H4505_CpickupNotifyArg(unsigned tag
, PASN_Object::TagClass tagClass
)
1710 : PASN_Sequence(tag
, tagClass
, 2, TRUE
, 0)
1712 m_extensionArg
.SetConstraints(PASN_Object::FixedConstraint
, 0, 255);
1716 #ifndef PASN_NOPRINTON
1717 void H4505_CpickupNotifyArg::PrintOn(ostream
& strm
) const
1719 int indent
= strm
.precision() + 2;
1721 if (HasOptionalField(e_picking_upNumber
))
1722 strm
<< setw(indent
+19) << "picking_upNumber = " << setprecision(indent
) << m_picking_upNumber
<< '\n';
1723 if (HasOptionalField(e_extensionArg
))
1724 strm
<< setw(indent
+15) << "extensionArg = " << setprecision(indent
) << m_extensionArg
<< '\n';
1725 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
1730 PObject::Comparison
H4505_CpickupNotifyArg::Compare(const PObject
& obj
) const
1732 #ifndef PASN_LEANANDMEAN
1733 PAssert(PIsDescendant(&obj
, H4505_CpickupNotifyArg
), PInvalidCast
);
1735 const H4505_CpickupNotifyArg
& other
= (const H4505_CpickupNotifyArg
&)obj
;
1739 if ((result
= m_picking_upNumber
.Compare(other
.m_picking_upNumber
)) != EqualTo
)
1741 if ((result
= m_extensionArg
.Compare(other
.m_extensionArg
)) != EqualTo
)
1744 return PASN_Sequence::Compare(other
);
1748 PINDEX
H4505_CpickupNotifyArg::GetDataLength() const
1751 if (HasOptionalField(e_picking_upNumber
))
1752 length
+= m_picking_upNumber
.GetObjectLength();
1753 if (HasOptionalField(e_extensionArg
))
1754 length
+= m_extensionArg
.GetObjectLength();
1759 BOOL
H4505_CpickupNotifyArg::Decode(PASN_Stream
& strm
)
1761 if (!PreambleDecode(strm
))
1764 if (HasOptionalField(e_picking_upNumber
) && !m_picking_upNumber
.Decode(strm
))
1766 if (HasOptionalField(e_extensionArg
) && !m_extensionArg
.Decode(strm
))
1769 return UnknownExtensionsDecode(strm
);
1773 void H4505_CpickupNotifyArg::Encode(PASN_Stream
& strm
) const
1775 PreambleEncode(strm
);
1777 if (HasOptionalField(e_picking_upNumber
))
1778 m_picking_upNumber
.Encode(strm
);
1779 if (HasOptionalField(e_extensionArg
))
1780 m_extensionArg
.Encode(strm
);
1782 UnknownExtensionsEncode(strm
);
1786 PObject
* H4505_CpickupNotifyArg::Clone() const
1788 #ifndef PASN_LEANANDMEAN
1789 PAssert(IsClass(H4505_CpickupNotifyArg::Class()), PInvalidCast
);
1791 return new H4505_CpickupNotifyArg(*this);
1795 #endif // if ! H323_DISABLE_H4505