24 #ifndef _ASN1CSEQOFLIST_H_ 25 #define _ASN1CSEQOFLIST_H_ 57 #ifndef _NO_UTILS_CLASSES 81 volatile int expectedModCount;
98 inline OSBOOL
hasNext() {
return OSBOOL(nextNode != 0); }
110 inline OSBOOL
hasPrev() {
return OSBOOL(nextNode != 0); }
121 EXTRTMETHOD
void* next();
133 EXTRTMETHOD
void* prev();
146 EXTRTMETHOD
int remove();
161 EXTRTMETHOD
int set(
void* data);
178 EXTRTMETHOD
int insert(
void* data);
181 inline int getState () {
return stat; }
184 inline void*
operator new(size_t,
void* data) {
return data; }
185 #if !defined(__xlC__) 186 inline void operator delete(
void*,
void*) {}
189 inline void operator delete(
void*, size_t) {}
208 volatile int modCount;
232 EXTRTMETHOD ASN1CSeqOfList (OSRTMessageBufferIF& msgBuf,
OSRTDList& lst,
233 OSBOOL initBeforeUse = TRUE);
241 EXTRTMETHOD ASN1CSeqOfList (OSRTMessageBufferIF& msgBuf);
249 EXTRTMETHOD ASN1CSeqOfList (
ASN1CType& ccobj);
264 EXTRTMETHOD ASN1CSeqOfList (OSRTMessageBufferIF& msgBuf,
ASN1TSeqOfList& lst);
294 EXTRTMETHOD ASN1CSeqOfList (OSRTMessageBufferIF& msgBuf,
ASN1TPDUSeqOfList& lst);
297 OSBOOL initBeforeUse = TRUE);
302 EXTRTMETHOD ~ASN1CSeqOfList();
316 EXTRTMETHOD
void append(
void* data);
333 EXTRTMETHOD
void appendArray
334 (
const void* data, OSSIZE numElems, OSSIZE elemSize);
351 EXTRTMETHOD
void appendArrayCopy
352 (
const void* data, OSSIZE numElems, OSSIZE elemSize);
374 EXTRTMETHOD
void insert(
int index,
void* data);
388 EXTRTMETHOD
void remove(
int index);
401 EXTRTMETHOD
void remove(
void* data);
435 EXTRTMETHOD
int indexOf(
void* data)
const;
447 return indexOf(data) != -1;
456 EXTRTMETHOD
void* getFirst();
464 EXTRTMETHOD
void* getLast();
472 EXTRTMETHOD
void*
get (
int index)
const;
482 EXTRTMETHOD
void*
set (
int index,
void* data);
487 EXTRTMETHOD
void clear();
493 virtual void freeMemory();
500 EXTRTMETHOD OSBOOL isEmpty()
const;
507 EXTRTMETHOD OSSIZE size()
const;
547 EXTRTMETHOD
void* toArray (OSSIZE elemSize);
566 EXTRTMETHOD
void* toArray
567 (
void* pArray, OSSIZE elemSize, OSSIZE allocatedElems);
589 EXTRTMETHOD
void insertBefore(
void* data,
OSRTDListNode* node);
592 EXTRTMETHOD
void insertAfter(
void* data,
OSRTDListNode* node);
597 typedef class _ASN1CSeqOfList :
public ASN1CType {
599 _ASN1CSeqOfList (OSRTMessageBufferIF& msgBuf,
OSRTDList& lst,
600 OSBOOL initBeforeUse = TRUE) :
ASN1CType (msgBuf) {}
601 _ASN1CSeqOfList (OSRTMessageBufferIF& msgBuf,
ASN1TSeqOfList& lst) :
603 _ASN1CSeqOfList (OSRTMessageBufferIF& msgBuf) :
ASN1CType (msgBuf) {}
606 #endif // _NO_UTILS_CLASSES 612 #endif // _ASN1CSEQOFLIST_H_ OSRTDListNode * tail
Definition: rtxDList.h:67
OSRTDListNode * head
Definition: rtxDList.h:66
Definition: ASN1CSeqOfList.h:204
void init()
Definition: ASN1CSeqOfList.h:357
OSBOOL hasNext()
Definition: ASN1CSeqOfList.h:98
EXTRTMETHOD void insert(int index, void *data)
void rtxDListInit(OSRTDList *pList)
Definition: rtxDList.h:64
Definition: asn1CppTypes.h:871
OSBOOL contains(void *data) const
Definition: ASN1CSeqOfList.h:446
Definition: asn1CppTypes.h:308
void removeLast()
Definition: ASN1CSeqOfList.h:421
Definition: rtxDList.h:52
void append(OSRTDList &llist, void *pdata)
Definition: asn1CppTypes.h:388
Definition: asn1CppTypes.h:857
EXTRTMETHOD int insert(void *data)
Definition: OSRTContext.h:64
OSBOOL hasPrev()
Definition: ASN1CSeqOfList.h:110
void * operator[](int index) const
Definition: ASN1CSeqOfList.h:577
Definition: ASN1CSeqOfList.h:75
void removeFirst()
Definition: ASN1CSeqOfList.h:410