Main Page | Class Hierarchy | Class List | File List | Class Members

DbField Class Reference

database field More...

#include <db_module.h>

List of all members.

Public Member Functions

string getName ()
void setName (string d)
string getDescription ()
void setDescription (string d)
string getDefv ()
void setDefv (string d)
int getT ()
void setT (int d)
bool getUpdate ()
void setUpdate (bool d)
bool getRequest ()
void setRequest (bool d)
bool getBoolType ()
void setBoolType (bool d)
unsigned long int getIntType ()
void setIntType (unsigned long int d)
float getFloatType ()
void setFloatType (float d)
string getStringType ()
void setStringType (string d)
int getStringLen ()
void setStringLen (int d)
time_t getDateType ()
void setDateType (time_t d)
ipaddr getIpType ()
void setIpType (ipaddr d)
int getIdx ()
void setIdx (int d)
 ~DbField ()
 DbField (const string n, const string d, const string f, bool v, int ix=0)
 DbField (const string n, const string d, const string f, int v, int ix=0)
 DbField (const string n, const string d, const string f, unsigned int v, int ix=0)
 DbField (const string n, const string d, const string f, unsigned long int v, int ix=0)
 DbField (const string n, const string d, const string f, float v, int ix=0)
 DbField (const string n, const string d, const string f, string v, int l, int ix=0)
 DbField (const string n, const string d, const string f, char *v, int l, int ix=0)
 DbField (const string n, const string d, const string f, time_t v, int ix=0)
 DbField (const string n, const string d, const string f, ipaddr v, int ix=0)


Detailed Description

database field

Version:
1
Author:
rv


Constructor & Destructor Documentation

DbField::~DbField  )  [inline]
 

clear (destructor)

DbField::DbField const string  n,
const string  d,
const string  f,
bool  v,
int  ix = 0
[inline]
 

init

DbField::DbField const string  n,
const string  d,
const string  f,
int  v,
int  ix = 0
[inline]
 

init int type

DbField::DbField const string  n,
const string  d,
const string  f,
unsigned int  v,
int  ix = 0
[inline]
 

init uint type

DbField::DbField const string  n,
const string  d,
const string  f,
unsigned long int  v,
int  ix = 0
[inline]
 

init ulong type

DbField::DbField const string  n,
const string  d,
const string  f,
float  v,
int  ix = 0
[inline]
 

init float type

DbField::DbField const string  n,
const string  d,
const string  f,
string  v,
int  l,
int  ix = 0
[inline]
 

init for string

DbField::DbField const string  n,
const string  d,
const string  f,
char *  v,
int  l,
int  ix = 0
[inline]
 

init for char*

DbField::DbField const string  n,
const string  d,
const string  f,
time_t  v,
int  ix = 0
[inline]
 

init for datetime

DbField::DbField const string  n,
const string  d,
const string  f,
ipaddr  v,
int  ix = 0
[inline]
 

init for ip addr type


Member Function Documentation

bool DbField::getBoolType  )  [inline]
 

bool_type_

time_t DbField::getDateType  )  [inline]
 

get date type

Returns:
date_type_

string DbField::getDefv  )  [inline]
 

get defv_

Returns:
defv_ value

string DbField::getDescription  )  [inline]
 

get description_

Returns:
description_ value

float DbField::getFloatType  )  [inline]
 

get float type value

Returns:
float_type_

int DbField::getIdx  )  [inline]
 

index type: 0-no, 1-index, 2-unique index

unsigned long int DbField::getIntType  )  [inline]
 

get int type value

Returns:
int_type_ value

ipaddr DbField::getIpType  )  [inline]
 

get ip type

Returns:
ip_type_

string DbField::getName  )  [inline]
 

name_

Returns:
name_ value

bool DbField::getRequest  )  [inline]
 

request_

int DbField::getStringLen  )  [inline]
 

get string length

Returns:
string_len_

string DbField::getStringType  )  [inline]
 

get string type

Returns:
string_type_

int DbField::getT  )  [inline]
 

type 1-b,2-i,3-f,4-s,5-t,6-ip

bool DbField::getUpdate  )  [inline]
 

update_

void DbField::setBoolType bool  d  )  [inline]
 

set bool type

void DbField::setDateType time_t  d  )  [inline]
 

set date type

void DbField::setDefv string  d  )  [inline]
 

set defv_

void DbField::setDescription string  d  )  [inline]
 

set description_ value

void DbField::setFloatType float  d  )  [inline]
 

set float type value

void DbField::setIdx int  d  )  [inline]
 

set idx

void DbField::setIntType unsigned long int  d  )  [inline]
 

set int type

void DbField::setIpType ipaddr  d  )  [inline]
 

set ip type

void DbField::setName string  d  )  [inline]
 

set name_ value

void DbField::setRequest bool  d  )  [inline]
 

set request

void DbField::setStringLen int  d  )  [inline]
 

set string length

void DbField::setStringType string  d  )  [inline]
 

set string type

void DbField::setT int  d  )  [inline]
 

set t

void DbField::setUpdate bool  d  )  [inline]
 

set update


The documentation for this class was generated from the following file:
Generated on Thu Jul 21 23:09:46 2005 for tacppd.kdevelop by doxygen 1.3.5