Bincimap 2.0.16
Easy Imapping
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions
SearchOperator::SearchNode Class Reference

#include <operators.h>

Public Types

enum  {
  S_ALL , S_ANSWERED , S_BCC , S_BEFORE , S_BODY ,
  S_CC , S_DELETED , S_FLAGGED , S_FROM , S_KEYWORD ,
  S_NEW , S_OLD , S_ON , S_RECENT , S_SEEN ,
  S_SINCE , S_SUBJECT , S_TEXT , S_TO , S_UNANSWERED ,
  S_UNDELETED , S_UNFLAGGED , S_UNKEYWORD , S_UNSEEN , S_DRAFT ,
  S_HEADER , S_LARGER , S_NOT , S_OR , S_SENTBEFORE ,
  S_SENTON , S_SENTSINCE , S_SMALLER , S_UID , S_UNDRAFT ,
  S_SET , S_AND
}
 

Public Member Functions

void order (void)
 
bool match (Mailbox *, Message *, unsigned seqnr, unsigned int lastmessage, unsigned int lastuid) const
 
int getType (void) const
 
int getWeight (void) const
 
void setWeight (int i)
 
void init (const BincImapParserSearchKey &a)
 
 SearchNode (void)
 
 SearchNode (const BincImapParserSearchKey &a)
 

Static Public Member Functions

static bool convertDate (const std::string &date, time_t &t, const std::string &delim="-")
 
static bool convertDateHeader (const std::string &d_in, time_t &t)
 
static bool compareNodes (const SearchNode &a, const SearchNode &b)
 

Detailed Description

Definition at line 324 of file operators.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
S_ALL 
S_ANSWERED 
S_BCC 
S_BEFORE 
S_BODY 
S_CC 
S_DELETED 
S_FLAGGED 
S_FROM 
S_KEYWORD 
S_NEW 
S_OLD 
S_ON 
S_RECENT 
S_SEEN 
S_SINCE 
S_SUBJECT 
S_TEXT 
S_TO 
S_UNANSWERED 
S_UNDELETED 
S_UNFLAGGED 
S_UNKEYWORD 
S_UNSEEN 
S_DRAFT 
S_HEADER 
S_LARGER 
S_NOT 
S_OR 
S_SENTBEFORE 
S_SENTON 
S_SENTSINCE 
S_SMALLER 
S_UID 
S_UNDRAFT 
S_SET 
S_AND 

Definition at line 338 of file operators.h.

Constructor & Destructor Documentation

◆ SearchNode() [1/2]

SearchNode ( void  )

Definition at line 77 of file operator-search.cc.

◆ SearchNode() [2/2]

Definition at line 82 of file operator-search.cc.

Member Function Documentation

◆ compareNodes()

static bool compareNodes ( const SearchNode a,
const SearchNode b 
)
inlinestatic

Definition at line 363 of file operators.h.

Here is the call graph for this function:

◆ convertDate()

bool convertDate ( const std::string &  date,
time_t &  t,
const std::string &  delim = "-" 
)
static

Definition at line 28 of file operator-search.cc.

Here is the call graph for this function:

◆ convertDateHeader()

bool convertDateHeader ( const std::string &  d_in,
time_t &  t 
)
static

Definition at line 63 of file operator-search.cc.

Here is the call graph for this function:

◆ getType()

int getType ( void  ) const

Definition at line 88 of file operator-search.cc.

◆ getWeight()

int getWeight ( void  ) const

Definition at line 433 of file operator-search.cc.

Here is the caller graph for this function:

◆ init()

void init ( const BincImapParserSearchKey a)

Definition at line 340 of file operator-search.cc.

Here is the call graph for this function:

◆ match()

bool match ( Mailbox ,
Message ,
unsigned  seqnr,
unsigned int  lastmessage,
unsigned int  lastuid 
) const

Definition at line 94 of file operator-search.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ order()

void order ( void  )

Definition at line 445 of file operator-search.cc.

Here is the caller graph for this function:

◆ setWeight()

void setWeight ( int  i)

Definition at line 439 of file operator-search.cc.


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