Asn1SizeConstraint Class Reference

List of all members.

Public Member Functions

 Asn1SizeConstraint (long lower, long upper, long extLower, long extUpper)
 Asn1SizeConstraint (long lower, long upper)

Properties

bool Extensible [get, set]
long ExtLower [get, set]
long ExtUpper [get, set]
long RootLower [get, set]
long RootUpper [get, set]

Detailed Description

This class is used to represent a size constraint. Only sizes represented as a single value or range are supported.

This class is mainly for internal use by the compiler when generating methods that encode/decode PER SEQUENCE OF components containing size constraints.


Constructor & Destructor Documentation

Asn1SizeConstraint ( long  lower,
long  upper 
)

This constructor sets the range values for a non-extensisble constraint.

Asn1SizeConstraint ( long  lower,
long  upper,
long  extLower,
long  extUpper 
)

This constructor sets the range values for an extensisble constraint.


Property Documentation

bool Extensible [get, set]

Is constraint extensible?

long ExtLower [get, set]

Extension lower bound.

long ExtUpper [get, set]

Extension upper bound.

long RootLower [get, set]

Root lower bound.

long RootUpper [get, set]

Root upper bound.