Share

AcDbDwgFiler::readBoolean

C++

virtual Acad::ErrorStatus readBoolean(
    Adesk::Boolean* pVal
);

Description

Deprecated. The implementation of this function should follow that of the ObjectARX internal filers. It should:

  • check the current filer status. If it is Acad::eOk, then continue, or else return the current status.
  • read in the int that is the boolean value into the Adesk::Boolean pointed to by pVal. The value read in should be either 0 or 1. If it is anything other than 0, it should be converted to a 1.
  • return an Acad::ErrorStatus value indicating the success or failure of the operation (use Acad::eOk to indicate success).

Parameters

Parameters Description
pVal Pointer to Adesk::Boolean (an int) to be filled in

Links

AcDbDwgFiler

Use Instead

virtual Acad::ErrorStatus readBool(bool* pVal) = 0;

Was this information helpful?