The IMMAudioCDContents::Cursor class creates and manages the cursor support of the table of contents. You can use a cursor to traverse through the list of tracks.
You can construct, copy, and destruct objects of this class.
![]() |
public:
virtual ~Cursor()
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
Creates an IMMAudioCDContents::Cursor.
public:
Cursor()
This function creates an invalid cursor object. You have to set this cursor object equal to a valid cursor in order to use it.
Windows | OS/2 | AIX |
Yes | Yes | No |
public:
Cursor(const Cursor& cursor)
This function is the copy constructor. It takes another cursor and sets this cursor to be the same as the passed in cursor.
Windows | OS/2 | AIX |
Yes | Yes | No |
public:
Cursor(const IMMAudioCDContents& contents)
This function creates a cursor on the passed in table of contents.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
Cursor& operator =(const Cursor& newCursor)
Sets this cursor to be the same as the passed in cursor.
Windows | OS/2 | AIX |
Yes | Yes | No |
Use these members to change the cursor position in the list and to check the validity of the current position.
![]() |
public:
unsigned long asIndex() const
Returns the current index.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
virtual Cursor& invalidate()
Flags this cursor as invalid.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
bool isValid() const
Returns true if the cursor is valid.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
virtual Cursor& operator ++()
Points to the next item in the table of contents. If no more items exist, this invalidates the cursor.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
virtual Cursor& operator --()
Points to the previous item in the table of contents. If no previous items exist, this invalidates the cursor.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
virtual Cursor& setToFirst()
Points to the table of contents item and validates the cursor.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
virtual Cursor& setToIndex(unsigned long toIndex)
Points to the item with the given 1-based index and validates the cursor.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
virtual Cursor& setToLast()
Points to the last table of contents item and validates the cursor.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
virtual Cursor& setToNext()
Points to the next item in the table of contents. If no more items exist, this invalidates the cursor.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
virtual Cursor& setToPrevious()
Points to the previous item in the table of contents. If no previous items exist, this invalidates the cursor.
Windows | OS/2 | AIX |
Yes | Yes | No |