PTLib  Version 2.10.4
PODBC::Field Class Reference

#include <podbc.h>

Inheritance diagram for PODBC::Field:
PObject

List of all members.

Classes

class  Bind
 SQL compliant Bound DataTypes. More...

Public Member Functions

PBoolean Post ()
 Post the Changes back to the Database.
PString operator= (const PString &str)
 Returns a String representation of the field.
PString AsString ()
 Display the Field Data as String.
void SetValue (PString value)
 Set the Field Data.
void SetDefaultValues ()
 Set the Value.
PBoolean DataFragment (PString &Buffer, PINDEX &fragment, SQLINTEGER &size)
 DataFragment Data is broken into fragment to be passed to the Database.

Public Attributes

Bind Data
 Settings.
PwType Type
 Data Field to ODBC Bind to.
FieldTypes ODBCType
 pwlib Type for conversion
PString Name
 ODBC Type (For saving/Conversion)
PINDEX col
 Column Name.
PBoolean isReadOnly
 Column Number (For Saving/Conversion)
PBoolean isNullable
 Is Field Readonly.
PBoolean isAutoInc
 Allows Nulls.
int Decimals
 Field AutoIncrements.
PBoolean LongData
 Number of decimal places to Round.
Rowrow
 LongData Length is Required.

Member Function Documentation

Display the Field Data as String.

PBoolean PODBC::Field::DataFragment ( PString Buffer,
PINDEX &  fragment,
SQLINTEGER &  size 
)

DataFragment Data is broken into fragment to be passed to the Database.

PString PODBC::Field::operator= ( const PString str)

Returns a String representation of the field.

Post the Changes back to the Database.

Set the Value.

Initialise/Set the Default values for Field of New Record

Set the Field Data.

Note a Post() must be called to post the changes back to the database.


Member Data Documentation

Column Name.

Settings.

Data

Field AutoIncrements.

Column Number (For Saving/Conversion)

Column Attributes

Number of decimal places to Round.

ODBC Type (For saving/Conversion)

Column

pwlib Type for conversion

LongData Length is Required.

RecordHolder Reference

Data Field to ODBC Bind to.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines