CMS 3D CMS Logo

Public Member Functions | Private Attributes

ora::LoaderClient Class Reference

#include <QueryableVectorData.h>

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

List of all members.

Public Member Functions

bool hasLoader () const
void install (boost::shared_ptr< IVectorLoader > &loader)
boost::shared_ptr< IVectorLoaderloader () const
 LoaderClient ()
 LoaderClient (const LoaderClient &rhs)
 LoaderClient (boost::shared_ptr< IVectorLoader > &loader)
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.

                             :m_loader(){
}
ora::LoaderClient::~LoaderClient ( ) [virtual]

Definition at line 21 of file QueryableVectorData.cc.

                              {
}
ora::LoaderClient::LoaderClient ( boost::shared_ptr< IVectorLoader > &  loader) [explicit]

Definition at line 8 of file QueryableVectorData.cc.

ora::LoaderClient::LoaderClient ( const LoaderClient rhs)

Definition at line 11 of file QueryableVectorData.cc.

                                                      :m_loader(rhs.m_loader){
}

Member Function Documentation

bool ora::LoaderClient::hasLoader ( ) const

Definition at line 28 of file QueryableVectorData.cc.

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

Definition at line 32 of file QueryableVectorData.cc.

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

                                                                   {
  if(m_loader != loader){
    m_loader = loader;
  }
}
boost::shared_ptr< ora::IVectorLoader > ora::LoaderClient::loader ( ) const

Definition at line 24 of file QueryableVectorData.cc.

                                                               {
  return m_loader;
}
ora::LoaderClient & ora::LoaderClient::operator= ( const LoaderClient rhs)

Definition at line 14 of file QueryableVectorData.cc.

References m_loader.

                                                                      {
  if(&rhs != this){
    m_loader= rhs.m_loader;
  }
  return *this;
}
void ora::LoaderClient::reset ( )

Reimplemented in ora::QueryableVector< Tp >.


Member Data Documentation

boost::shared_ptr<IVectorLoader> ora::LoaderClient::m_loader [mutable, private]

Definition at line 370 of file QueryableVectorData.h.

Referenced by operator=().