PASN_ConstrainedObject Class Reference

#include <asner.h>

Inheritance diagram for PASN_ConstrainedObject:

PASN_Object PObject PASN_Array PASN_BitString PASN_BMPString PASN_ConstrainedString PASN_Integer PASN_OctetString

List of all members.

Public Member Functions

BOOL IsConstrained () const
int GetLowerLimit () const
unsigned GetUpperLimit () const
BOOL ConstrainedLengthDecode (PPER_Stream &strm, unsigned &length)
void ConstrainedLengthEncode (PPER_Stream &strm, unsigned length) const
BOOL ConstraintEncode (PPER_Stream &strm, unsigned value) const

Protected Member Functions

virtual void SetConstraintBounds (ConstraintType type, int lower, unsigned upper)
 PASN_ConstrainedObject (unsigned tag, TagClass tagClass)

Protected Attributes

ConstraintType constraint
int lowerLimit
unsigned upperLimit


Detailed Description

Base class for constrained ASN encoding/decoding.

Constructor & Destructor Documentation

PASN_ConstrainedObject::PASN_ConstrainedObject ( unsigned  tag,
TagClass  tagClass 
) [protected]


Member Function Documentation

BOOL PASN_ConstrainedObject::IsConstrained (  )  const [inline]

int PASN_ConstrainedObject::GetLowerLimit (  )  const [inline]

References lowerLimit.

unsigned PASN_ConstrainedObject::GetUpperLimit (  )  const [inline]

References upperLimit.

BOOL PASN_ConstrainedObject::ConstrainedLengthDecode ( PPER_Stream &  strm,
unsigned &  length 
)

void PASN_ConstrainedObject::ConstrainedLengthEncode ( PPER_Stream &  strm,
unsigned  length 
) const

BOOL PASN_ConstrainedObject::ConstraintEncode ( PPER_Stream &  strm,
unsigned  value 
) const

virtual void PASN_ConstrainedObject::SetConstraintBounds ( ConstraintType  type,
int  lower,
unsigned  upper 
) [protected, virtual]


Member Data Documentation

Referenced by IsConstrained().

Referenced by GetLowerLimit().

unsigned PASN_ConstrainedObject::upperLimit [protected]

Referenced by GetUpperLimit().


The documentation for this class was generated from the following file:

Generated on Wed Oct 15 09:09:29 2008 for PWLib by  doxygen 1.5.6