Bincimap 2.0.16
Easy Imapping
Loading...
Searching...
No Matches
Public Member Functions | Protected Types | Protected Attributes
ListOperator Class Reference

#include <operators.h>

Public Member Functions

ProcessResult process (Depot &, Request &)
 
virtual ParseResult parse (Request &) const
 
const std::string getName (void) const
 
int getState (void) const
 
 ListOperator (void)
 
 ~ListOperator (void)
 
- Public Member Functions inherited from Operator
virtual ProcessResult process (Depot &, Request &)=0
 
virtual ParseResult parse (Request &) const =0
 
virtual int getState (void) const =0
 
virtual const std::string getName (void) const =0
 
virtual ~Operator (void)
 

Protected Types

enum  MailboxFlags { DIR_SELECT = 0x01 , DIR_MARKED = 0x02 , DIR_NOINFERIORS = 0x04 , DIR_LEAF = 0x08 }
 

Protected Attributes

std::map< std::string, unsigned int > cache
 
time_t cacheTimeout
 

Additional Inherited Members

- Public Types inherited from Operator
enum  ProcessResult { OK , BAD , NO , NOTHING , ABORT }
 
enum  ParseResult { ACCEPT , REJECT , ERROR , TIMEOUT }
 

Detailed Description

Definition at line 209 of file operators.h.

Member Enumeration Documentation

◆ MailboxFlags

enum MailboxFlags
protected
Enumerator
DIR_SELECT 
DIR_MARKED 
DIR_NOINFERIORS 
DIR_LEAF 

Definition at line 211 of file operators.h.

Constructor & Destructor Documentation

◆ ListOperator()

ListOperator ( void  )

Definition at line 30 of file operator-list.cc.

◆ ~ListOperator()

~ListOperator ( void  )

Definition at line 36 of file operator-list.cc.

Member Function Documentation

◆ getName()

const string getName ( void  ) const
virtual

Implements Operator.

Definition at line 41 of file operator-list.cc.

◆ getState()

int getState ( void  ) const
virtual

Implements Operator.

Definition at line 47 of file operator-list.cc.

◆ parse()

Operator::ParseResult parse ( Request c_in) const
virtual

Implements Operator.

Definition at line 211 of file operator-list.cc.

Here is the call graph for this function:

◆ process()

Operator::ProcessResult process ( Depot depot,
Request command 
)
virtual

Implements Operator.

Definition at line 53 of file operator-list.cc.

Here is the call graph for this function:

Field Documentation

◆ cache

std::map<std::string, unsigned int> cache
protected

Definition at line 218 of file operators.h.

◆ cacheTimeout

time_t cacheTimeout
protected

Definition at line 219 of file operators.h.


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