ASN1C C# Runtime Library  7.2
Public Member Functions | Public Attributes | List of all members
BooleanHolder Class Reference

Public Member Functions

 BooleanHolder ()
 
 BooleanHolder (bool value)
 

Public Attributes

bool mValue
 

Detailed Description

A Holder class for a Boolean that is used to store "out" and "inout" parameters in methods. If a method has a boolean as an "out" or "inout" parameter, the programmer must pass an instance of BooleanHolder as the corresponding parameter in the method invocation; for "inout" parameters, the programmer must also fill the "in" value.

If myBooleanHolder is an instance of BooleanHolder,
the value stored in its value field can be accessed with myBooleanHolder.mValue.

Constructor & Destructor Documentation

◆ BooleanHolder() [1/2]

The default constructor for BooleanHolder class

◆ BooleanHolder() [2/2]

BooleanHolder ( bool  value)

This constructor will intialize BooleanHolder class with specified boolean value.

Parameters
valueBoolean value

Member Data Documentation

◆ mValue

bool mValue

This member variable is where the boolean value is stored.