C# Class PeterO.Cbor.CBORTypeFilter

Show file Open project: peteroupc/CBOR Class Usage Examples

Public Properties

Property Type Description
Any CBORTypeFilter
ByteString CBORTypeFilter
NegativeInteger CBORTypeFilter
None CBORTypeFilter
TextString CBORTypeFilter
UnsignedInteger CBORTypeFilter

Public Methods

Method Description
ArrayIndexAllowed ( int index ) : bool
ArrayLengthMatches ( PeterO.Numbers.EInteger bigLength ) : bool
ArrayLengthMatches ( int length ) : bool
ArrayLengthMatches ( long length ) : bool
GetSubFilter ( int index ) : CBORTypeFilter
GetSubFilter ( long index ) : CBORTypeFilter
MajorTypeMatches ( int type ) : bool
NonFPSimpleValueAllowed ( ) : bool
TagAllowed ( PeterO.Numbers.EInteger bigTag ) : bool
TagAllowed ( int tag ) : bool
TagAllowed ( long longTag ) : bool
WithArrayAnyLength ( ) : CBORTypeFilter
WithArrayExactLength ( int arrayLength ) : CBORTypeFilter
WithArrayMinLength ( int arrayLength ) : CBORTypeFilter
WithByteString ( ) : CBORTypeFilter
WithFloatingPoint ( ) : CBORTypeFilter
WithMap ( ) : CBORTypeFilter
WithNegativeInteger ( ) : CBORTypeFilter
WithTags ( ) : CBORTypeFilter
WithTextString ( ) : CBORTypeFilter
WithUnsignedInteger ( ) : CBORTypeFilter

Private Methods

Method Description
Copy ( ) : CBORTypeFilter
WithAny ( ) : CBORTypeFilter
WithType ( int type ) : CBORTypeFilter

Method Details

ArrayIndexAllowed() public method

public ArrayIndexAllowed ( int index ) : bool
index int
return bool

ArrayLengthMatches() public method

public ArrayLengthMatches ( PeterO.Numbers.EInteger bigLength ) : bool
bigLength PeterO.Numbers.EInteger
return bool

ArrayLengthMatches() public method

public ArrayLengthMatches ( int length ) : bool
length int
return bool

ArrayLengthMatches() public method

public ArrayLengthMatches ( long length ) : bool
length long
return bool

GetSubFilter() public method

public GetSubFilter ( int index ) : CBORTypeFilter
index int
return CBORTypeFilter

GetSubFilter() public method

public GetSubFilter ( long index ) : CBORTypeFilter
index long
return CBORTypeFilter

MajorTypeMatches() public method

public MajorTypeMatches ( int type ) : bool
type int
return bool

NonFPSimpleValueAllowed() public method

public NonFPSimpleValueAllowed ( ) : bool
return bool

TagAllowed() public method

public TagAllowed ( PeterO.Numbers.EInteger bigTag ) : bool
bigTag PeterO.Numbers.EInteger
return bool

TagAllowed() public method

public TagAllowed ( int tag ) : bool
tag int
return bool

TagAllowed() public method

public TagAllowed ( long longTag ) : bool
longTag long
return bool

WithArrayAnyLength() public method

public WithArrayAnyLength ( ) : CBORTypeFilter
return CBORTypeFilter

WithArrayExactLength() public method

public WithArrayExactLength ( int arrayLength ) : CBORTypeFilter
arrayLength int
return CBORTypeFilter

WithArrayMinLength() public method

public WithArrayMinLength ( int arrayLength ) : CBORTypeFilter
arrayLength int
return CBORTypeFilter

WithByteString() public method

public WithByteString ( ) : CBORTypeFilter
return CBORTypeFilter

WithFloatingPoint() public method

public WithFloatingPoint ( ) : CBORTypeFilter
return CBORTypeFilter

WithMap() public method

public WithMap ( ) : CBORTypeFilter
return CBORTypeFilter

WithNegativeInteger() public method

public WithNegativeInteger ( ) : CBORTypeFilter
return CBORTypeFilter

WithTags() public method

public WithTags ( ) : CBORTypeFilter
return CBORTypeFilter

WithTextString() public method

public WithTextString ( ) : CBORTypeFilter
return CBORTypeFilter

WithUnsignedInteger() public method

public WithUnsignedInteger ( ) : CBORTypeFilter
return CBORTypeFilter

Property Details

Any public static property

public static CBORTypeFilter,PeterO.Cbor Any
return CBORTypeFilter

ByteString public static property

public static CBORTypeFilter,PeterO.Cbor ByteString
return CBORTypeFilter

NegativeInteger public static property

public static CBORTypeFilter,PeterO.Cbor NegativeInteger
return CBORTypeFilter

None public static property

public static CBORTypeFilter,PeterO.Cbor None
return CBORTypeFilter

TextString public static property

public static CBORTypeFilter,PeterO.Cbor TextString
return CBORTypeFilter

UnsignedInteger public static property

public static CBORTypeFilter,PeterO.Cbor UnsignedInteger
return CBORTypeFilter