#include <FBwStringField.h>
Inheritance diagram for fbwrap::FBwStringField:

Public Methods | |
| FBwStringField (string pName, short MxLen=127, bool pVarying=false) | |
| Constructor. | |
| FBwStringField (const FBwStringField &f) | |
| Copy constructor. | |
| virtual std::ostream & | DisplayText (std::ostream &o) const |
| output of formated string value to stream | |
| virtual string | AsString () const |
| Unformated value. | |
| virtual long | AsInteger () const |
| As integer if cast is posible, 0 otherwise. | |
| virtual void | SetAsString (const string &pvalue) |
| set value from string | |
| virtual void | ConvertStoV () |
| Convert from internal representation to c++ type value. | |
| virtual void | ConvertVtoS () |
| virtual void | BindPtr (char **p) |
| Method for binding to XSQLVAR. | |
| string & | Value () |
| virtual | ~FBwStringField () |
| Destructor. | |
| bool | IsVarying () |
| Tests wether firebird string is varying. | |
| short | MaxLen () |
| Returns maximum length of string. | |
| void | SetMaxLen (short mxLen) |
| Sets maximum length of string. | |
| void | SetFill (bool v=true) |
| If set to true, the string is right filled with spaces. | |
| void | SetValueTrim (bool how=true) |
| Trim values. | |
| FBwField * | Clone () const |
| Get a copy of this field. | |
| virtual short | GetLen () |
| Returns the current field length. | |
Protected Methods | |
| void * | GetPtr () |
| virtual void | bCopy (const FBwField *fld) |
| virtual int | ByteSize () |
| Return size of buffer capable of holding string data. | |
|
||||||||||||||||
|
Constructor.
|
|
|
If set to true, the string is right filled with spaces. only for fixed length strings |
1.2.17