CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
ora::LoaderClient Class Reference

#include <QueryableVectorData.h>

Inheritance diagram for ora::LoaderClient:
ora::Query< Tp > ora::QueryableVector< Tp >

Public Member Functions

bool hasLoader () const
 
void install (boost::shared_ptr< IVectorLoader > &loader)
 
boost::shared_ptr< IVectorLoaderloader () const
 
 LoaderClient ()
 
 LoaderClient (boost::shared_ptr< IVectorLoader > &loader)
 
 LoaderClient (const LoaderClient &rhs)
 
LoaderClientoperator= (const LoaderClient &rhs)
 
void reset ()
 
virtual ~LoaderClient ()
 

Private Attributes

boost::shared_ptr< IVectorLoaderm_loader
 

Detailed Description

Definition at line 348 of file QueryableVectorData.h.

Constructor & Destructor Documentation

ora::LoaderClient::LoaderClient ( )

Definition at line 5 of file QueryableVectorData.cc.

5  :m_loader(){
6 }
boost::shared_ptr< IVectorLoader > m_loader
ora::LoaderClient::~LoaderClient ( )
virtual

Definition at line 21 of file QueryableVectorData.cc.

21  {
22 }
ora::LoaderClient::LoaderClient ( boost::shared_ptr< IVectorLoader > &  loader)
explicit

Definition at line 8 of file QueryableVectorData.cc.

9 }
boost::shared_ptr< IVectorLoader > loader() const
boost::shared_ptr< IVectorLoader > m_loader
ora::LoaderClient::LoaderClient ( const LoaderClient rhs)

Definition at line 11 of file QueryableVectorData.cc.

11  :m_loader(rhs.m_loader){
12 }
boost::shared_ptr< IVectorLoader > m_loader

Member Function Documentation

bool ora::LoaderClient::hasLoader ( ) const

Definition at line 28 of file QueryableVectorData.cc.

28  {
29  return m_loader.get()!=0;
30 }
boost::shared_ptr< IVectorLoader > m_loader
void ora::LoaderClient::install ( boost::shared_ptr< IVectorLoader > &  loader)

Definition at line 32 of file QueryableVectorData.cc.

Referenced by ora::QueryableVectorReader::read().

32  {
33  if(m_loader != loader){
34  m_loader = loader;
35  }
36 }
boost::shared_ptr< IVectorLoader > loader() const
boost::shared_ptr< IVectorLoader > m_loader
boost::shared_ptr< ora::IVectorLoader > ora::LoaderClient::loader ( ) const

Definition at line 24 of file QueryableVectorData.cc.

24  {
25  return m_loader;
26 }
boost::shared_ptr< IVectorLoader > m_loader
ora::LoaderClient & ora::LoaderClient::operator= ( const LoaderClient rhs)

Definition at line 14 of file QueryableVectorData.cc.

References m_loader.

14  {
15  if(&rhs != this){
16  m_loader= rhs.m_loader;
17  }
18  return *this;
19 }
boost::shared_ptr< IVectorLoader > m_loader
void ora::LoaderClient::reset ( )

Member Data Documentation

boost::shared_ptr<IVectorLoader> ora::LoaderClient::m_loader
mutableprivate

Definition at line 370 of file QueryableVectorData.h.

Referenced by operator=().