Objective Systems, Inc.  
Home
About ASN.1
Products
Free Software
Documents
Services
Resources
Resellers
Customers
Careers
About Us
Contact Us
 

Google


Objective Systems, Inc.

OSRTDListBaseClass Class Reference

This class is a base class for C++ representations of a doubly-linked list classes. More...

#include <rtxCppDList.h>

Inheritance diagram for OSRTDListBaseClass:

OSBaseType OSRTDListClass OSRTObjListClass List of all members.

Public Member Functions

 OSRTDListBaseClass ()
 The default constructor initializes the list contents to empty.
virtual ~OSRTDListBaseClass ()
 The destructor will delete all the nodes in the list and free memory in all of those indicated to be owned by the list.
OSUINT32 getCount () const
 This method returns count of items in the list.
OSRTDList * getList ()
 This method returns a pointer to OSRTDList structure for the list instance.
const OSRTDList * getList () const
 This method returns a const pointer to OSRTDList structure for the list instance.
void remove (int index)
 The remove method removes the data item at the given index from the list.

Protected Member Functions

 operator OSRTDList * ()
 operator const OSRTDList * () const
 OSRTDListBaseClass (const OSRTDListBaseClass &o)

Detailed Description

This class is a base class for C++ representations of a doubly-linked list classes.

It is derived from the OSBaseType class as well as the C OSRTDList structure. This class provides a basic functionality for C++ doubly-linked list.

Definition at line 191 of file rtxCppDList.h.


Member Function Documentation

OSUINT32 OSRTDListBaseClass::getCount  )  const [inline]
 

This method returns count of items in the list.

Returns:
- Count of items in the list

Definition at line 214 of file rtxCppDList.h.

const OSRTDList* OSRTDListBaseClass::getList  )  const [inline]
 

This method returns a const pointer to OSRTDList structure for the list instance.

Returns:
- a const pointer to OSRTDList structure for the list instance.

Definition at line 232 of file rtxCppDList.h.

OSRTDList* OSRTDListBaseClass::getList  )  [inline]
 

This method returns a pointer to OSRTDList structure for the list instance.

Returns:
- a pointer to OSRTDList structure for the list instance.

Definition at line 223 of file rtxCppDList.h.

void OSRTDListBaseClass::remove int  index  ) 
 

The remove method removes the data item at the given index from the list.

The index is zero-based.

Parameters:
index - Zero-based index of item to be removed.


The documentation for this class was generated from the following file:

This file was last modified on 8 Jan 2007.
XBinder, Version 1.1.9