iText 8.0.5 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 () | ||
|
|||
Package Functions |
|
virtual bool | GetOption (int optionBit) |
abstract int | GetValidOptions () |
To be implemeted by inheritants. More... |
|
abstract String | DefineOptionName (int option) |
To be implemeted by inheritants. More... |
|
virtual void | AssertConsistency (int options) |
The inheriting option class can do additional checks on the options. More... |
|
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 |
|
inlinepackagevirtual |
The inheriting option class can do additional checks on the options.
The inheriting option class can do additional checks on the options. Note: For performance reasons this method is only called when setting bitmasks directly. When get- and set-methods are used, this method must be called manually, normally only when the Options-object has been created from a client (it has to be made public therefore).
options | the bitmask to check. |
Reimplemented in iText.Kernel.XMP.Options.PropertyOptions.
|
inlinevirtual |
Resets the options.
|
inlinevirtual |
optionBits | an option bitmask |
|
inlinevirtual |
optionBits | an option bitmask |
|
packagepure virtual |
To be implemeted by inheritants.
option | a single, valid option bit. |
Implemented in iText.Kernel.XMP.Options.SerializeOptions, iText.Kernel.XMP.Options.PropertyOptions, iText.Kernel.XMP.Options.AliasOptions, iText.Kernel.XMP.Options.ParseOptions, and iText.Kernel.XMP.Options.IteratorOptions.
|
inlinepackagevirtual |
optionBit | the binary bit or bits that are requested |
|
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".
|
packagepure virtual |
To be implemeted by inheritants.
Implemented in iText.Kernel.XMP.Options.SerializeOptions, iText.Kernel.XMP.Options.PropertyOptions, iText.Kernel.XMP.Options.AliasOptions, iText.Kernel.XMP.Options.ParseOptions, and iText.Kernel.XMP.Options.IteratorOptions.
|
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 |