D:/Storage/CVS_Head/h323plus/include/h230/OID2.h

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

Generated on Thu Oct 25 13:42:09 2007 for h323plus by  doxygen 1.5.2