IMMAudioCDContents::Cursor

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.


IMMAudioCDContents::Cursor - Member Functions and Data by Group

Constructors & Destructor

You can construct, copy, and destruct objects of this class.


[view class]
~Cursor
public:
virtual ~Cursor()

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
Cursor

Creates an IMMAudioCDContents::Cursor.


Overload 1
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.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


Overload 2
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.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


Overload 3
public:
Cursor(const IMMAudioCDContents& contents)

This function creates a cursor on the passed in table of contents.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
operator =
public:
Cursor& operator =(const Cursor& newCursor)

Sets this cursor to be the same as the passed in cursor.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


Cursor Validation and Cursor Movement

Use these members to change the cursor position in the list and to check the validity of the current position.


[view class]
asIndex
public:
unsigned long asIndex() const

Returns the current index.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
invalidate
public:
virtual Cursor& invalidate()

Flags this cursor as invalid.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
isValid
public:
bool isValid() const

Returns true if the cursor is valid.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
operator ++
public:
virtual Cursor& operator ++()

Points to the next item in the table of contents. If no more items exist, this invalidates the cursor.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
operator --
public:
virtual Cursor& operator --()

Points to the previous item in the table of contents. If no previous items exist, this invalidates the cursor.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
setToFirst
public:
virtual Cursor& setToFirst()

Points to the table of contents item and validates the cursor.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
setToIndex
public:
virtual Cursor& setToIndex(unsigned long toIndex)

Points to the item with the given 1-based index and validates the cursor.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
setToLast
public:
virtual Cursor& setToLast()

Points to the last table of contents item and validates the cursor.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
setToNext
public:
virtual Cursor& setToNext()

Points to the next item in the table of contents. If no more items exist, this invalidates the cursor.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
setToPrevious
public:
virtual Cursor& setToPrevious()

Points to the previous item in the table of contents. If no previous items exist, this invalidates the cursor.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


IMMAudioCDContents::Cursor - Inherited Member Functions and Data

Inherited Public Functions

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data