Bitcoin Core 30.99.0
P2P Digital Currency
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | Friends | List of all members
script_verify_flags Class Reference

#include <verify_flags.h>

Public Types

using value_type = uint64_t
 

Public Member Functions

consteval script_verify_flags ()=default
 
consteval explicit (false) script_verify_flags(value_type f)
 
constexpr explicit (false) script_verify_flags(script_verify_flag_name f)
 
constexpr script_verify_flags (const script_verify_flags &)=default
 
constexpr script_verify_flags (script_verify_flags &&)=default
 
constexpr script_verify_flagsoperator= (const script_verify_flags &)=default
 
constexpr script_verify_flagsoperator= (script_verify_flags &&)=default
 
constexpr ~script_verify_flags ()=default
 
constexpr value_type as_int () const
 
constexpr script_verify_flags operator~ () const
 
constexpr script_verify_flagsoperator|= (script_verify_flags vf)
 
constexpr script_verify_flagsoperator&= (script_verify_flags vf)
 
constexpr operator bool () const
 
constexpr bool operator== (script_verify_flags other) const
 

Static Public Member Functions

static constexpr script_verify_flags from_int (value_type f)
 

Private Attributes

value_type m_value {0}
 

Friends

constexpr script_verify_flags operator| (script_verify_flags a, script_verify_flags b)
 
constexpr script_verify_flags operator& (script_verify_flags a, script_verify_flags b)
 
constexpr std::strong_ordering operator<=> (const script_verify_flags &a, const script_verify_flags &b) noexcept
 Compare two script_verify_flags. More...
 

Detailed Description

Definition at line 14 of file verify_flags.h.

Member Typedef Documentation

◆ value_type

Definition at line 17 of file verify_flags.h.

Constructor & Destructor Documentation

◆ script_verify_flags() [1/3]

consteval script_verify_flags::script_verify_flags ( )
default

◆ script_verify_flags() [2/3]

constexpr script_verify_flags::script_verify_flags ( const script_verify_flags )
constexprdefault

◆ script_verify_flags() [3/3]

constexpr script_verify_flags::script_verify_flags ( script_verify_flags &&  )
constexprdefault

◆ ~script_verify_flags()

constexpr script_verify_flags::~script_verify_flags ( )
constexprdefault

Member Function Documentation

◆ as_int()

constexpr value_type script_verify_flags::as_int ( ) const
inlineconstexpr

Definition at line 36 of file verify_flags.h.

Here is the caller graph for this function:

◆ explicit() [1/2]

constexpr script_verify_flags::explicit ( false  )
inlineconstexpr

Definition at line 25 of file verify_flags.h.

◆ explicit() [2/2]

consteval script_verify_flags::explicit ( false  )
inline

Definition at line 22 of file verify_flags.h.

◆ from_int()

static constexpr script_verify_flags script_verify_flags::from_int ( value_type  f)
inlinestaticconstexpr

Definition at line 35 of file verify_flags.h.

Here is the caller graph for this function:

◆ operator bool()

constexpr script_verify_flags::operator bool ( ) const
inlineexplicitconstexpr

Definition at line 48 of file verify_flags.h.

◆ operator&=()

constexpr script_verify_flags & script_verify_flags::operator&= ( script_verify_flags  vf)
inlineconstexpr

Definition at line 45 of file verify_flags.h.

◆ operator=() [1/2]

constexpr script_verify_flags & script_verify_flags::operator= ( const script_verify_flags )
constexprdefault

◆ operator=() [2/2]

constexpr script_verify_flags & script_verify_flags::operator= ( script_verify_flags &&  )
constexprdefault

◆ operator==()

constexpr bool script_verify_flags::operator== ( script_verify_flags  other) const
inlineconstexpr

Definition at line 49 of file verify_flags.h.

◆ operator|=()

constexpr script_verify_flags & script_verify_flags::operator|= ( script_verify_flags  vf)
inlineconstexpr

Definition at line 44 of file verify_flags.h.

◆ operator~()

constexpr script_verify_flags script_verify_flags::operator~ ( ) const
inlineconstexpr

Definition at line 39 of file verify_flags.h.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator&

constexpr script_verify_flags operator& ( script_verify_flags  a,
script_verify_flags  b 
)
friend

Definition at line 41 of file verify_flags.h.

◆ operator<=>

constexpr std::strong_ordering operator<=> ( const script_verify_flags a,
const script_verify_flags b 
)
friend

Compare two script_verify_flags.

<, >, <=, and >= are auto-generated from this.

Definition at line 52 of file verify_flags.h.

◆ operator|

constexpr script_verify_flags operator| ( script_verify_flags  a,
script_verify_flags  b 
)
friend

Definition at line 40 of file verify_flags.h.

Member Data Documentation

◆ m_value

value_type script_verify_flags::m_value {0}
private

Definition at line 58 of file verify_flags.h.


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