Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cSQLCmdCreate Class Reference

#include <cSQLCmd.h>

Inheritance diagram for GrayLib::cSQLCmdCreate:
GrayLib::cSQLCmd

Public Member Functions

 cSQLCmdCreate (cStringA sTableName)
 
virtual ~cSQLCmdCreate ()
 
virtual SQLCMD_TYPE get_CmdType () const override
 
void AddColumnInfo (cStringA sName, VARTYPE_TYPE eVarType, INT16 iScale, bool bNullable)
 
virtual void ResetCommand () override
 
virtual void MakeCommand (const cSQLConfigCmd &cfg) override
 build the string from our args. More...
 
- Public Member Functions inherited from GrayLib::cSQLCmd
 cSQLCmd (cStringA sTableName="", cStringA sCommand="")
 
virtual ~cSQLCmd ()
 
virtual bool isResultsExpected () const
 
cStringA get_Table () const
 
void put_Table (cStringA sTable)
 
bool isCommandMade () const
 
cStringA get_Command () const
 
void put_Command (cStringA sCommand)
 
void ResetCommand0 ()
 

Additional Inherited Members

- Static Public Member Functions inherited from GrayLib::cSQLCmd
static bool GRAYCALL IsValueTime (const char *pszVal)
 
static cStringA GRAYCALL MakeValueTime (const cSQLConfigCmd &cfg, const cTimeDouble &date)
 
static cStringA GRAYCALL MakeValueStr (const cSQLConfigCmd &cfg, const cVariant &vVal)
 
- Static Public Attributes inherited from GrayLib::cSQLCmd
static const char * k_pszNULL = "NULL"
 
- Protected Attributes inherited from GrayLib::cSQLCmd
cStringA m_sTable
 The table ( 'From' if select ), delete, create. More...
 
cStringA m_sCommand
 The resultant full SQL command. use MakeCommand() to build this up. More...
 

Detailed Description

create/Modify schema on demand SQLCMD_Create

Constructor & Destructor Documentation

◆ cSQLCmdCreate()

GrayLib::cSQLCmdCreate::cSQLCmdCreate ( cStringA  sTableName)

◆ ~cSQLCmdCreate()

GrayLib::cSQLCmdCreate::~cSQLCmdCreate ( )
virtual

Member Function Documentation

◆ AddColumnInfo()

void GrayLib::cSQLCmdCreate::AddColumnInfo ( cStringA  sName,
VARTYPE_TYPE  eVarType,
INT16  iScale,
bool  bNullable 
)

◆ get_CmdType()

virtual SQLCMD_TYPE GrayLib::cSQLCmdCreate::get_CmdType ( ) const
inlineoverridevirtual

Implements GrayLib::cSQLCmd.

◆ MakeCommand()

void GrayLib::cSQLCmdCreate::MakeCommand ( const cSQLConfigCmd cfg)
overridevirtual

build the string from our args.

Implements GrayLib::cSQLCmd.

◆ ResetCommand()

void GrayLib::cSQLCmdCreate::ResetCommand ( )
overridevirtual

Reimplemented from GrayLib::cSQLCmd.


The documentation for this class was generated from the following files: