4 // Code automatically generated by asnparse.
7 #if ! H323_DISABLE_X880
16 #include <ptclib/asner.h>
23 class X880_ReturnResult
;
24 class X880_ReturnError
;
27 class X880_ROS
: public PASN_Choice
29 #ifndef PASN_LEANANDMEAN
30 PCLASSINFO(X880_ROS
, PASN_Choice
);
33 X880_ROS(unsigned tag
= 0, TagClass tagClass
= UniversalTagClass
);
42 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
43 operator X880_Invoke
&() const;
45 operator X880_Invoke
&();
46 operator const X880_Invoke
&() const;
48 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
49 operator X880_ReturnResult
&() const;
51 operator X880_ReturnResult
&();
52 operator const X880_ReturnResult
&() const;
54 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
55 operator X880_ReturnError
&() const;
57 operator X880_ReturnError
&();
58 operator const X880_ReturnError
&() const;
60 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
61 operator X880_Reject
&() const;
63 operator X880_Reject
&();
64 operator const X880_Reject
&() const;
68 PObject
* Clone() const;
76 class X880_GeneralProblem
: public PASN_Integer
78 #ifndef PASN_LEANANDMEAN
79 PCLASSINFO(X880_GeneralProblem
, PASN_Integer
);
82 X880_GeneralProblem(unsigned tag
= UniversalInteger
, TagClass tagClass
= UniversalTagClass
);
84 X880_GeneralProblem
& operator=(int v
);
85 X880_GeneralProblem
& operator=(unsigned v
);
86 PObject
* Clone() const;
94 class X880_InvokeProblem
: public PASN_Integer
96 #ifndef PASN_LEANANDMEAN
97 PCLASSINFO(X880_InvokeProblem
, PASN_Integer
);
100 X880_InvokeProblem(unsigned tag
= UniversalInteger
, TagClass tagClass
= UniversalTagClass
);
102 X880_InvokeProblem
& operator=(int v
);
103 X880_InvokeProblem
& operator=(unsigned v
);
104 PObject
* Clone() const;
109 // ReturnResultProblem
112 class X880_ReturnResultProblem
: public PASN_Integer
114 #ifndef PASN_LEANANDMEAN
115 PCLASSINFO(X880_ReturnResultProblem
, PASN_Integer
);
118 X880_ReturnResultProblem(unsigned tag
= UniversalInteger
, TagClass tagClass
= UniversalTagClass
);
120 X880_ReturnResultProblem
& operator=(int v
);
121 X880_ReturnResultProblem
& operator=(unsigned v
);
122 PObject
* Clone() const;
127 // ReturnErrorProblem
130 class X880_ReturnErrorProblem
: public PASN_Integer
132 #ifndef PASN_LEANANDMEAN
133 PCLASSINFO(X880_ReturnErrorProblem
, PASN_Integer
);
136 X880_ReturnErrorProblem(unsigned tag
= UniversalInteger
, TagClass tagClass
= UniversalTagClass
);
138 X880_ReturnErrorProblem
& operator=(int v
);
139 X880_ReturnErrorProblem
& operator=(unsigned v
);
140 PObject
* Clone() const;
148 class X880_RejectProblem
: public PASN_Integer
150 #ifndef PASN_LEANANDMEAN
151 PCLASSINFO(X880_RejectProblem
, PASN_Integer
);
154 X880_RejectProblem(unsigned tag
= UniversalInteger
, TagClass tagClass
= UniversalTagClass
);
156 X880_RejectProblem
& operator=(int v
);
157 X880_RejectProblem
& operator=(unsigned v
);
158 PObject
* Clone() const;
166 class X880_InvokeId
: public PASN_Integer
168 #ifndef PASN_LEANANDMEAN
169 PCLASSINFO(X880_InvokeId
, PASN_Integer
);
172 X880_InvokeId(unsigned tag
= UniversalInteger
, TagClass tagClass
= UniversalTagClass
);
174 X880_InvokeId
& operator=(int v
);
175 X880_InvokeId
& operator=(unsigned v
);
176 PObject
* Clone() const;
184 class X880_Code
: public PASN_Choice
186 #ifndef PASN_LEANANDMEAN
187 PCLASSINFO(X880_Code
, PASN_Choice
);
190 X880_Code(unsigned tag
= 0, TagClass tagClass
= UniversalTagClass
);
198 PObject
* Clone() const;
203 // ReturnResult_result
206 class X880_ReturnResult_result
: public PASN_Sequence
208 #ifndef PASN_LEANANDMEAN
209 PCLASSINFO(X880_ReturnResult_result
, PASN_Sequence
);
212 X880_ReturnResult_result(unsigned tag
= UniversalSequence
, TagClass tagClass
= UniversalTagClass
);
215 PASN_OctetString m_result
;
217 PINDEX
GetDataLength() const;
218 BOOL
Decode(PASN_Stream
& strm
);
219 void Encode(PASN_Stream
& strm
) const;
220 #ifndef PASN_NOPRINTON
221 void PrintOn(ostream
& strm
) const;
223 Comparison
Compare(const PObject
& obj
) const;
224 PObject
* Clone() const;
232 class X880_GeneralProblem
;
233 class X880_InvokeProblem
;
234 class X880_ReturnResultProblem
;
235 class X880_ReturnErrorProblem
;
237 class X880_Reject_problem
: public PASN_Choice
239 #ifndef PASN_LEANANDMEAN
240 PCLASSINFO(X880_Reject_problem
, PASN_Choice
);
243 X880_Reject_problem(unsigned tag
= 0, TagClass tagClass
= UniversalTagClass
);
252 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
253 operator X880_GeneralProblem
&() const;
255 operator X880_GeneralProblem
&();
256 operator const X880_GeneralProblem
&() const;
258 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
259 operator X880_InvokeProblem
&() const;
261 operator X880_InvokeProblem
&();
262 operator const X880_InvokeProblem
&() const;
264 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
265 operator X880_ReturnResultProblem
&() const;
267 operator X880_ReturnResultProblem
&();
268 operator const X880_ReturnResultProblem
&() const;
270 #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
271 operator X880_ReturnErrorProblem
&() const;
273 operator X880_ReturnErrorProblem
&();
274 operator const X880_ReturnErrorProblem
&() const;
278 PObject
* Clone() const;
286 class X880_Invoke
: public PASN_Sequence
288 #ifndef PASN_LEANANDMEAN
289 PCLASSINFO(X880_Invoke
, PASN_Sequence
);
292 X880_Invoke(unsigned tag
= UniversalSequence
, TagClass tagClass
= UniversalTagClass
);
294 enum OptionalFields
{
299 PASN_Integer m_invokeId
;
300 X880_InvokeId m_linkedId
;
302 PASN_OctetString m_argument
;
304 PINDEX
GetDataLength() const;
305 BOOL
Decode(PASN_Stream
& strm
);
306 void Encode(PASN_Stream
& strm
) const;
307 #ifndef PASN_NOPRINTON
308 void PrintOn(ostream
& strm
) const;
310 Comparison
Compare(const PObject
& obj
) const;
311 PObject
* Clone() const;
319 class X880_ReturnResult
: public PASN_Sequence
321 #ifndef PASN_LEANANDMEAN
322 PCLASSINFO(X880_ReturnResult
, PASN_Sequence
);
325 X880_ReturnResult(unsigned tag
= UniversalSequence
, TagClass tagClass
= UniversalTagClass
);
327 enum OptionalFields
{
331 X880_InvokeId m_invokeId
;
332 X880_ReturnResult_result m_result
;
334 PINDEX
GetDataLength() const;
335 BOOL
Decode(PASN_Stream
& strm
);
336 void Encode(PASN_Stream
& strm
) const;
337 #ifndef PASN_NOPRINTON
338 void PrintOn(ostream
& strm
) const;
340 Comparison
Compare(const PObject
& obj
) const;
341 PObject
* Clone() const;
349 class X880_ReturnError
: public PASN_Sequence
351 #ifndef PASN_LEANANDMEAN
352 PCLASSINFO(X880_ReturnError
, PASN_Sequence
);
355 X880_ReturnError(unsigned tag
= UniversalSequence
, TagClass tagClass
= UniversalTagClass
);
357 enum OptionalFields
{
361 X880_InvokeId m_invokeId
;
362 X880_Code m_errorCode
;
363 PASN_OctetString m_parameter
;
365 PINDEX
GetDataLength() const;
366 BOOL
Decode(PASN_Stream
& strm
);
367 void Encode(PASN_Stream
& strm
) const;
368 #ifndef PASN_NOPRINTON
369 void PrintOn(ostream
& strm
) const;
371 Comparison
Compare(const PObject
& obj
) const;
372 PObject
* Clone() const;
380 class X880_Reject
: public PASN_Sequence
382 #ifndef PASN_LEANANDMEAN
383 PCLASSINFO(X880_Reject
, PASN_Sequence
);
386 X880_Reject(unsigned tag
= UniversalSequence
, TagClass tagClass
= UniversalTagClass
);
388 X880_InvokeId m_invokeId
;
389 X880_Reject_problem m_problem
;
391 PINDEX
GetDataLength() const;
392 BOOL
Decode(PASN_Stream
& strm
);
393 void Encode(PASN_Stream
& strm
) const;
394 #ifndef PASN_NOPRINTON
395 void PrintOn(ostream
& strm
) const;
397 Comparison
Compare(const PObject
& obj
) const;
398 PObject
* Clone() const;
404 #endif // if ! H323_DISABLE_X880