/*****************************************************************************/
/*                                                                           */
/*                           OCO SOURCE MATERIALS                            */
/*                             IBM CONFIDENTIAL                              */
/*                                    OR                                     */
/*                        IBM CONFIDENTIAL RESTRICTED                        */
/*            WHEN COMBINED WITH THE AGGREGATED OCO SOURCE MODULES           */
/*                           FOR THIS PROGRAM PRODUCT                        */
/*                                                                           */
/*      VisualAge Generator Server for OS/2, AIX, HP-UX, and Windows NT      */
/*                          Version 3.0  5697-C28                            */
/*                    (C) COPYRIGHT IBM CORP. 1994,1997                      */
/*                                                                           */
/*                                                                           */
/*  Type    Date     Userid   Description of problem                         */
/*  ----  --------  --------  ---------------------------------------------  */
/*  A1    08/07/99  Lui       Feature 11712: Unicode Data Item Support       */
/*                                                                           */
/*****************************************************************************/
#ifndef  FCWMSQIU_H
#define  FCWMSQIU_H


// -----------------------------------------------------------------
// SQL Row Unicode Data Item                              @A1
// -----------------------------------------------------------------

class SQLUNICODE : public UNICODE
{
    enum { SQL_NULL_DATA = -1 };

  public:

    SQLUNICODE (Parent&, Level, int, int, int, int);

    void SetNull( short ) const;
    void SetNull() const;
    short GetNull() const;
    Bool IsNull() const;
    Bool IsTrunc() const;
    void SetEmpty () const;

    // Interactions with other Unicode objects
    void operator =  (const UNICODE& v);
    void operator =  (const SQLUNICODE& v);

    // Interactions with character literals
    void operator =  (const char *v);

};


#endif
