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

fbwrap::FBwSPB Class Reference

Clas for filling services paramter blocks. More...

#include <FBwDPB.h>

Inheritance diagram for fbwrap::FBwSPB:

fbwrap::FBwAttachDb fbwrap::FBwAttachDPB fbwrap::FBwSvcRequest fbwrap::FBwAddUser fbwrap::FBwSvcBkp fbwrap::FBwModUser List of all members.

Public Methods

 FBwSPB ()
 Default constructor.

char * GetDPB ()
 Method that gets the SPB builded as a char *.

short length () const
 length of parameter block

void AddParam (char ParamType, string s)
void AddParam (char ParamType, int num)
 Adds a numeric parameter to the block.

void AddSParam (char ParamType, string s)
 Adds a string parameter to the block.

void AddSParam (char ParamType, int num)
 Adds a char encoded length numeric parameter to the block.

void Add (char c)
 Adds a single char to the block.

void AddUserName (string username)
 Adds a user name parameter.

void AddPassword (string passwd)
 Adds a password parameter.

FBwSPB & operator+= (const char c)
 Another way of adding a single char of the block.

void debug ()

Protected Methods

void AddLength (short length)
 Internal method for seting a string length.

void AddString (string s)
 Internal method for adding a string to the spb.

void AddSString (string s)
 Internal method for adding a short string to the spb.

void SetVersion ()
 Sets the version of the parameter block.


Detailed Description

Clas for filling services paramter blocks.


Member Function Documentation

void fbwrap::FBwSPB::AddParam char    ParamType,
string    s
 

Adds a string parameter with type to the block -Parameters: -char ParamType: the parameter type -string s: value for the parameter


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