DBPowerSuite 7.9 Application Programming Interface
ODBC

 

Class Name

UFileStatement

Parent Class

OStatement

Header Name

UFileStatement.h

Language

C++

Author

Brian N. Ceccarelli

Date Written

October 6, 2000

Last Updated

October 6, 2000

Notes

     This header file describes the UFileStatement class.   This
class is an OStatement class with added functionality to
automatically write ODBC result sets to an UFile.

     The OStatement class (see OStatement.h) is a class which
executes ODBC statements.   The UFile class is a class which reads
or writes UFiles.  An UFile is an ASCII file which generally
represents a table of values.  See UFile.h.

 

Public Methods of Class UFileStatement

#

Inline

Pure Virtual

Virtual

Method

Description

1

No

No

No

UFileStatement(UFile& os_file, OConnection& o_conn)

Constructor

2

Yes

No

No

ps_uint32 osGetMaximumImageSize()

 

3

No

No

No

ps_int32 osGetNullWord(ps_char* text_used_for_null_values)

Get the Text Used to Display a NULL Value

4

Yes

No

No

ps_int8 osGetShowRowsAffectedSw()

 

5

Yes

No

No

ps_int8 osGetShowZeroRowsAffectedSw()

 

6

No

No

No

ps_int32 osSetAfterRowWriteCallback(OAfterRowWriteCallback fptr)

Sets the Method Called After the ODBC Data Source Writes a Row to the Underlying UFile

7

No

No

No

ps_int32 osSetMaximumImageSize(ps_uint32 maximum_image_size)

Set the Maximum Long Image Size

8

No

No

No

ps_int32 osSetNullWord(const ps_char* text_used_for_null_values)

Set the Text Used to Display a NULL Value.

9

No

No

No

ps_int32 osSetShowRowsAffectedSw(ps_int8 sw = 1)

Turn On/Off Rows Affected Display

10

No

No

No

ps_int32 osSetShowZeroRowsAffectedSw(ps_int8 sw = 0)

Turn On/Off Display of Zero Rows Affected

11

No

No

No

~UFileStatement()

Destructor

 

Protected Methods of Class UFileStatement

#

Inline

Pure Virtual

Virtual

Method

Description

1

No

No

Yes

ps_int32 osColumnHeadings()

Receive Columns Names from Incoming ODBC Row Result Set

2

No

No

Yes

ps_int32 osRowCallback()

Method Called Everytime the ODBC Data Source Sends a Row

3

No

No

Yes

ps_int32 osRowsAffectedCallback()

Method Called When ODBC Data Source Finished Sending a Result Set

 

Private Methods of Class UFileStatement

#

Inline

Pure Virtual

Virtual

Method

Description

 

Go to DBPowerSuite 7.9 Application Programming Interface.


Updated: Thu Jun 18 21:13:23 2009