* and once in a vector of all port (_all_ports). This is to speed up the
* fairly common case of iterating over all ports.
*/
-class PortSet : public boost::noncopyable {
+class LIBARDOUR_API PortSet : public boost::noncopyable {
public:
PortSet();
void add (boost::shared_ptr<Port> port);
bool remove (boost::shared_ptr<Port> port);
- /** nth port */
+ /** nth port
+ * @param index port index
+ */
boost::shared_ptr<Port> port(size_t index) const;
- /** nth port of type @a t, or nth port if t = NIL */
+ /** nth port of type @a t, or nth port if t = NIL
+ * @param t data type
+ * @param index port index
+ */
boost::shared_ptr<Port> port(DataType t, size_t index) const;
boost::shared_ptr<AudioPort> nth_audio_port(size_t n) const;