UltraLite User's Guide
C++ API Reference
ULData class
bool IsOpen ( )
Checks whether the ULData object is currently open.
true (1) if the ULData object is open.
false (0) if the ULData object is not open.
The following example declares a ULData object, opens it, and checks that the Open method succeeded:
ULData db; db.Open(); if( db.IsOpen() ){ printf( "The ULData object is open\n" ); }