Description of the Stream, and manages resources for the stream.
add the descriptor to the stream, manually assigning it an id
get the id for the descriptor. Note packetDescriptors contain the id, but this is not used.
If a second PacketDescriptor contains the same descriptor information, then the PacketDescriptor can be dropped. This was introduced when two daily streams appended did not create a valid stream. It has the descriptor if: * the number is the same * the planes within are the same ids.
get the XML document that will contain the descriptor. Note that a QStream will have many XML documents, one for each descriptor. This keeps track of the documents for each descriptor.
indicate that no more packets will be sent with this descriptor. This will free up the number so it can be reused.