Fabcoin Core  0.16.2
P2P Digital Currency
Macros
fltrimpl.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FILTER_BEGIN
 
#define FILTER_END_NO_MESSAGE_END_NO_RETURN
 
#define FILTER_END_NO_MESSAGE_END
 
#define FILTER_OUTPUT3(site, statement, output, length, messageEnd, channel)
 
#define FILTER_OUTPUT2(site, statement, output, length, messageEnd)   FILTER_OUTPUT3(site, statement, output, length, messageEnd, DEFAULT_CHANNEL)
 
#define FILTER_OUTPUT(site, output, length, messageEnd)   FILTER_OUTPUT2(site, 0, output, length, messageEnd)
 
#define FILTER_OUTPUT_BYTE(site, output)   FILTER_OUTPUT(site, &(const byte &)(byte)output, 1, 0)
 
#define FILTER_OUTPUT2_MODIFIABLE(site, statement, output, length, messageEnd)
 
#define FILTER_OUTPUT_MODIFIABLE(site, output, length, messageEnd)   FILTER_OUTPUT2_MODIFIABLE(site, 0, output, length, messageEnd)
 
#define FILTER_OUTPUT2_MAYBE_MODIFIABLE(site, statement, output, length, messageEnd, modifiable)
 
#define FILTER_OUTPUT_MAYBE_MODIFIABLE(site, output, length, messageEnd, modifiable)   FILTER_OUTPUT2_MAYBE_MODIFIABLE(site, 0, output, length, messageEnd, modifiable)
 

Macro Definition Documentation

#define FILTER_BEGIN
Value:
switch (m_continueAt) \
{ \
case 0: \
m_inputPosition = 0;

Definition at line 14 of file fltrimpl.h.

#define FILTER_END_NO_MESSAGE_END
Value:
FILTER_END_NO_MESSAGE_END_NO_RETURN \
return 0;

Definition at line 26 of file fltrimpl.h.

#define FILTER_END_NO_MESSAGE_END_NO_RETURN
Value:
break; \
default: \
}
#define CRYPTOPP_ASSERT(exp)
Definition: trap.h:92

Definition at line 20 of file fltrimpl.h.

#define FILTER_OUTPUT (   site,
  output,
  length,
  messageEnd 
)    FILTER_OUTPUT2(site, 0, output, length, messageEnd)

Definition at line 49 of file fltrimpl.h.

#define FILTER_OUTPUT2 (   site,
  statement,
  output,
  length,
  messageEnd 
)    FILTER_OUTPUT3(site, statement, output, length, messageEnd, DEFAULT_CHANNEL)

Definition at line 46 of file fltrimpl.h.

#define FILTER_OUTPUT2_MAYBE_MODIFIABLE (   site,
  statement,
  output,
  length,
  messageEnd,
  modifiable 
)
Value:
{\
case site: \
statement; \
if (modifiable ? OutputModifiable(site, output, length, messageEnd, blocking) : Output(site, output, length, messageEnd, blocking)) \
return STDMAX(size_t(1), length-m_inputPosition);\
}
if(a.IndicesBefore(b, len, lenIndices))
Definition: equihash.cpp:243
const T & STDMAX(const T &a, const T &b)
Replacement function for std::max.
Definition: misc.h:487

Definition at line 66 of file fltrimpl.h.

#define FILTER_OUTPUT2_MODIFIABLE (   site,
  statement,
  output,
  length,
  messageEnd 
)
Value:
{\
case site: \
statement; \
if (OutputModifiable(site, output, length, messageEnd, blocking)) \
return STDMAX(size_t(1), length-m_inputPosition);\
}
if(a.IndicesBefore(b, len, lenIndices))
Definition: equihash.cpp:243
const T & STDMAX(const T &a, const T &b)
Replacement function for std::max.
Definition: misc.h:487

Definition at line 55 of file fltrimpl.h.

#define FILTER_OUTPUT3 (   site,
  statement,
  output,
  length,
  messageEnd,
  channel 
)
Value:
{\
case site: \
statement; \
if (Output(site, output, length, messageEnd, blocking, channel)) \
return STDMAX(size_t(1), length-m_inputPosition);\
}
if(a.IndicesBefore(b, len, lenIndices))
Definition: equihash.cpp:243
const T & STDMAX(const T &a, const T &b)
Replacement function for std::max.
Definition: misc.h:487

Definition at line 38 of file fltrimpl.h.

#define FILTER_OUTPUT_BYTE (   site,
  output 
)    FILTER_OUTPUT(site, &(const byte &)(byte)output, 1, 0)

Definition at line 52 of file fltrimpl.h.

#define FILTER_OUTPUT_MAYBE_MODIFIABLE (   site,
  output,
  length,
  messageEnd,
  modifiable 
)    FILTER_OUTPUT2_MAYBE_MODIFIABLE(site, 0, output, length, messageEnd, modifiable)

Definition at line 74 of file fltrimpl.h.

#define FILTER_OUTPUT_MODIFIABLE (   site,
  output,
  length,
  messageEnd 
)    FILTER_OUTPUT2_MODIFIABLE(site, 0, output, length, messageEnd)

Definition at line 63 of file fltrimpl.h.