ASN1C C/C++ Common Runtime  ASN1C v7.5.x
Public Member Functions | List of all members
ASN1CBitStrSizeHolder Class Referenceabstract

#include <ASN1CBitStr.h>

Inheritance diagram for ASN1CBitStrSizeHolder:
ASN1CBitStrSizeHolder16 ASN1CBitStrSizeHolder32 ASN1CBitStrSizeHolder64 ASN1CBitStrSizeHolder8

Public Member Functions

virtual ASN1CBitStrSizeHolderclone ()=0
 
virtual OSSIZE getValue () const =0
 
virtual int setValue (OSSIZE value)=0
 

Detailed Description

The ASN1CBitStrSizeHolder is a class used to hold sizes for the ASN1CBitStr control class. This base class is abstract and is implemented by the 8-bit, 16-bit, and 32-bit varieties.

Member Function Documentation

◆ setValue()

virtual int ASN1CBitStrSizeHolder::setValue ( OSSIZE  value)
pure virtual

Set the size to the given value. Implementations of this method will return an error if the given value is outside of the range of the field being used to hold the size value.

Implemented in ASN1CBitStrSizeHolder64, ASN1CBitStrSizeHolder32, ASN1CBitStrSizeHolder16, and ASN1CBitStrSizeHolder8.


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