Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWDBNullIndicator



Data Type and Member Function Indexes
(exclusive of constructors and destructors)

Synopsis

#include <rw/db/nullind.h>

RWDBNullIndicator nullInd;

Description

RWDBNullIndicator allows application code:

An RWDBNullIndicator instance may be interpreted as a boolean value: TRUE means a data item is NULL; FALSE means a data item is not NULL.

Related Classes

RWDBNullIndicator is designed specifically to detect NULL values as they are extracted from an RWDBReader. See RWDBReader for more details.

Example

This code fragment selects an integer and a string from a table, and checks for NULL before processing the results:

Public Constructor

RWDBNullIndicator(RWBoolean value = 0);

Public Member Operator

operator RWBoolean();


Previous fileTop of DocumentContentsIndexNext file

©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.