Back to index

courier  0.68.2
Public Member Functions | Protected Attributes | Private Member Functions
AliasRecord Class Reference

#include <aliases.h>

Collaboration diagram for AliasRecord:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AliasRecord ()
 AliasRecord (DbObj &d)
void operator= (DbObj *p)
 ~AliasRecord ()
void Init (std::string)
int Add (const char *)
void Add (std::list< std::string > &, bool)
void Delete (const char *)
void StartForEach ()
std::string NextForEach ()
int Init ()
int Found ()

Protected Attributes

DbObj * gdbm
std::string listname
std::string recname
std::string list
int recnum
const char * feptr

Private Member Functions

int fetch (int keep)
void update ()
int search (const char *)
void mkrecname ()

Detailed Description

Definition at line 26 of file aliases.h.


Constructor & Destructor Documentation

Definition at line 40 of file aliases.h.

                     : gdbm(0), recnum(0), feptr(0)
              {
              }
AliasRecord::AliasRecord ( DbObj &  d) [inline]

Definition at line 43 of file aliases.h.

                             : gdbm(&d), recnum(0), feptr(0)
              {
              }

Member Function Documentation

int AliasRecord::Add ( const char *  )
void AliasRecord::Add ( std::list< std::string > &  ,
bool   
)
void AliasRecord::Delete ( const char *  )
int AliasRecord::fetch ( int  keep) [private]
int AliasRecord::Found ( ) [inline]

Definition at line 58 of file aliases.h.

{ return ( Init() == 0 ? 1:0); }

Here is the call graph for this function:

void AliasRecord::Init ( std::string  )

Here is the caller graph for this function:

void AliasRecord::mkrecname ( ) [private]
std::string AliasRecord::NextForEach ( )
void AliasRecord::operator= ( DbObj *  p) [inline]

Definition at line 46 of file aliases.h.

{ gdbm=p; }
int AliasRecord::search ( const char *  ) [private]
void AliasRecord::update ( ) [private]

Member Data Documentation

const char* AliasRecord::feptr [protected]

Definition at line 37 of file aliases.h.

DbObj* AliasRecord::gdbm [protected]

Definition at line 28 of file aliases.h.

std::string AliasRecord::list [protected]

Definition at line 33 of file aliases.h.

std::string AliasRecord::listname [protected]

Definition at line 29 of file aliases.h.

std::string AliasRecord::recname [protected]

Definition at line 30 of file aliases.h.

int AliasRecord::recnum [protected]

Definition at line 35 of file aliases.h.


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