API Reference > OdDb Classes > OdDbLayerFilter Class > OdDbLayerFilter Methods > OdDbLayerFilter::isValid Method
OdDbLayerFilter::isValid Method
Syntax
C++
virtual bool isValid(OdDbDatabase* pDb = 0) const;
Parameters 
Description 
OdDbDatabase* pDb = 0 
[in] Pointer to the database to be queried. 

Returns true if and only if all the layer names in this LayerFilter object are present in the specified OdDbDatabase. 

 

If pDb is null, the database containing this object is used.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.