Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

fbwrap::FBwDateField Class Reference

Date field. More...

#include <FBwDateField.h>

Inheritance diagram for fbwrap::FBwDateField:

fbwrap::FBwField List of all members.

Public Methods

 FBwDateField (string pname)
 Constructor.

 FBwDateField (const FBwDateField &f)
 Copy Constructor.

virtual void BindPtr (char **p)
 binds a pointer to database data

virtual void ConvertStoV ()
 Converts database representation of date to FBwDate.

virtual void ConvertVtoS ()
 Converts FBwDate to database representation of date.

virtual string AsString () const
 Current value of field as string.

virtual FBwDate AsDate () const
 Current value of field.

virtual FBwDateTime AsDateTime () const
 Current value of field as FBwDateTime value.

virtual void SetAsString (const string &s)
 Sets value of field from string value.

virtual void SetAsDate (const FBwDate &d)
 Sets value of field.

virtual void SetAsDateTime (const FBwDateTime &dt)
 Sets value of field from FBwDateTime value.

std::ostream & DisplayText (std::ostream &o) const
 Puts formated Date value on stream.

FBwFieldClone () const
 Creates a copy of this field.

virtual ~FBwDateField ()
 Destructor.


Protected Methods

virtual void * GetPtr ()
virtual void bCopy (FBwField *fld)
virtual int ByteSize () const
 size of type


Detailed Description

Date field.


Constructor & Destructor Documentation

fbwrap::FBwDateField::FBwDateField string    pname [inline]
 

Constructor.

Parameters:
pname:  field name


Member Function Documentation

virtual void fbwrap::FBwDateField::BindPtr char **    p [inline, virtual]
 

binds a pointer to database data

Parameters:
pointer  to set internal data to

Reimplemented from fbwrap::FBwField.

virtual int fbwrap::FBwDateField::ByteSize   const [inline, protected, virtual]
 

size of type

size in bytes of a buffer capable of holding an internal representation of this field

Reimplemented from fbwrap::FBwField.


The documentation for this class was generated from the following files:
Generated on Fri Jan 31 08:30:04 2003 for fbwrap by doxygen1.2.17