AVBlocks for C++  3.0
Audio and Video Software Development Kit
Loading...
Searching...
No Matches
StreamInfoEnum Class Referenceabstract

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

#include <av.h>

Inheritance diagram for StreamInfoEnum:
Reference

Public Member Functions

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

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

◆ at()

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

◆ count()

virtual int32_t count ( ) const
pure virtual

Returns the number of StreamInfo objects in the collection.

Returns
number of objects.