AVBlocks for C++  1.13
Audio and Video Software Development Kit
StreamInfoEnum Class Referenceabstract

StreamInfoEnum is a read-only collection of StreamInfo objects. More...

Inherits Reference.

Public Member Functions

virtual int32_t count () const =0
 Returns the number of StreamInfo objects in the collection. More...
 
virtual primo::codecs::StreamInfoat (int32_t index) const =0
 Returns the stream information for the specified item. More...
 
- Public Member Functions inherited from Reference
virtual int32_t retain () const =0
 Retains the instance. More...
 
virtual int32_t release () const =0
 Releases the instance. More...
 
virtual int32_t retainCount () const =0
 Returns the current reference count. More...
 

Protected Member Functions

 ~StreamInfoEnum ()
 This object can be destroyed only by the AVBlocks library.
 

Detailed Description

StreamInfoEnum is a read-only collection of StreamInfo objects.

Member Function Documentation

virtual primo::codecs::StreamInfo* at ( int32_t  index) const
pure virtual

Returns the stream information for the specified item.

Parameters
index[in] The stream index in the collection.
Returns
A pointer to a StreamInfo object specified by index or NULL if the index is invalid.

The caller is not required to release the returned object.

See Also
Object Management
virtual int32_t count ( ) const
pure virtual

Returns the number of StreamInfo objects in the collection.

Returns
number of objects.