[#script_verify_flags]
= script&lowbar;verify&lowbar;flags
:mrdocs:

Type&hyphen;safe set of script verification flags backed by a bitmask&period;

== Synopsis

Declared in `&lt;script&sol;verify&lowbar;flags&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class script&lowbar;verify&lowbar;flags;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:script_verify_flags/value_type.adoc[`value&lowbar;type`] 
| Underlying integer type holding the flag bits&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:script_verify_flags/2constructor-07.adoc[`script&lowbar;verify&lowbar;flags`]         [.small]#[constructor]#
| Constructors
| xref:script_verify_flags/2destructor.adoc[`&#126;script&lowbar;verify&lowbar;flags`] [.small]#[destructor]#
| Destructor&period;
| xref:script_verify_flags/operator_assign-026.adoc[`operator&equals;`] 
| Assignment operators
| xref:script_verify_flags/as_int.adoc[`as&lowbar;int`] 
| Get the raw integer bitmask&period;
| xref:script_verify_flags/operator_and_eq.adoc[`operator&amp;&equals;`] 
| Clear all bits not present in another flag set in place&period;
| xref:script_verify_flags/operator_or_eq.adoc[`operator&verbar;&equals;`] 
| Set the bits of another flag set in place&period;
| xref:script_verify_flags/operator_bitnot.adoc[`operator&#126;`] 
| Bitwise complement of the flag set&period;
| xref:script_verify_flags/2conversion.adoc[`operator bool`] 
| Test whether any flag is set&period;
| xref:script_verify_flags/operator_eq.adoc[`operator&equals;&equals;`] 
| Test two flag sets for equality&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:script_verify_flags/from_int.adoc[`from&lowbar;int`] 
| Build a flag set from a raw integer bitmask&period;
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `xref:operator_3way-0c.adoc[operator&lt;&equals;&gt;]`
| Compare two script&lowbar;verify&lowbar;flags&period; &lt;, &gt;, &lt;&equals;, and &gt;&equals; are auto&hyphen;generated from this&period;
| `xref:operator_bitand-02.adoc[operator&amp;]`
| Bitwise AND of two flag sets&period;
| `xref:operator_bitor-06.adoc[operator&verbar;]`
| Bitwise OR of two flag sets&period;
|===

== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:GetBlockScriptFlags.adoc[`GetBlockScriptFlags`]
| Return the script flags which should be checked for a given block&period;
| xref:GetScriptFlagNames.adoc[`GetScriptFlagNames`]
| List the human&hyphen;readable names of the set verification flags&period;
| xref:operator_bitor-08.adoc[`operator&verbar;`]
| Bitwise OR of two flag names&period;
| xref:operator_bitnot.adoc[`operator&#126;`]
| Bitwise complement of a single flag name&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
