OOFILE  1.9
Public Types | Public Member Functions | List of all members
dbUser Class Reference

Specify a user for databases that require logging in. More...

#include <dbUser.h>

Public Types

enum  userError {
  eIDToLong, ePasWDToLong, BadID, badServerName,
  badPassword
}
 

Public Member Functions

 dbUser (const char *userID, const char *PassWord, const char *serverName)
 
void ID (const char *)
 
const char * ID ()
 
virtual int maxIDLen ()
 
virtual int maxPassWordLen ()
 
void passWord (const char *)
 
const char * passWord ()
 
void serverName (const char *)
 
const char * serverName ()
 

Detailed Description

Specify a user for databases that require logging in.

Definition at line 15 of file dbUser.h.

Constructor & Destructor Documentation

dbUser::dbUser ( const char *  userID,
const char *  PassWord,
const char *  serverName 
)

Definition at line 35 of file dbUser.cpp.

Member Function Documentation

void dbUser::ID ( const char *  theID)

Definition at line 52 of file dbUser.cpp.

References RAISE_EXCEPTION.

const char * dbUser::ID ( )

Definition at line 44 of file dbUser.cpp.

int dbUser::maxIDLen ( )
virtual

Definition at line 101 of file dbUser.cpp.

int dbUser::maxPassWordLen ( )
virtual

Definition at line 95 of file dbUser.cpp.

void dbUser::passWord ( const char *  passWord)

Definition at line 69 of file dbUser.cpp.

References RAISE_EXCEPTION.

const char * dbUser::passWord ( )

Definition at line 62 of file dbUser.cpp.

void dbUser::serverName ( const char *  servName)

Definition at line 88 of file dbUser.cpp.

const char * dbUser::serverName ( )

Definition at line 81 of file dbUser.cpp.


The documentation for this class was generated from the following files: