C# 클래스 iTextSharp.xmp.options.XmpOptions

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. @since 24.01.2006
파일 보기 프로젝트 열기: nonorganic/dssnet

공개 메소드들

메소드 설명
Clear ( ) : void

Resets the options.

ContainsAllOptions ( uint optionBits ) : bool
ContainsOneOf ( uint optionBits ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
IsExactly ( uint optionBits ) : bool
SetOption ( uint optionBits, bool value ) : void
ToString ( ) : string
XmpOptions ( uint options ) : System.Collections

Constructor with the options bit mask.

보호된 메소드들

메소드 설명
AssertConsistency ( uint options ) : void

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).

DefineOptionName ( uint option ) : string

To be implemeted by inheritants.

GetOption ( uint optionBit ) : bool
XmpOptions ( ) : System.Collections

The default constructor.

비공개 메소드들

메소드 설명
AssertOptionsValid ( uint options ) : void

Checks options before they are set. First it is checked if only defined options are used, second the additional AssertConsistency(uint)-method is called.

GetOptionName ( uint option ) : string

Looks up or asks the inherited class for the name of an option bit. Its save that there is only one valid option handed into the method.

ProcureOptionNames ( ) : IDictionary

메소드 상세

AssertConsistency() 보호된 메소드

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).
Thrown if the options are not consistent.
protected AssertConsistency ( uint options ) : void
options uint the bitmask to check.
리턴 void

Clear() 공개 메소드

Resets the options.
public Clear ( ) : void
리턴 void

ContainsAllOptions() 공개 메소드

public ContainsAllOptions ( uint optionBits ) : bool
optionBits uint an option bitmask
리턴 bool

ContainsOneOf() 공개 메소드

public ContainsOneOf ( uint optionBits ) : bool
optionBits uint an option bitmask
리턴 bool

DefineOptionName() 보호된 추상적인 메소드

To be implemeted by inheritants.
protected abstract DefineOptionName ( uint option ) : string
option uint a single, valid option bit.
리턴 string

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetOption() 보호된 메소드

protected GetOption ( uint optionBit ) : bool
optionBit uint the binary bit or bits that are requested
리턴 bool

IsExactly() 공개 메소드

public IsExactly ( uint optionBits ) : bool
optionBits uint an option bitmask
리턴 bool

SetOption() 공개 메소드

public SetOption ( uint optionBits, bool value ) : void
optionBits uint the binary bit or bits that shall be set to the given value
value bool the boolean value to set
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

XmpOptions() 보호된 메소드

The default constructor.
protected XmpOptions ( ) : System.Collections
리턴 System.Collections

XmpOptions() 공개 메소드

Constructor with the options bit mask.
If the options are not correct
public XmpOptions ( uint options ) : System.Collections
options uint the options bit mask
리턴 System.Collections