RDbColWriteStream Class Reference

#include <d32dbms.h>

Link against: edbms.lib

class RDbColWriteStream : public RWriteStream

Inherits from

  • RDbColWriteStream

    Detailed Description

    Writes Long columns when inserting or updating rows in a rowset.

    Only one column in a rowset object can be opened for writing as a stream at a time.

    Constructor & Destructor Documentation

    RDbColWriteStream ( )

    RDbColWriteStream()[inline]

    Constructs this object by invoking the default constructor for RWriteStream.

    RDbColWriteStream ( const MExternalizer< TStreamRef > & )

    RDbColWriteStream(const MExternalizer< TStreamRef > &anExternalizer)[inline]

    Constructs this object by invoking the matching constructor for RWriteStream.

    ParameterDescription
    anExternalizerSpecifies an externaliser

    Member Function Documentation

    OpenL ( RDbRowSet &, TDbColNo )

    IMPORT_C voidOpenL(RDbRowSet &aView,
    TDbColNoaCol
    )

    Opens the column with the specified ordinal in the current row, and in the specified rowset, and prepares the column for being written or replaced. The rowset must be updating or inserting a row.

    capability
    Note For a secure shared database, the caller must satisfy the write access policy for the table.
    ParameterDescription
    aViewThe rowset which has the row and column to be written.
    aColThe column ordinal of the column to be written.

    OpenLC ( RDbRowSet &, TDbColNo )

    IMPORT_C voidOpenLC(RDbRowSet &aView,
    TDbColNoaCol
    )

    Opens the column with the specified ordinal in the current row, and in the specified rowset, and prepares the column for being written or replaced, putting a cleanup item for this object onto the cleanup stack. The rowset must be updating or inserting a row.

    Placing the cleanup object on the cleanup stack allows allocated resources to be cleaned up if a subsequent leave occurs.

    capability
    Note For a secure shared database, the caller must satisfy the write access policy for the table.
    ParameterDescription
    aViewThe rowset which has the row and column to be written.
    aColThe column ordinal of the column to be written.