API Reference > OdDAI Namespace > Classes > Session Class > Session Methods > Session::findRepo Method
Session::findRepo Method
Syntax
C++
RepositoryPtr findRepo(const OdAnsiString & name) const;
Parameters 
Description 
const OdAnsiString & name 
[in] A name of repository to find.  

Returns a smart pointer to the repository if found, and the null if repository doesn't exist in current session.

Finds a repository which exists in the current session.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.