API Reference > OdDb Classes > OdDbEvalGraph Class > OdDbEvalGraph Methods > hasGraph Method > OdDbEvalGraph::hasGraph Method (OdDbDatabase*, OdString&)
OdDbEvalGraph::hasGraph Method (OdDbDatabase*, OdString&)
Syntax
C++
static bool hasGraph(OdDbDatabase* pDb, const OdString& key);
Parameters 
Description 
OdDbDatabase* pDb 
[in] Pointer to the database.  
const OdString& key 
[in] Graph key. 

Returns true if and only there is a graph with the specified key on the specified database.

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