Isomet Modular Synthesiser (iMS) API
v1.4.2
iMS API
|
Provides a mechanism for viewing the ImageTable associated with an iMS System. More...
#include <include\ImageOps.h>
Public Member Functions | |
Constructor | |
ImageTableViewer (const IMSSystem &ims) | |
Constructor for ImageTableViewer Object. More... | |
Image Table Information | |
const int | Entries () const |
Array operator for random access to ImageTableEntry s | |
const ImageTableEntry | operator[] (const std::size_t idx) const |
The ImageTable consists of a container of ImageTableEntry objects. Each object may be accessed by calling the viewer object through an array subscript. More... | |
Friends | |
LIBSPEC std::ostream & | operator<< (std::ostream &stream, const ImageTableViewer &) |
Stream operator overload to simplify debugging. More... | |
Provides a mechanism for viewing the ImageTable associated with an iMS System.
|
inline |
Constructor for ImageTableViewer Object.
The ImageTableViewer object requires an IMSSystem object, which will have had its ImageTable read back during initialisation. It must therefore exist before the ImageTableViewer object, and must remain valid (not destroyed) until the ImageTableViewer object itself is destroyed.
Once constructed, the object can neither be copied or assigned to another instance.
[in] | ims | A const reference to the iMS System whose ImageTable is to be viewed. |
const int iMS::ImageTableViewer::Entries | ( | ) | const |
const ImageTableEntry iMS::ImageTableViewer::operator[] | ( | const std::size_t | idx | ) | const |
The ImageTable consists of a container of ImageTableEntry objects. Each object may be accessed by calling the viewer object through an array subscript.
For example:
|
friend |
Stream operator overload to simplify debugging.
Example usage:
might produce the result: