E-MailRelay
Public Member Functions | List of all members
GPop::Store Class Reference

A message store. More...

#include <gpopstore.h>

Public Member Functions

 Store (const G::Path &spool_dir, bool by_name, bool allow_delete)
 Constructor. Throws InvalidDirectory. More...
 
G::Path dir () const
 Returns the spool directory path. More...
 
bool allowDelete () const
 Returns true if files can be deleted. More...
 
bool byName () const
 Returns true if the spool directory is affected by the user name. More...
 
 Store (const Store &)=delete
 
 Store (Store &&)=delete
 
Storeoperator= (const Store &)=delete
 
Storeoperator= (Store &&)=delete
 

Detailed Description

A message store.

Unlike the SMTP message store the POP message store allows content files to be in the envelope file's parent directory.

Definition at line 46 of file gpopstore.h.

Constructor & Destructor Documentation

◆ Store()

GPop::Store::Store ( const G::Path spool_dir,
bool  by_name,
bool  allow_delete 
)

Constructor. Throws InvalidDirectory.

Definition at line 57 of file gpopstore.cpp.

Member Function Documentation

◆ allowDelete()

bool GPop::Store::allowDelete ( ) const

Returns true if files can be deleted.

Definition at line 124 of file gpopstore.cpp.

◆ byName()

bool GPop::Store::byName ( ) const

Returns true if the spool directory is affected by the user name.

Definition at line 129 of file gpopstore.cpp.

◆ dir()

G::Path GPop::Store::dir ( ) const

Returns the spool directory path.

Definition at line 119 of file gpopstore.cpp.


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