# h46024b.h

Go to the documentation of this file.

    00001 //
    00002 // H46024B.h
    00003 //
    00004 // Code automatically generated by asnparse.
    00005 //
    00006
    00007 #include <opal/buildopts.h>
    00008
    00009 #if ! H323_DISABLE_H46024B
    00010
    00011 #ifndef __H46024B_H
    00012 #define __H46024B_H
    00013
    00014 #ifdef P_USE_PRAGMA
    00015 #pragma interface
    00016 #endif
    00017
    00018 #include <ptclib/asner.h>
    00019
    00020 #include <asn/h245.h>
    00021
    00022
    00023 //
    00024 // AlternateAddress
    00025 //
    00026
    00027 class H46024B_AlternateAddress : public PASN_Sequence
    00028 {
    00029 #ifndef PASN_LEANANDMEAN
    00030     PCLASSINFO(H46024B_AlternateAddress, PASN_Sequence);
    00031 #endif
    00032   public:
    00033     H46024B_AlternateAddress(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
    00034
    00035     enum OptionalFields {
    00036       e_rtpAddress,
    00037       e_rtcpAddress
    00038     };
    00039
    00040     PASN_Integer m_sessionID;
    00041     H245_TransportAddress m_rtpAddress;
    00042     H245_TransportAddress m_rtcpAddress;
    00043
    00044     PINDEX GetDataLength() const;
    00045     PBoolean Decode(PASN_Stream & strm);
    00046     void Encode(PASN_Stream & strm) const;
    00047 #ifndef PASN_NOPRINTON
    00048     void PrintOn(ostream & strm) const;
    00049 #endif
    00050     Comparison Compare(const PObject & obj) const;
    00051     PObject * Clone() const;
    00052 };
    00053
    00054
    00055 //
    00056 // ArrayOf_AlternateAddress
    00057 //
    00058
    00059 class H46024B_AlternateAddress;
    00060
    00061 class H46024B_ArrayOf_AlternateAddress : public PASN_Array
    00062 {
    00063 #ifndef PASN_LEANANDMEAN
    00064     PCLASSINFO(H46024B_ArrayOf_AlternateAddress, PASN_Array);
    00065 #endif
    00066   public:
    00067     H46024B_ArrayOf_AlternateAddress(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
    00068
    00069     PASN_Object * CreateObject() const;
    00070     H46024B_AlternateAddress & operator[](PINDEX i) const;
    00071     PObject * Clone() const;
    00072 };
    00073
    00074
    00075 //
    00076 // AlternateAddresses
    00077 //
    00078
    00079 class H46024B_AlternateAddresses : public PASN_Sequence
    00080 {
    00081 #ifndef PASN_LEANANDMEAN
    00082     PCLASSINFO(H46024B_AlternateAddresses, PASN_Sequence);
    00083 #endif
    00084   public:
    00085     H46024B_AlternateAddresses(unsigned tag = UniversalSequence, TagClass tagClass = UniversalTagClass);
    00086
    00087     H46024B_ArrayOf_AlternateAddress m_addresses;
    00088
    00089     PINDEX GetDataLength() const;
    00090     PBoolean Decode(PASN_Stream & strm);
    00091     void Encode(PASN_Stream & strm) const;
    00092 #ifndef PASN_NOPRINTON
    00093     void PrintOn(ostream & strm) const;
    00094 #endif
    00095     Comparison Compare(const PObject & obj) const;
    00096     PObject * Clone() const;
    00097 };
    00098
    00099
    00100 #endif // __H46024B_H
    00101
    00102 #endif // if ! H323_DISABLE_H46024B
    00103
    00104
    00105 // End of H46024B.h