BIE |
BIE::RecordOutputStream Class ReferenceRecord output streams are used to write a series of records to one or more sources. More...
Inheritance diagram for BIE::RecordOutputStream:
![]()
Collaboration diagram for BIE::RecordOutputStream:
![]()
Detailed DescriptionRecord output streams are used to write a series of records to one or more sources.New output streams are created by inheriting an existing stream. When inherited, streams can be modified, processed by a filter, or the data can be output to a data sink (e.g. to a file or a network socket). Nodes can be inherited an unlimited number of times (with a few exceptions - see below) As with input streams, inheriting streams creates an implicit tree structure Generally leaves are data sinks and internal nodes apply operations but this is not a strict rule. Data is pushed from the root node by the user/program to all inheriting streams - this is done by calling pushRecord() recursively (depth first). This class implements all operations on output streams - field deletion, filtering, field selection, field renaming, etc. Subclasses implement systems to write to data sinks. If a subclass implements it, then these streams can be inherited, but a mechanism for telling when a stream cannot be inherited exists (so subclass writers are not required to always add this functionality). TODO registerforUpdates should not be public. The class does not compile when it was protected (as it should be). Constructor & Destructor Documentation
Virtual destructor. This removes the stream from the output stream register.
Here is the call graph for this function:
![]()
Member Function Documentation
Creates a new output stream containing only the fields specified by the type descriptor. All the fields in the type descriptor must be present in the existing stream. Both field name and field type must match.
Creates a new output stream containing only the fields specified by the field indices. All indices must be within the bounds of the existing stream. No duplicate indices are allowed.
Creates a new stream containing only the fields specified by the field names. A NoSuchFieldException is thrown if a name is not present in the existing stream. No duplicate names are allowed.
Moves a field (specified by name) to a new position (specified by index) and "slides" the fields in between to fill in the vacated position.
Pipes the input through a filter which can add new fields based on the values of the fields in the existing stream. The filter must be "useable".
Pipes the input through a filter which can add new fields based on the values of the fields in the existing stream. The filter must be "useable".
Array field set methods. Set an integer vector to
Set an double vector to.
Set an bool vector to.
This is called when another stream wants to receive updates (through pushRecord()). The stream this is called on must be inheritable.
Returns a vector containing a pointer to all output streams that can be inherited from.
Called when a new stream is created. This information is used by the getAvailableStreams() function.
Called to remove a stream when it is deleted. Keeps a null reference in output stream list so other indices are not changed.
Here is the caller graph for this function:
![]()
Member Data DocumentationA reference to the stream inherited from. This is used to tell how this stream gets its data.
The documentation for this class was generated from the following file:
Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU. Documentation generated at Fri Mar 26 00:35:13 2010 by
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||