Virtual U.org
Get Personal Training on VU Today
    
Top shadow
 
 register/help
User Name:

Password:

Get class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Get Class Reference

Class for getting user input from fields, validating and storing. More...

#include <OGET.H>

List of all members.

Public Methods

 Get ()
 ~Get ()
void init (int, int)
void deinit ()
void set_font (Font *)
void add (int, int, void *, char, int)
void picture (char *, int=0)
void call (GetCall *, int)
void valid (char(*)())
void width (int, int)
char select (int, char **sel_opt)
void display ()
int read (int=1)
void field (int, int, char *, int, char *, int, int)
void field (int x1, int y1, char *dataPtr, int dataWidth, int x2)
int detect ()

Public Attributes

char mask_flag


Detailed Description

Class for getting user input from fields, validating and storing.

Definition at line 42 of file OGET.H.


Constructor & Destructor Documentation

Get::Get  
 

Definition at line 24 of file OGET.CPP.

Get::~Get   [inline]
 

Definition at line 72 of file OGET.H.

References deinit().


Member Function Documentation

void Get::add int   ,
int   ,
void *   ,
char   ,
int   
 

Definition at line 196 of file OGET.CPP.

References GetFld::data, err_if, err_now, err_when, GetFld::type, GetFld::x, GetFld::x2, and GetFld::y.

void Get::call GetCall  ,
int   
 

Definition at line 240 of file OGET.CPP.

References GetFld::call_data, GetFld::call_ptr, err_when, and GetCall.

void Get::deinit  
 

Definition at line 147 of file OGET.CPP.

References mem_del, and NULL.

Referenced by init(), and ~Get().

int Get::detect  
 

Definition at line 109 of file OGET.CPP.

void Get::display  
 

Definition at line 556 of file OGET.CPP.

void Get::field int    x1,
int    y1,
char *    dataPtr,
int    dataWidth,
int    x2
 

High level function of creating a getting field Another version of field() without field description.

<int> - desX - start of the field description <int> - y1 <char*> - the data to be got (only character type) <int> - data width <int> - fldX2 - end of the field value

Definition at line 84 of file OGET.CPP.

void Get::field int    desX,
int    y1,
char *    fldDes,
int    fldX1,
char *    dataPtr,
int    dataWidth,
int    fldX2
 

High level function of creating a getting field

<int> - desX - start of the field description <int> - y1 <char*> - field description <int> - fldX1 - start of the field value <char*> - the data to be got (only character type) <int> - data width <int> - fldX2 - end of the field value

Definition at line 44 of file OGET.CPP.

References Font::height().

void Get::init int   ,
int   
 

Definition at line 129 of file OGET.CPP.

References deinit(), err_when, mem_add, and NULL.

void Get::picture char *   ,
int    = 0
 

Definition at line 224 of file OGET.CPP.

References err_when, GetFld::picture, and GetFld::upper_convert.

int Get::read int    = 1
 

Definition at line 720 of file OGET.CPP.

References err_when, MAX_GET_WIDTH, GetFld::type, and GetFld::width_data.

char Get::select int   ,
char **    sel_opt
 

void Get::set_font Font   fontPtr
 

Set the font of the get, if this function is not called, font_san will be used as default

<Font*> = the pointer to the font used in the Get

Definition at line 168 of file OGET.CPP.

void Get::valid char(*   )()
 

Definition at line 257 of file OGET.CPP.

References err_when, and GetFld::valid_ptr.

void Get::width int   ,
int   
 

Definition at line 274 of file OGET.CPP.

References err_when, MAX_GET_WIDTH, GetFld::width_data, and GetFld::width_scr.


Member Data Documentation

char Get::mask_flag
 

Definition at line 44 of file OGET.H.


The documentation for this class was generated from the following files:
Generated on Fri Aug 23 01:39:13 2002 for VirtualU by doxygen1.2.17