CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QueryableVectorData.cc
Go to the documentation of this file.
4 
6 }
7 
8 ora::LoaderClient::LoaderClient(boost::shared_ptr<IVectorLoader>& loader):m_loader(loader){
9 }
10 
11 ora::LoaderClient::LoaderClient( const LoaderClient& rhs ):m_loader(rhs.m_loader){
12 }
13 
15  if(&rhs != this){
16  m_loader= rhs.m_loader;
17  }
18  return *this;
19 }
20 
22 }
23 
24 boost::shared_ptr<ora::IVectorLoader> ora::LoaderClient::loader() const{
25  return m_loader;
26 }
27 
29  return m_loader.get()!=0;
30 }
31 
32 void ora::LoaderClient::install(boost::shared_ptr<IVectorLoader>& loader){
33  if(m_loader != loader){
34  m_loader = loader;
35  }
36 }
37 
LoaderClient & operator=(const LoaderClient &rhs)
void install(boost::shared_ptr< IVectorLoader > &loader)
boost::shared_ptr< IVectorLoader > loader() const
boost::shared_ptr< IVectorLoader > m_loader