iText 8.0.2 API
|
The base class for a collection of 32 flag bits. More...
Public Member Functions |
|||
Options () | |||
The default constructor. More... |
|||
Options (int options) | |||
Constructor with the options bit mask. More... |
|||
virtual void | Clear () | ||
Resets the options. More... |
|||
virtual bool | IsExactly (int optionBits) | ||
virtual bool | ContainsAllOptions (int optionBits) | ||
virtual bool | ContainsOneOf (int optionBits) | ||
virtual void | SetOption (int optionBits, bool value) | ||
virtual int | GetOptions () | ||
Is friendly to access it during the tests. More... |
|||
virtual void | SetOptions (int options) | ||
|
|||
override bool | Equals (Object obj) | ||
|
|||
override int | GetHashCode () | ||
|
|||
virtual String | GetOptionsString () | ||
Creates a human readable string from the set options. More... |
|||
override String | ToString () | ||
|
|||
The base class for a collection of 32 flag bits.
The base class for a collection of 32 flag bits. Individual flags are defined as enum value bit masks. Inheriting classes add convenience accessor methods.
|
inline |
The default constructor.
|
inline |
Constructor with the options bit mask.
options | the options bit mask |
|
inlinevirtual |
Resets the options.
|
inlinevirtual |
optionBits | an option bitmask |
|
inlinevirtual |
optionBits | an option bitmask |
|
inlinevirtual |
Is friendly to access it during the tests.
|
inlinevirtual |
Creates a human readable string from the set options.
Creates a human readable string from the set options. Note: This method is quite expensive and should only be used within tests or as
true
by their name, like "option1 | option4".
|
inlinevirtual |
optionBits | an option bitmask |
|
inlinevirtual |
optionBits | the binary bit or bits that shall be set to the given value |
value | the boolean value to set |