BIE::RecordStream Class Reference

RecordStream: An abstract class that defines basic operations like type queries and buffer lookup for streams of records (either input or output). More...

#include <RecordStream.h>

Inheritance diagram for BIE::RecordStream:
Collaboration diagram for BIE::RecordStream:

List of all members.

Public Member Functions

virtual ~RecordStream ()
 Virtual destructor.
bool hasValue ()
 Returns true if all fields in the stream have a value.
TypedBuffergetFieldBuffer (int fieldindex)
 Get a reference to a particular field's buffer.
TypedBuffergetFieldBuffer (string fieldname)
 Get a reference to a particular field's buffer.
RecordBuffergetBuffer ()
 Returns the record buffer for this data stream.
int getFieldIndex (string fieldname)
 Get the index of a field from a name.
string getFieldName (int fieldindex)
 Get the name of a field from an index.
bool isValidFieldIndex (int fieldindex)
 Returns true if the specified index is within the range of allowed indices.
bool isValidFieldName (string fieldname)
 Returns true if the specified name is a name of a field in the stream.
BasicTypegetFieldType (int fieldindex)
 Returns the type a field specified by index.
BasicTypegetFieldType (string fieldname)
 Returns the type of a field specified by name.
bool isFieldArrayType (int fieldindex)
 True if the value at index.
int numFields ()
 Return the number of fields in this stream.
RecordTypegetType ()
 Returns the record type descriptor for this stream.
virtual string toString ()=0
 Returns a string representation of the type.

Protected Member Functions

 RecordStream ()
 Default constructor for sub classes.

Protected Attributes

RecordBufferrs_buffer
 The record buffer holding the most recently pulled values.

Friends

class boost::serialization::access


Detailed Description

RecordStream: An abstract class that defines basic operations like type queries and buffer lookup for streams of records (either input or output).

Member Function Documentation

bool BIE::RecordStream::isFieldArrayType ( int  fieldindex  ) 

True if the value at index.

Parameters:
fieldindex is an array value


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 doxygen