4 // Code automatically generated by asnparse.
8 #pragma implementation "h4502.h"
17 #if ! H323_DISABLE_H4502
22 #ifndef PASN_NOPRINTON
23 const static PASN_Names Names_H4502_DummyArg
[]={
25 ,{"nonStandardData",1}
32 H4502_DummyArg::H4502_DummyArg(unsigned tag
, PASN_Object::TagClass tagClass
)
33 : PASN_Choice(tag
, tagClass
, 2, FALSE
34 #ifndef PASN_NOPRINTON
35 ,(const PASN_Names
*)Names_H4502_DummyArg
,2
42 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
43 H4502_DummyArg::operator H4502_ExtensionSeq
&() const
45 H4502_DummyArg::operator H4502_ExtensionSeq
&()
47 #ifndef PASN_LEANANDMEAN
48 PAssert(PIsDescendant(PAssertNULL(choice
), H4502_ExtensionSeq
), PInvalidCast
);
50 return *(H4502_ExtensionSeq
*)choice
;
54 H4502_DummyArg::operator const H4502_ExtensionSeq
&() const
57 #ifndef PASN_LEANANDMEAN
58 PAssert(PIsDescendant(PAssertNULL(choice
), H4502_ExtensionSeq
), PInvalidCast
);
60 return *(H4502_ExtensionSeq
*)choice
;
64 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
65 H4502_DummyArg::operator H225_NonStandardParameter
&() const
67 H4502_DummyArg::operator H225_NonStandardParameter
&()
69 #ifndef PASN_LEANANDMEAN
70 PAssert(PIsDescendant(PAssertNULL(choice
), H225_NonStandardParameter
), PInvalidCast
);
72 return *(H225_NonStandardParameter
*)choice
;
76 H4502_DummyArg::operator const H225_NonStandardParameter
&() const
79 #ifndef PASN_LEANANDMEAN
80 PAssert(PIsDescendant(PAssertNULL(choice
), H225_NonStandardParameter
), PInvalidCast
);
82 return *(H225_NonStandardParameter
*)choice
;
86 BOOL
H4502_DummyArg::CreateObject()
90 choice
= new H4502_ExtensionSeq();
92 case e_nonStandardData
:
93 choice
= new H225_NonStandardParameter();
102 PObject
* H4502_DummyArg::Clone() const
104 #ifndef PASN_LEANANDMEAN
105 PAssert(IsClass(H4502_DummyArg::Class()), PInvalidCast
);
107 return new H4502_DummyArg(*this);
112 #ifndef PASN_NOPRINTON
113 const static PASN_Names Names_H4502_DummyRes
[]={
115 ,{"nonStandardData",1}
122 H4502_DummyRes::H4502_DummyRes(unsigned tag
, PASN_Object::TagClass tagClass
)
123 : PASN_Choice(tag
, tagClass
, 2, FALSE
124 #ifndef PASN_NOPRINTON
125 ,(const PASN_Names
*)Names_H4502_DummyRes
,2
132 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
133 H4502_DummyRes::operator H4502_ExtensionSeq
&() const
135 H4502_DummyRes::operator H4502_ExtensionSeq
&()
137 #ifndef PASN_LEANANDMEAN
138 PAssert(PIsDescendant(PAssertNULL(choice
), H4502_ExtensionSeq
), PInvalidCast
);
140 return *(H4502_ExtensionSeq
*)choice
;
144 H4502_DummyRes::operator const H4502_ExtensionSeq
&() const
147 #ifndef PASN_LEANANDMEAN
148 PAssert(PIsDescendant(PAssertNULL(choice
), H4502_ExtensionSeq
), PInvalidCast
);
150 return *(H4502_ExtensionSeq
*)choice
;
154 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
155 H4502_DummyRes::operator H225_NonStandardParameter
&() const
157 H4502_DummyRes::operator H225_NonStandardParameter
&()
159 #ifndef PASN_LEANANDMEAN
160 PAssert(PIsDescendant(PAssertNULL(choice
), H225_NonStandardParameter
), PInvalidCast
);
162 return *(H225_NonStandardParameter
*)choice
;
166 H4502_DummyRes::operator const H225_NonStandardParameter
&() const
169 #ifndef PASN_LEANANDMEAN
170 PAssert(PIsDescendant(PAssertNULL(choice
), H225_NonStandardParameter
), PInvalidCast
);
172 return *(H225_NonStandardParameter
*)choice
;
176 BOOL
H4502_DummyRes::CreateObject()
179 case e_extensionSeq
:
180 choice
= new H4502_ExtensionSeq();
182 case e_nonStandardData
:
183 choice
= new H225_NonStandardParameter();
192 PObject
* H4502_DummyRes::Clone() const
194 #ifndef PASN_LEANANDMEAN
195 PAssert(IsClass(H4502_DummyRes::Class()), PInvalidCast
);
197 return new H4502_DummyRes(*this);
201 #ifndef PASN_NOPRINTON
202 const static PASN_Names Names_H4502_EndDesignation
[]={
211 H4502_EndDesignation::H4502_EndDesignation(unsigned tag
, PASN_Object::TagClass tagClass
)
212 : PASN_Enumeration(tag
, tagClass
, 1, TRUE
213 #ifndef PASN_NOPRINTON
214 ,(const PASN_Names
*)Names_H4502_EndDesignation
,2
221 H4502_EndDesignation
& H4502_EndDesignation::operator=(unsigned v
)
228 PObject
* H4502_EndDesignation::Clone() const
230 #ifndef PASN_LEANANDMEAN
231 PAssert(IsClass(H4502_EndDesignation::Class()), PInvalidCast
);
233 return new H4502_EndDesignation(*this);
237 #ifndef PASN_NOPRINTON
238 const static PASN_Names Names_H4502_CallStatus
[]={
247 H4502_CallStatus::H4502_CallStatus(unsigned tag
, PASN_Object::TagClass tagClass
)
248 : PASN_Enumeration(tag
, tagClass
, 1, TRUE
249 #ifndef PASN_NOPRINTON
250 ,(const PASN_Names
*)Names_H4502_CallStatus
,2
257 H4502_CallStatus
& H4502_CallStatus::operator=(unsigned v
)
264 PObject
* H4502_CallStatus::Clone() const
266 #ifndef PASN_LEANANDMEAN
267 PAssert(IsClass(H4502_CallStatus::Class()), PInvalidCast
);
269 return new H4502_CallStatus(*this);
277 H4502_CallIdentity::H4502_CallIdentity(unsigned tag
, PASN_Object::TagClass tagClass
)
278 : PASN_NumericString(tag
, tagClass
)
280 SetConstraints(PASN_Object::FixedConstraint
, 0, 4);
284 H4502_CallIdentity
& H4502_CallIdentity::operator=(const char * v
)
291 H4502_CallIdentity
& H4502_CallIdentity::operator=(const PString
& v
)
298 PObject
* H4502_CallIdentity::Clone() const
300 #ifndef PASN_LEANANDMEAN
301 PAssert(IsClass(H4502_CallIdentity::Class()), PInvalidCast
);
303 return new H4502_CallIdentity(*this);
311 H4502_ExtensionSeq::H4502_ExtensionSeq(unsigned tag
, PASN_Object::TagClass tagClass
)
312 : PASN_Array(tag
, tagClass
)
317 PASN_Object
* H4502_ExtensionSeq::CreateObject() const
319 return new H4501_Extension
;
323 H4501_Extension
& H4502_ExtensionSeq::operator[](PINDEX i
) const
325 return (H4501_Extension
&)array
[i
];
329 PObject
* H4502_ExtensionSeq::Clone() const
331 #ifndef PASN_LEANANDMEAN
332 PAssert(IsClass(H4502_ExtensionSeq::Class()), PInvalidCast
);
334 return new H4502_ExtensionSeq(*this);
338 #ifndef PASN_NOPRINTON
339 const static PASN_Names Names_H4502_CallTransferOperation
[]={
340 {"callTransferIdentify",7}
341 ,{"callTransferAbandon",8}
342 ,{"callTransferInitiate",9}
343 ,{"callTransferSetup",10}
344 ,{"callTransferUpdate",13}
345 ,{"subaddressTransfer",14}
346 ,{"callTransferComplete",12}
347 ,{"callTransferActive",11}
351 // CallTransferOperation
354 H4502_CallTransferOperation::H4502_CallTransferOperation(unsigned tag
, PASN_Object::TagClass tagClass
)
355 : PASN_Enumeration(tag
, tagClass
, 14, FALSE
356 #ifndef PASN_NOPRINTON
357 ,(const PASN_Names
*)Names_H4502_CallTransferOperation
,8
364 H4502_CallTransferOperation
& H4502_CallTransferOperation::operator=(unsigned v
)
371 PObject
* H4502_CallTransferOperation::Clone() const
373 #ifndef PASN_LEANANDMEAN
374 PAssert(IsClass(H4502_CallTransferOperation::Class()), PInvalidCast
);
376 return new H4502_CallTransferOperation(*this);
380 #ifndef PASN_NOPRINTON
381 const static PASN_Names Names_H4502_CallTransferErrors
[]={
383 ,{"invalidReroutingNumber",1004}
384 ,{"unrecognizedCallIdentity",1005}
385 ,{"establishmentFailure",1006}
389 // CallTransferErrors
392 H4502_CallTransferErrors::H4502_CallTransferErrors(unsigned tag
, PASN_Object::TagClass tagClass
)
393 : PASN_Enumeration(tag
, tagClass
, 1008, FALSE
394 #ifndef PASN_NOPRINTON
395 ,(const PASN_Names
*)Names_H4502_CallTransferErrors
,4
402 H4502_CallTransferErrors
& H4502_CallTransferErrors::operator=(unsigned v
)
409 PObject
* H4502_CallTransferErrors::Clone() const
411 #ifndef PASN_LEANANDMEAN
412 PAssert(IsClass(H4502_CallTransferErrors::Class()), PInvalidCast
);
414 return new H4502_CallTransferErrors(*this);
419 #ifndef PASN_NOPRINTON
420 const static PASN_Names Names_H4502_CTInitiateArg_argumentExtension
[]={
422 ,{"nonStandardData",1}
426 // CTInitiateArg_argumentExtension
429 H4502_CTInitiateArg_argumentExtension::H4502_CTInitiateArg_argumentExtension(unsigned tag
, PASN_Object::TagClass tagClass
)
430 : PASN_Choice(tag
, tagClass
, 2, FALSE
431 #ifndef PASN_NOPRINTON
432 ,(const PASN_Names
*)Names_H4502_CTInitiateArg_argumentExtension
,2
439 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
440 H4502_CTInitiateArg_argumentExtension::operator H4502_ExtensionSeq
&() const
442 H4502_CTInitiateArg_argumentExtension::operator H4502_ExtensionSeq
&()
444 #ifndef PASN_LEANANDMEAN
445 PAssert(PIsDescendant(PAssertNULL(choice
), H4502_ExtensionSeq
), PInvalidCast
);
447 return *(H4502_ExtensionSeq
*)choice
;
451 H4502_CTInitiateArg_argumentExtension::operator const H4502_ExtensionSeq
&() const
454 #ifndef PASN_LEANANDMEAN
455 PAssert(PIsDescendant(PAssertNULL(choice
), H4502_ExtensionSeq
), PInvalidCast
);
457 return *(H4502_ExtensionSeq
*)choice
;
461 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
462 H4502_CTInitiateArg_argumentExtension::operator H225_NonStandardParameter
&() const
464 H4502_CTInitiateArg_argumentExtension::operator H225_NonStandardParameter
&()
466 #ifndef PASN_LEANANDMEAN
467 PAssert(PIsDescendant(PAssertNULL(choice
), H225_NonStandardParameter
), PInvalidCast
);
469 return *(H225_NonStandardParameter
*)choice
;
473 H4502_CTInitiateArg_argumentExtension::operator const H225_NonStandardParameter
&() const
476 #ifndef PASN_LEANANDMEAN
477 PAssert(PIsDescendant(PAssertNULL(choice
), H225_NonStandardParameter
), PInvalidCast
);
479 return *(H225_NonStandardParameter
*)choice
;
483 BOOL
H4502_CTInitiateArg_argumentExtension::CreateObject()
486 case e_extensionSeq
:
487 choice
= new H4502_ExtensionSeq();
489 case e_nonStandardData
:
490 choice
= new H225_NonStandardParameter();
499 PObject
* H4502_CTInitiateArg_argumentExtension::Clone() const
501 #ifndef PASN_LEANANDMEAN
502 PAssert(IsClass(H4502_CTInitiateArg_argumentExtension::Class()), PInvalidCast
);
504 return new H4502_CTInitiateArg_argumentExtension(*this);
509 #ifndef PASN_NOPRINTON
510 const static PASN_Names Names_H4502_CTSetupArg_argumentExtension
[]={
512 ,{"nonStandardData",1}
516 // CTSetupArg_argumentExtension
519 H4502_CTSetupArg_argumentExtension::H4502_CTSetupArg_argumentExtension(unsigned tag
, PASN_Object::TagClass tagClass
)
520 : PASN_Choice(tag
, tagClass
, 2, FALSE
521 #ifndef PASN_NOPRINTON
522 ,(const PASN_Names
*)Names_H4502_CTSetupArg_argumentExtension
,2
529 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
530 H4502_CTSetupArg_argumentExtension::operator H4502_ExtensionSeq
&() const
532 H4502_CTSetupArg_argumentExtension::operator H4502_ExtensionSeq
&()
534 #ifndef PASN_LEANANDMEAN
535 PAssert(PIsDescendant(PAssertNULL(choice
), H4502_ExtensionSeq
), PInvalidCast
);
537 return *(H4502_ExtensionSeq
*)choice
;
541 H4502_CTSetupArg_argumentExtension::operator const H4502_ExtensionSeq
&() const
544 #ifndef PASN_LEANANDMEAN
545 PAssert(PIsDescendant(PAssertNULL(choice
), H4502_ExtensionSeq
), PInvalidCast
);
547 return *(H4502_ExtensionSeq
*)choice
;
551 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
552 H4502_CTSetupArg_argumentExtension::operator H225_NonStandardParameter
&() const
554 H4502_CTSetupArg_argumentExtension::operator H225_NonStandardParameter
&()
556 #ifndef PASN_LEANANDMEAN
557 PAssert(PIsDescendant(PAssertNULL(choice
), H225_NonStandardParameter
), PInvalidCast
);
559 return *(H225_NonStandardParameter
*)choice
;
563 H4502_CTSetupArg_argumentExtension::operator const H225_NonStandardParameter
&() const
566 #ifndef PASN_LEANANDMEAN
567 PAssert(PIsDescendant(PAssertNULL(choice
), H225_NonStandardParameter
), PInvalidCast
);
569 return *(H225_NonStandardParameter
*)choice
;
573 BOOL
H4502_CTSetupArg_argumentExtension::CreateObject()
576 case e_extensionSeq
:
577 choice
= new H4502_ExtensionSeq();
579 case e_nonStandardData
:
580 choice
= new H225_NonStandardParameter();
589 PObject
* H4502_CTSetupArg_argumentExtension::Clone() const
591 #ifndef PASN_LEANANDMEAN
592 PAssert(IsClass(H4502_CTSetupArg_argumentExtension::Class()), PInvalidCast
);
594 return new H4502_CTSetupArg_argumentExtension(*this);
599 #ifndef PASN_NOPRINTON
600 const static PASN_Names Names_H4502_CTIdentifyRes_resultExtension
[]={
602 ,{"nonStandardData",1}
606 // CTIdentifyRes_resultExtension
609 H4502_CTIdentifyRes_resultExtension::H4502_CTIdentifyRes_resultExtension(unsigned tag
, PASN_Object::TagClass tagClass
)
610 : PASN_Choice(tag
, tagClass
, 2, FALSE
611 #ifndef PASN_NOPRINTON
612 ,(const PASN_Names
*)Names_H4502_CTIdentifyRes_resultExtension
,2
619 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
620 H4502_CTIdentifyRes_resultExtension::operator H4502_ExtensionSeq
&() const
622 H4502_CTIdentifyRes_resultExtension::operator H4502_ExtensionSeq
&()
624 #ifndef PASN_LEANANDMEAN
625 PAssert(PIsDescendant(PAssertNULL(choice
), H4502_ExtensionSeq
), PInvalidCast
);
627 return *(H4502_ExtensionSeq
*)choice
;
631 H4502_CTIdentifyRes_resultExtension::operator const H4502_ExtensionSeq
&() const
634 #ifndef PASN_LEANANDMEAN
635 PAssert(PIsDescendant(PAssertNULL(choice
), H4502_ExtensionSeq
), PInvalidCast
);
637 return *(H4502_ExtensionSeq
*)choice
;
641 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
642 H4502_CTIdentifyRes_resultExtension::operator H225_NonStandardParameter
&() const
644 H4502_CTIdentifyRes_resultExtension::operator H225_NonStandardParameter
&()
646 #ifndef PASN_LEANANDMEAN
647 PAssert(PIsDescendant(PAssertNULL(choice
), H225_NonStandardParameter
), PInvalidCast
);
649 return *(H225_NonStandardParameter
*)choice
;
653 H4502_CTIdentifyRes_resultExtension::operator const H225_NonStandardParameter
&() const
656 #ifndef PASN_LEANANDMEAN
657 PAssert(PIsDescendant(PAssertNULL(choice
), H225_NonStandardParameter
), PInvalidCast
);
659 return *(H225_NonStandardParameter
*)choice
;
663 BOOL
H4502_CTIdentifyRes_resultExtension::CreateObject()
666 case e_extensionSeq
:
667 choice
= new H4502_ExtensionSeq();
669 case e_nonStandardData
:
670 choice
= new H225_NonStandardParameter();
679 PObject
* H4502_CTIdentifyRes_resultExtension::Clone() const
681 #ifndef PASN_LEANANDMEAN
682 PAssert(IsClass(H4502_CTIdentifyRes_resultExtension::Class()), PInvalidCast
);
684 return new H4502_CTIdentifyRes_resultExtension(*this);
689 #ifndef PASN_NOPRINTON
690 const static PASN_Names Names_H4502_CTUpdateArg_argumentExtension
[]={
692 ,{"nonStandardData",1}
696 // CTUpdateArg_argumentExtension
699 H4502_CTUpdateArg_argumentExtension::H4502_CTUpdateArg_argumentExtension(unsigned tag
, PASN_Object::TagClass tagClass
)
700 : PASN_Choice(tag
, tagClass
, 2, FALSE
701 #ifndef PASN_NOPRINTON
702 ,(const PASN_Names
*)Names_H4502_CTUpdateArg_argumentExtension
,2
709 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
710 H4502_CTUpdateArg_argumentExtension::operator H4502_ExtensionSeq
&() const
712 H4502_CTUpdateArg_argumentExtension::operator H4502_ExtensionSeq
&()
714 #ifndef PASN_LEANANDMEAN
715 PAssert(PIsDescendant(PAssertNULL(choice
), H4502_ExtensionSeq
), PInvalidCast
);
717 return *(H4502_ExtensionSeq
*)choice
;
721 H4502_CTUpdateArg_argumentExtension::operator const H4502_ExtensionSeq
&() const
724 #ifndef PASN_LEANANDMEAN
725 PAssert(PIsDescendant(PAssertNULL(choice
), H4502_ExtensionSeq
), PInvalidCast
);
727 return *(H4502_ExtensionSeq
*)choice
;
731 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
732 H4502_CTUpdateArg_argumentExtension::operator H225_NonStandardParameter
&() const
734 H4502_CTUpdateArg_argumentExtension::operator H225_NonStandardParameter
&()
736 #ifndef PASN_LEANANDMEAN
737 PAssert(PIsDescendant(PAssertNULL(choice
), H225_NonStandardParameter
), PInvalidCast
);
739 return *(H225_NonStandardParameter
*)choice
;
743 H4502_CTUpdateArg_argumentExtension::operator const H225_NonStandardParameter
&() const
746 #ifndef PASN_LEANANDMEAN
747 PAssert(PIsDescendant(PAssertNULL(choice
), H225_NonStandardParameter
), PInvalidCast
);
749 return *(H225_NonStandardParameter
*)choice
;
753 BOOL
H4502_CTUpdateArg_argumentExtension::CreateObject()
756 case e_extensionSeq
:
757 choice
= new H4502_ExtensionSeq();
759 case e_nonStandardData
:
760 choice
= new H225_NonStandardParameter();
769 PObject
* H4502_CTUpdateArg_argumentExtension::Clone() const
771 #ifndef PASN_LEANANDMEAN
772 PAssert(IsClass(H4502_CTUpdateArg_argumentExtension::Class()), PInvalidCast
);
774 return new H4502_CTUpdateArg_argumentExtension(*this);
779 #ifndef PASN_NOPRINTON
780 const static PASN_Names Names_H4502_SubaddressTransferArg_argumentExtension
[]={
782 ,{"nonStandardData",1}
786 // SubaddressTransferArg_argumentExtension
789 H4502_SubaddressTransferArg_argumentExtension::H4502_SubaddressTransferArg_argumentExtension(unsigned tag
, PASN_Object::TagClass tagClass
)
790 : PASN_Choice(tag
, tagClass
, 2, FALSE
791 #ifndef PASN_NOPRINTON
792 ,(const PASN_Names
*)Names_H4502_SubaddressTransferArg_argumentExtension
,2
799 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
800 H4502_SubaddressTransferArg_argumentExtension::operator H4502_ExtensionSeq
&() const
802 H4502_SubaddressTransferArg_argumentExtension::operator H4502_ExtensionSeq
&()
804 #ifndef PASN_LEANANDMEAN
805 PAssert(PIsDescendant(PAssertNULL(choice
), H4502_ExtensionSeq
), PInvalidCast
);
807 return *(H4502_ExtensionSeq
*)choice
;
811 H4502_SubaddressTransferArg_argumentExtension::operator const H4502_ExtensionSeq
&() const
814 #ifndef PASN_LEANANDMEAN
815 PAssert(PIsDescendant(PAssertNULL(choice
), H4502_ExtensionSeq
), PInvalidCast
);
817 return *(H4502_ExtensionSeq
*)choice
;
821 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
822 H4502_SubaddressTransferArg_argumentExtension::operator H225_NonStandardParameter
&() const
824 H4502_SubaddressTransferArg_argumentExtension::operator H225_NonStandardParameter
&()
826 #ifndef PASN_LEANANDMEAN
827 PAssert(PIsDescendant(PAssertNULL(choice
), H225_NonStandardParameter
), PInvalidCast
);
829 return *(H225_NonStandardParameter
*)choice
;
833 H4502_SubaddressTransferArg_argumentExtension::operator const H225_NonStandardParameter
&() const
836 #ifndef PASN_LEANANDMEAN
837 PAssert(PIsDescendant(PAssertNULL(choice
), H225_NonStandardParameter
), PInvalidCast
);
839 return *(H225_NonStandardParameter
*)choice
;
843 BOOL
H4502_SubaddressTransferArg_argumentExtension::CreateObject()
846 case e_extensionSeq
:
847 choice
= new H4502_ExtensionSeq();
849 case e_nonStandardData
:
850 choice
= new H225_NonStandardParameter();
859 PObject
* H4502_SubaddressTransferArg_argumentExtension::Clone() const
861 #ifndef PASN_LEANANDMEAN
862 PAssert(IsClass(H4502_SubaddressTransferArg_argumentExtension::Class()), PInvalidCast
);
864 return new H4502_SubaddressTransferArg_argumentExtension(*this);
869 #ifndef PASN_NOPRINTON
870 const static PASN_Names Names_H4502_CTCompleteArg_argumentExtension
[]={
872 ,{"nonStandardData",1}
876 // CTCompleteArg_argumentExtension
879 H4502_CTCompleteArg_argumentExtension::H4502_CTCompleteArg_argumentExtension(unsigned tag
, PASN_Object::TagClass tagClass
)
880 : PASN_Choice(tag
, tagClass
, 2, FALSE
881 #ifndef PASN_NOPRINTON
882 ,(const PASN_Names
*)Names_H4502_CTCompleteArg_argumentExtension
,2
889 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
890 H4502_CTCompleteArg_argumentExtension::operator H4502_ExtensionSeq
&() const
892 H4502_CTCompleteArg_argumentExtension::operator H4502_ExtensionSeq
&()
894 #ifndef PASN_LEANANDMEAN
895 PAssert(PIsDescendant(PAssertNULL(choice
), H4502_ExtensionSeq
), PInvalidCast
);
897 return *(H4502_ExtensionSeq
*)choice
;
901 H4502_CTCompleteArg_argumentExtension::operator const H4502_ExtensionSeq
&() const
904 #ifndef PASN_LEANANDMEAN
905 PAssert(PIsDescendant(PAssertNULL(choice
), H4502_ExtensionSeq
), PInvalidCast
);
907 return *(H4502_ExtensionSeq
*)choice
;
911 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
912 H4502_CTCompleteArg_argumentExtension::operator H225_NonStandardParameter
&() const
914 H4502_CTCompleteArg_argumentExtension::operator H225_NonStandardParameter
&()
916 #ifndef PASN_LEANANDMEAN
917 PAssert(PIsDescendant(PAssertNULL(choice
), H225_NonStandardParameter
), PInvalidCast
);
919 return *(H225_NonStandardParameter
*)choice
;
923 H4502_CTCompleteArg_argumentExtension::operator const H225_NonStandardParameter
&() const
926 #ifndef PASN_LEANANDMEAN
927 PAssert(PIsDescendant(PAssertNULL(choice
), H225_NonStandardParameter
), PInvalidCast
);
929 return *(H225_NonStandardParameter
*)choice
;
933 BOOL
H4502_CTCompleteArg_argumentExtension::CreateObject()
936 case e_extensionSeq
:
937 choice
= new H4502_ExtensionSeq();
939 case e_nonStandardData
:
940 choice
= new H225_NonStandardParameter();
949 PObject
* H4502_CTCompleteArg_argumentExtension::Clone() const
951 #ifndef PASN_LEANANDMEAN
952 PAssert(IsClass(H4502_CTCompleteArg_argumentExtension::Class()), PInvalidCast
);
954 return new H4502_CTCompleteArg_argumentExtension(*this);
959 #ifndef PASN_NOPRINTON
960 const static PASN_Names Names_H4502_CTActiveArg_argumentExtension
[]={
962 ,{"nonStandardData",1}
966 // CTActiveArg_argumentExtension
969 H4502_CTActiveArg_argumentExtension::H4502_CTActiveArg_argumentExtension(unsigned tag
, PASN_Object::TagClass tagClass
)
970 : PASN_Choice(tag
, tagClass
, 2, FALSE
971 #ifndef PASN_NOPRINTON
972 ,(const PASN_Names
*)Names_H4502_CTActiveArg_argumentExtension
,2
979 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
980 H4502_CTActiveArg_argumentExtension::operator H4502_ExtensionSeq
&() const
982 H4502_CTActiveArg_argumentExtension::operator H4502_ExtensionSeq
&()
984 #ifndef PASN_LEANANDMEAN
985 PAssert(PIsDescendant(PAssertNULL(choice
), H4502_ExtensionSeq
), PInvalidCast
);
987 return *(H4502_ExtensionSeq
*)choice
;
991 H4502_CTActiveArg_argumentExtension::operator const H4502_ExtensionSeq
&() const
994 #ifndef PASN_LEANANDMEAN
995 PAssert(PIsDescendant(PAssertNULL(choice
), H4502_ExtensionSeq
), PInvalidCast
);
997 return *(H4502_ExtensionSeq
*)choice
;
1001 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
1002 H4502_CTActiveArg_argumentExtension::operator H225_NonStandardParameter
&() const
1004 H4502_CTActiveArg_argumentExtension::operator H225_NonStandardParameter
&()
1006 #ifndef PASN_LEANANDMEAN
1007 PAssert(PIsDescendant(PAssertNULL(choice
), H225_NonStandardParameter
), PInvalidCast
);
1009 return *(H225_NonStandardParameter
*)choice
;
1013 H4502_CTActiveArg_argumentExtension::operator const H225_NonStandardParameter
&() const
1016 #ifndef PASN_LEANANDMEAN
1017 PAssert(PIsDescendant(PAssertNULL(choice
), H225_NonStandardParameter
), PInvalidCast
);
1019 return *(H225_NonStandardParameter
*)choice
;
1023 BOOL
H4502_CTActiveArg_argumentExtension::CreateObject()
1026 case e_extensionSeq
:
1027 choice
= new H4502_ExtensionSeq();
1029 case e_nonStandardData
:
1030 choice
= new H225_NonStandardParameter();
1039 PObject
* H4502_CTActiveArg_argumentExtension::Clone() const
1041 #ifndef PASN_LEANANDMEAN
1042 PAssert(IsClass(H4502_CTActiveArg_argumentExtension::Class()), PInvalidCast
);
1044 return new H4502_CTActiveArg_argumentExtension(*this);
1052 H4502_CTInitiateArg::H4502_CTInitiateArg(unsigned tag
, PASN_Object::TagClass tagClass
)
1053 : PASN_Sequence(tag
, tagClass
, 1, TRUE
, 0)
1058 #ifndef PASN_NOPRINTON
1059 void H4502_CTInitiateArg::PrintOn(ostream
& strm
) const
1061 int indent
= strm
.precision() + 2;
1063 strm
<< setw(indent
+15) << "callIdentity = " << setprecision(indent
) << m_callIdentity
<< '\n';
1064 strm
<< setw(indent
+18) << "reroutingNumber = " << setprecision(indent
) << m_reroutingNumber
<< '\n';
1065 if (HasOptionalField(e_argumentExtension
))
1066 strm
<< setw(indent
+20) << "argumentExtension = " << setprecision(indent
) << m_argumentExtension
<< '\n';
1067 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
1072 PObject::Comparison
H4502_CTInitiateArg::Compare(const PObject
& obj
) const
1074 #ifndef PASN_LEANANDMEAN
1075 PAssert(PIsDescendant(&obj
, H4502_CTInitiateArg
), PInvalidCast
);
1077 const H4502_CTInitiateArg
& other
= (const H4502_CTInitiateArg
&)obj
;
1081 if ((result
= m_callIdentity
.Compare(other
.m_callIdentity
)) != EqualTo
)
1083 if ((result
= m_reroutingNumber
.Compare(other
.m_reroutingNumber
)) != EqualTo
)
1085 if ((result
= m_argumentExtension
.Compare(other
.m_argumentExtension
)) != EqualTo
)
1088 return PASN_Sequence::Compare(other
);
1092 PINDEX
H4502_CTInitiateArg::GetDataLength() const
1095 length
+= m_callIdentity
.GetObjectLength();
1096 length
+= m_reroutingNumber
.GetObjectLength();
1097 if (HasOptionalField(e_argumentExtension
))
1098 length
+= m_argumentExtension
.GetObjectLength();
1103 BOOL
H4502_CTInitiateArg::Decode(PASN_Stream
& strm
)
1105 if (!PreambleDecode(strm
))
1108 if (!m_callIdentity
.Decode(strm
))
1110 if (!m_reroutingNumber
.Decode(strm
))
1112 if (HasOptionalField(e_argumentExtension
) && !m_argumentExtension
.Decode(strm
))
1115 return UnknownExtensionsDecode(strm
);
1119 void H4502_CTInitiateArg::Encode(PASN_Stream
& strm
) const
1121 PreambleEncode(strm
);
1123 m_callIdentity
.Encode(strm
);
1124 m_reroutingNumber
.Encode(strm
);
1125 if (HasOptionalField(e_argumentExtension
))
1126 m_argumentExtension
.Encode(strm
);
1128 UnknownExtensionsEncode(strm
);
1132 PObject
* H4502_CTInitiateArg::Clone() const
1134 #ifndef PASN_LEANANDMEAN
1135 PAssert(IsClass(H4502_CTInitiateArg::Class()), PInvalidCast
);
1137 return new H4502_CTInitiateArg(*this);
1145 H4502_CTSetupArg::H4502_CTSetupArg(unsigned tag
, PASN_Object::TagClass tagClass
)
1146 : PASN_Sequence(tag
, tagClass
, 2, TRUE
, 0)
1151 #ifndef PASN_NOPRINTON
1152 void H4502_CTSetupArg::PrintOn(ostream
& strm
) const
1154 int indent
= strm
.precision() + 2;
1156 strm
<< setw(indent
+15) << "callIdentity = " << setprecision(indent
) << m_callIdentity
<< '\n';
1157 if (HasOptionalField(e_transferringNumber
))
1158 strm
<< setw(indent
+21) << "transferringNumber = " << setprecision(indent
) << m_transferringNumber
<< '\n';
1159 if (HasOptionalField(e_argumentExtension
))
1160 strm
<< setw(indent
+20) << "argumentExtension = " << setprecision(indent
) << m_argumentExtension
<< '\n';
1161 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
1166 PObject::Comparison
H4502_CTSetupArg::Compare(const PObject
& obj
) const
1168 #ifndef PASN_LEANANDMEAN
1169 PAssert(PIsDescendant(&obj
, H4502_CTSetupArg
), PInvalidCast
);
1171 const H4502_CTSetupArg
& other
= (const H4502_CTSetupArg
&)obj
;
1175 if ((result
= m_callIdentity
.Compare(other
.m_callIdentity
)) != EqualTo
)
1177 if ((result
= m_transferringNumber
.Compare(other
.m_transferringNumber
)) != EqualTo
)
1179 if ((result
= m_argumentExtension
.Compare(other
.m_argumentExtension
)) != EqualTo
)
1182 return PASN_Sequence::Compare(other
);
1186 PINDEX
H4502_CTSetupArg::GetDataLength() const
1189 length
+= m_callIdentity
.GetObjectLength();
1190 if (HasOptionalField(e_transferringNumber
))
1191 length
+= m_transferringNumber
.GetObjectLength();
1192 if (HasOptionalField(e_argumentExtension
))
1193 length
+= m_argumentExtension
.GetObjectLength();
1198 BOOL
H4502_CTSetupArg::Decode(PASN_Stream
& strm
)
1200 if (!PreambleDecode(strm
))
1203 if (!m_callIdentity
.Decode(strm
))
1205 if (HasOptionalField(e_transferringNumber
) && !m_transferringNumber
.Decode(strm
))
1207 if (HasOptionalField(e_argumentExtension
) && !m_argumentExtension
.Decode(strm
))
1210 return UnknownExtensionsDecode(strm
);
1214 void H4502_CTSetupArg::Encode(PASN_Stream
& strm
) const
1216 PreambleEncode(strm
);
1218 m_callIdentity
.Encode(strm
);
1219 if (HasOptionalField(e_transferringNumber
))
1220 m_transferringNumber
.Encode(strm
);
1221 if (HasOptionalField(e_argumentExtension
))
1222 m_argumentExtension
.Encode(strm
);
1224 UnknownExtensionsEncode(strm
);
1228 PObject
* H4502_CTSetupArg::Clone() const
1230 #ifndef PASN_LEANANDMEAN
1231 PAssert(IsClass(H4502_CTSetupArg::Class()), PInvalidCast
);
1233 return new H4502_CTSetupArg(*this);
1241 H4502_CTIdentifyRes::H4502_CTIdentifyRes(unsigned tag
, PASN_Object::TagClass tagClass
)
1242 : PASN_Sequence(tag
, tagClass
, 1, TRUE
, 0)
1247 #ifndef PASN_NOPRINTON
1248 void H4502_CTIdentifyRes::PrintOn(ostream
& strm
) const
1250 int indent
= strm
.precision() + 2;
1252 strm
<< setw(indent
+15) << "callIdentity = " << setprecision(indent
) << m_callIdentity
<< '\n';
1253 strm
<< setw(indent
+18) << "reroutingNumber = " << setprecision(indent
) << m_reroutingNumber
<< '\n';
1254 if (HasOptionalField(e_resultExtension
))
1255 strm
<< setw(indent
+18) << "resultExtension = " << setprecision(indent
) << m_resultExtension
<< '\n';
1256 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
1261 PObject::Comparison
H4502_CTIdentifyRes::Compare(const PObject
& obj
) const
1263 #ifndef PASN_LEANANDMEAN
1264 PAssert(PIsDescendant(&obj
, H4502_CTIdentifyRes
), PInvalidCast
);
1266 const H4502_CTIdentifyRes
& other
= (const H4502_CTIdentifyRes
&)obj
;
1270 if ((result
= m_callIdentity
.Compare(other
.m_callIdentity
)) != EqualTo
)
1272 if ((result
= m_reroutingNumber
.Compare(other
.m_reroutingNumber
)) != EqualTo
)
1274 if ((result
= m_resultExtension
.Compare(other
.m_resultExtension
)) != EqualTo
)
1277 return PASN_Sequence::Compare(other
);
1281 PINDEX
H4502_CTIdentifyRes::GetDataLength() const
1284 length
+= m_callIdentity
.GetObjectLength();
1285 length
+= m_reroutingNumber
.GetObjectLength();
1286 if (HasOptionalField(e_resultExtension
))
1287 length
+= m_resultExtension
.GetObjectLength();
1292 BOOL
H4502_CTIdentifyRes::Decode(PASN_Stream
& strm
)
1294 if (!PreambleDecode(strm
))
1297 if (!m_callIdentity
.Decode(strm
))
1299 if (!m_reroutingNumber
.Decode(strm
))
1301 if (HasOptionalField(e_resultExtension
) && !m_resultExtension
.Decode(strm
))
1304 return UnknownExtensionsDecode(strm
);
1308 void H4502_CTIdentifyRes::Encode(PASN_Stream
& strm
) const
1310 PreambleEncode(strm
);
1312 m_callIdentity
.Encode(strm
);
1313 m_reroutingNumber
.Encode(strm
);
1314 if (HasOptionalField(e_resultExtension
))
1315 m_resultExtension
.Encode(strm
);
1317 UnknownExtensionsEncode(strm
);
1321 PObject
* H4502_CTIdentifyRes::Clone() const
1323 #ifndef PASN_LEANANDMEAN
1324 PAssert(IsClass(H4502_CTIdentifyRes::Class()), PInvalidCast
);
1326 return new H4502_CTIdentifyRes(*this);
1334 H4502_CTUpdateArg::H4502_CTUpdateArg(unsigned tag
, PASN_Object::TagClass tagClass
)
1335 : PASN_Sequence(tag
, tagClass
, 3, TRUE
, 0)
1337 m_redirectionInfo
.SetConstraints(PASN_Object::FixedConstraint
, 1, 128);
1341 #ifndef PASN_NOPRINTON
1342 void H4502_CTUpdateArg::PrintOn(ostream
& strm
) const
1344 int indent
= strm
.precision() + 2;
1346 strm
<< setw(indent
+20) << "redirectionNumber = " << setprecision(indent
) << m_redirectionNumber
<< '\n';
1347 if (HasOptionalField(e_redirectionInfo
))
1348 strm
<< setw(indent
+18) << "redirectionInfo = " << setprecision(indent
) << m_redirectionInfo
<< '\n';
1349 if (HasOptionalField(e_basicCallInfoElements
))
1350 strm
<< setw(indent
+24) << "basicCallInfoElements = " << setprecision(indent
) << m_basicCallInfoElements
<< '\n';
1351 if (HasOptionalField(e_argumentExtension
))
1352 strm
<< setw(indent
+20) << "argumentExtension = " << setprecision(indent
) << m_argumentExtension
<< '\n';
1353 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
1358 PObject::Comparison
H4502_CTUpdateArg::Compare(const PObject
& obj
) const
1360 #ifndef PASN_LEANANDMEAN
1361 PAssert(PIsDescendant(&obj
, H4502_CTUpdateArg
), PInvalidCast
);
1363 const H4502_CTUpdateArg
& other
= (const H4502_CTUpdateArg
&)obj
;
1367 if ((result
= m_redirectionNumber
.Compare(other
.m_redirectionNumber
)) != EqualTo
)
1369 if ((result
= m_redirectionInfo
.Compare(other
.m_redirectionInfo
)) != EqualTo
)
1371 if ((result
= m_basicCallInfoElements
.Compare(other
.m_basicCallInfoElements
)) != EqualTo
)
1373 if ((result
= m_argumentExtension
.Compare(other
.m_argumentExtension
)) != EqualTo
)
1376 return PASN_Sequence::Compare(other
);
1380 PINDEX
H4502_CTUpdateArg::GetDataLength() const
1383 length
+= m_redirectionNumber
.GetObjectLength();
1384 if (HasOptionalField(e_redirectionInfo
))
1385 length
+= m_redirectionInfo
.GetObjectLength();
1386 if (HasOptionalField(e_basicCallInfoElements
))
1387 length
+= m_basicCallInfoElements
.GetObjectLength();
1388 if (HasOptionalField(e_argumentExtension
))
1389 length
+= m_argumentExtension
.GetObjectLength();
1394 BOOL
H4502_CTUpdateArg::Decode(PASN_Stream
& strm
)
1396 if (!PreambleDecode(strm
))
1399 if (!m_redirectionNumber
.Decode(strm
))
1401 if (HasOptionalField(e_redirectionInfo
) && !m_redirectionInfo
.Decode(strm
))
1403 if (HasOptionalField(e_basicCallInfoElements
) && !m_basicCallInfoElements
.Decode(strm
))
1405 if (HasOptionalField(e_argumentExtension
) && !m_argumentExtension
.Decode(strm
))
1408 return UnknownExtensionsDecode(strm
);
1412 void H4502_CTUpdateArg::Encode(PASN_Stream
& strm
) const
1414 PreambleEncode(strm
);
1416 m_redirectionNumber
.Encode(strm
);
1417 if (HasOptionalField(e_redirectionInfo
))
1418 m_redirectionInfo
.Encode(strm
);
1419 if (HasOptionalField(e_basicCallInfoElements
))
1420 m_basicCallInfoElements
.Encode(strm
);
1421 if (HasOptionalField(e_argumentExtension
))
1422 m_argumentExtension
.Encode(strm
);
1424 UnknownExtensionsEncode(strm
);
1428 PObject
* H4502_CTUpdateArg::Clone() const
1430 #ifndef PASN_LEANANDMEAN
1431 PAssert(IsClass(H4502_CTUpdateArg::Class()), PInvalidCast
);
1433 return new H4502_CTUpdateArg(*this);
1438 // SubaddressTransferArg
1441 H4502_SubaddressTransferArg::H4502_SubaddressTransferArg(unsigned tag
, PASN_Object::TagClass tagClass
)
1442 : PASN_Sequence(tag
, tagClass
, 1, TRUE
, 0)
1447 #ifndef PASN_NOPRINTON
1448 void H4502_SubaddressTransferArg::PrintOn(ostream
& strm
) const
1450 int indent
= strm
.precision() + 2;
1452 strm
<< setw(indent
+24) << "redirectionSubaddress = " << setprecision(indent
) << m_redirectionSubaddress
<< '\n';
1453 if (HasOptionalField(e_argumentExtension
))
1454 strm
<< setw(indent
+20) << "argumentExtension = " << setprecision(indent
) << m_argumentExtension
<< '\n';
1455 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
1460 PObject::Comparison
H4502_SubaddressTransferArg::Compare(const PObject
& obj
) const
1462 #ifndef PASN_LEANANDMEAN
1463 PAssert(PIsDescendant(&obj
, H4502_SubaddressTransferArg
), PInvalidCast
);
1465 const H4502_SubaddressTransferArg
& other
= (const H4502_SubaddressTransferArg
&)obj
;
1469 if ((result
= m_redirectionSubaddress
.Compare(other
.m_redirectionSubaddress
)) != EqualTo
)
1471 if ((result
= m_argumentExtension
.Compare(other
.m_argumentExtension
)) != EqualTo
)
1474 return PASN_Sequence::Compare(other
);
1478 PINDEX
H4502_SubaddressTransferArg::GetDataLength() const
1481 length
+= m_redirectionSubaddress
.GetObjectLength();
1482 if (HasOptionalField(e_argumentExtension
))
1483 length
+= m_argumentExtension
.GetObjectLength();
1488 BOOL
H4502_SubaddressTransferArg::Decode(PASN_Stream
& strm
)
1490 if (!PreambleDecode(strm
))
1493 if (!m_redirectionSubaddress
.Decode(strm
))
1495 if (HasOptionalField(e_argumentExtension
) && !m_argumentExtension
.Decode(strm
))
1498 return UnknownExtensionsDecode(strm
);
1502 void H4502_SubaddressTransferArg::Encode(PASN_Stream
& strm
) const
1504 PreambleEncode(strm
);
1506 m_redirectionSubaddress
.Encode(strm
);
1507 if (HasOptionalField(e_argumentExtension
))
1508 m_argumentExtension
.Encode(strm
);
1510 UnknownExtensionsEncode(strm
);
1514 PObject
* H4502_SubaddressTransferArg::Clone() const
1516 #ifndef PASN_LEANANDMEAN
1517 PAssert(IsClass(H4502_SubaddressTransferArg::Class()), PInvalidCast
);
1519 return new H4502_SubaddressTransferArg(*this);
1527 H4502_CTCompleteArg::H4502_CTCompleteArg(unsigned tag
, PASN_Object::TagClass tagClass
)
1528 : PASN_Sequence(tag
, tagClass
, 3, TRUE
, 0)
1530 m_redirectionInfo
.SetConstraints(PASN_Object::FixedConstraint
, 1, 128);
1534 #ifndef PASN_NOPRINTON
1535 void H4502_CTCompleteArg::PrintOn(ostream
& strm
) const
1537 int indent
= strm
.precision() + 2;
1539 strm
<< setw(indent
+17) << "endDesignation = " << setprecision(indent
) << m_endDesignation
<< '\n';
1540 strm
<< setw(indent
+20) << "redirectionNumber = " << setprecision(indent
) << m_redirectionNumber
<< '\n';
1541 if (HasOptionalField(e_basicCallInfoElements
))
1542 strm
<< setw(indent
+24) << "basicCallInfoElements = " << setprecision(indent
) << m_basicCallInfoElements
<< '\n';
1543 if (HasOptionalField(e_redirectionInfo
))
1544 strm
<< setw(indent
+18) << "redirectionInfo = " << setprecision(indent
) << m_redirectionInfo
<< '\n';
1545 strm
<< setw(indent
+13) << "callStatus = " << setprecision(indent
) << m_callStatus
<< '\n';
1546 if (HasOptionalField(e_argumentExtension
))
1547 strm
<< setw(indent
+20) << "argumentExtension = " << setprecision(indent
) << m_argumentExtension
<< '\n';
1548 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
1553 PObject::Comparison
H4502_CTCompleteArg::Compare(const PObject
& obj
) const
1555 #ifndef PASN_LEANANDMEAN
1556 PAssert(PIsDescendant(&obj
, H4502_CTCompleteArg
), PInvalidCast
);
1558 const H4502_CTCompleteArg
& other
= (const H4502_CTCompleteArg
&)obj
;
1562 if ((result
= m_endDesignation
.Compare(other
.m_endDesignation
)) != EqualTo
)
1564 if ((result
= m_redirectionNumber
.Compare(other
.m_redirectionNumber
)) != EqualTo
)
1566 if ((result
= m_basicCallInfoElements
.Compare(other
.m_basicCallInfoElements
)) != EqualTo
)
1568 if ((result
= m_redirectionInfo
.Compare(other
.m_redirectionInfo
)) != EqualTo
)
1570 if ((result
= m_callStatus
.Compare(other
.m_callStatus
)) != EqualTo
)
1572 if ((result
= m_argumentExtension
.Compare(other
.m_argumentExtension
)) != EqualTo
)
1575 return PASN_Sequence::Compare(other
);
1579 PINDEX
H4502_CTCompleteArg::GetDataLength() const
1582 length
+= m_endDesignation
.GetObjectLength();
1583 length
+= m_redirectionNumber
.GetObjectLength();
1584 if (HasOptionalField(e_basicCallInfoElements
))
1585 length
+= m_basicCallInfoElements
.GetObjectLength();
1586 if (HasOptionalField(e_redirectionInfo
))
1587 length
+= m_redirectionInfo
.GetObjectLength();
1588 length
+= m_callStatus
.GetObjectLength();
1589 if (HasOptionalField(e_argumentExtension
))
1590 length
+= m_argumentExtension
.GetObjectLength();
1595 BOOL
H4502_CTCompleteArg::Decode(PASN_Stream
& strm
)
1597 if (!PreambleDecode(strm
))
1600 if (!m_endDesignation
.Decode(strm
))
1602 if (!m_redirectionNumber
.Decode(strm
))
1604 if (HasOptionalField(e_basicCallInfoElements
) && !m_basicCallInfoElements
.Decode(strm
))
1606 if (HasOptionalField(e_redirectionInfo
) && !m_redirectionInfo
.Decode(strm
))
1608 if (!m_callStatus
.Decode(strm
))
1610 if (HasOptionalField(e_argumentExtension
) && !m_argumentExtension
.Decode(strm
))
1613 return UnknownExtensionsDecode(strm
);
1617 void H4502_CTCompleteArg::Encode(PASN_Stream
& strm
) const
1619 PreambleEncode(strm
);
1621 m_endDesignation
.Encode(strm
);
1622 m_redirectionNumber
.Encode(strm
);
1623 if (HasOptionalField(e_basicCallInfoElements
))
1624 m_basicCallInfoElements
.Encode(strm
);
1625 if (HasOptionalField(e_redirectionInfo
))
1626 m_redirectionInfo
.Encode(strm
);
1627 m_callStatus
.Encode(strm
);
1628 if (HasOptionalField(e_argumentExtension
))
1629 m_argumentExtension
.Encode(strm
);
1631 UnknownExtensionsEncode(strm
);
1635 PObject
* H4502_CTCompleteArg::Clone() const
1637 #ifndef PASN_LEANANDMEAN
1638 PAssert(IsClass(H4502_CTCompleteArg::Class()), PInvalidCast
);
1640 return new H4502_CTCompleteArg(*this);
1648 H4502_CTActiveArg::H4502_CTActiveArg(unsigned tag
, PASN_Object::TagClass tagClass
)
1649 : PASN_Sequence(tag
, tagClass
, 3, TRUE
, 0)
1651 m_connectedInfo
.SetConstraints(PASN_Object::FixedConstraint
, 1, 128);
1655 #ifndef PASN_NOPRINTON
1656 void H4502_CTActiveArg::PrintOn(ostream
& strm
) const
1658 int indent
= strm
.precision() + 2;
1660 strm
<< setw(indent
+19) << "connectedAddress = " << setprecision(indent
) << m_connectedAddress
<< '\n';
1661 if (HasOptionalField(e_basicCallInfoElements
))
1662 strm
<< setw(indent
+24) << "basicCallInfoElements = " << setprecision(indent
) << m_basicCallInfoElements
<< '\n';
1663 if (HasOptionalField(e_connectedInfo
))
1664 strm
<< setw(indent
+16) << "connectedInfo = " << setprecision(indent
) << m_connectedInfo
<< '\n';
1665 if (HasOptionalField(e_argumentExtension
))
1666 strm
<< setw(indent
+20) << "argumentExtension = " << setprecision(indent
) << m_argumentExtension
<< '\n';
1667 strm
<< setw(indent
-1) << setprecision(indent
-2) << "}";
1672 PObject::Comparison
H4502_CTActiveArg::Compare(const PObject
& obj
) const
1674 #ifndef PASN_LEANANDMEAN
1675 PAssert(PIsDescendant(&obj
, H4502_CTActiveArg
), PInvalidCast
);
1677 const H4502_CTActiveArg
& other
= (const H4502_CTActiveArg
&)obj
;
1681 if ((result
= m_connectedAddress
.Compare(other
.m_connectedAddress
)) != EqualTo
)
1683 if ((result
= m_basicCallInfoElements
.Compare(other
.m_basicCallInfoElements
)) != EqualTo
)
1685 if ((result
= m_connectedInfo
.Compare(other
.m_connectedInfo
)) != EqualTo
)
1687 if ((result
= m_argumentExtension
.Compare(other
.m_argumentExtension
)) != EqualTo
)
1690 return PASN_Sequence::Compare(other
);
1694 PINDEX
H4502_CTActiveArg::GetDataLength() const
1697 length
+= m_connectedAddress
.GetObjectLength();
1698 if (HasOptionalField(e_basicCallInfoElements
))
1699 length
+= m_basicCallInfoElements
.GetObjectLength();
1700 if (HasOptionalField(e_connectedInfo
))
1701 length
+= m_connectedInfo
.GetObjectLength();
1702 if (HasOptionalField(e_argumentExtension
))
1703 length
+= m_argumentExtension
.GetObjectLength();
1708 BOOL
H4502_CTActiveArg::Decode(PASN_Stream
& strm
)
1710 if (!PreambleDecode(strm
))
1713 if (!m_connectedAddress
.Decode(strm
))
1715 if (HasOptionalField(e_basicCallInfoElements
) && !m_basicCallInfoElements
.Decode(strm
))
1717 if (HasOptionalField(e_connectedInfo
) && !m_connectedInfo
.Decode(strm
))
1719 if (HasOptionalField(e_argumentExtension
) && !m_argumentExtension
.Decode(strm
))
1722 return UnknownExtensionsDecode(strm
);
1726 void H4502_CTActiveArg::Encode(PASN_Stream
& strm
) const
1728 PreambleEncode(strm
);
1730 m_connectedAddress
.Encode(strm
);
1731 if (HasOptionalField(e_basicCallInfoElements
))
1732 m_basicCallInfoElements
.Encode(strm
);
1733 if (HasOptionalField(e_connectedInfo
))
1734 m_connectedInfo
.Encode(strm
);
1735 if (HasOptionalField(e_argumentExtension
))
1736 m_argumentExtension
.Encode(strm
);
1738 UnknownExtensionsEncode(strm
);
1742 PObject
* H4502_CTActiveArg::Clone() const
1744 #ifndef PASN_LEANANDMEAN
1745 PAssert(IsClass(H4502_CTActiveArg::Class()), PInvalidCast
);
1747 return new H4502_CTActiveArg(*this);
1751 #endif // if ! H323_DISABLE_H4502