Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Friends | List of all members
Mantid::Kernel::PropertyManagerDataServiceImpl Class Referencefinal

PropertyManagerDataService Class. More...

#include <PropertyManagerDataService.h>

Inheritance diagram for Mantid::Kernel::PropertyManagerDataServiceImpl:
Mantid::Kernel::DataService< PropertyManager >

Public Member Functions

PropertyManagerDataServiceImploperator= (const PropertyManagerDataServiceImpl &)=delete
 
 PropertyManagerDataServiceImpl (const PropertyManagerDataServiceImpl &)=delete
 
- Public Member Functions inherited from Mantid::Kernel::DataService< PropertyManager >
virtual void add (const std::string &name, const std::shared_ptr< PropertyManager > &Tobject)
 Add an object to the service. More...
 
virtual void addOrReplace (const std::string &name, const std::shared_ptr< PropertyManager > &Tobject)
 Add or replace an object to the service. More...
 
void clear ()
 Empty the service. More...
 
 DataService (const DataService &)=delete
 Deleted copy constructor. More...
 
bool doAllWsExist (const std::vector< std::string > &listOfNames)
 Checks all elements within the specified vector exist in the ADS. More...
 
bool doesExist (const std::string &name) const
 Check to see if a data object exists in the store. More...
 
std::vector< std::string > getObjectNames (DataServiceSort sortState=DataServiceSort::Unsorted, DataServiceHidden hiddenState=DataServiceHidden::Auto, const std::string &contain="") const
 Returns a vector of strings containing all object names in the ADS. More...
 
std::vector< std::shared_ptr< PropertyManager > > getObjects (DataServiceHidden includeHidden=DataServiceHidden::Auto) const
 Get a vector of the pointers to the data objects stored by the service. More...
 
DataServiceoperator= (const DataService &)=delete
 Deleted copy assignment operator. More...
 
void remove (const std::string &name)
 Remove an object from the service. More...
 
void rename (const std::string &oldName, const std::string &newName)
 Rename an object within the service. More...
 
std::shared_ptr< PropertyManagerretrieve (const std::string &name) const
 Get a shared pointer to a stored data object. More...
 
virtual void shutdown ()
 Prepare for shutdown. More...
 
size_t size () const
 Return the number of objects stored by the data service. More...
 

Private Member Functions

 PropertyManagerDataServiceImpl ()
 Constructor. More...
 
 ~PropertyManagerDataServiceImpl () override=default
 

Friends

struct Mantid::Kernel::CreateUsingNew< PropertyManagerDataServiceImpl >
 

Additional Inherited Members

- Static Public Member Functions inherited from Mantid::Kernel::DataService< PropertyManager >
static bool isHiddenDataServiceObject (const std::string &name)
 
static std::string prefixToHide ()
 
static bool showingHiddenObjects ()
 
- Public Attributes inherited from Mantid::Kernel::DataService< PropertyManager >
Poco::NotificationCenter notificationCenter
 Sends notifications to observers. More...
 
- Protected Member Functions inherited from Mantid::Kernel::DataService< PropertyManager >
 DataService (const std::string &name)
 Protected constructor (singleton) More...
 
virtual ~DataService ()=default
 

Detailed Description

PropertyManagerDataService Class.

Derived from DataService.

Definition at line 23 of file PropertyManagerDataService.h.

Constructor & Destructor Documentation

◆ PropertyManagerDataServiceImpl() [1/2]

Mantid::Kernel::PropertyManagerDataServiceImpl::PropertyManagerDataServiceImpl ( const PropertyManagerDataServiceImpl )
delete

◆ PropertyManagerDataServiceImpl() [2/2]

Mantid::Kernel::PropertyManagerDataServiceImpl::PropertyManagerDataServiceImpl ( )
private

Constructor.

Default constructor.

Definition at line 15 of file PropertyManagerDataService.cpp.

◆ ~PropertyManagerDataServiceImpl()

Mantid::Kernel::PropertyManagerDataServiceImpl::~PropertyManagerDataServiceImpl ( )
overrideprivatedefault

Member Function Documentation

◆ operator=()

PropertyManagerDataServiceImpl & Mantid::Kernel::PropertyManagerDataServiceImpl::operator= ( const PropertyManagerDataServiceImpl )
delete

Friends And Related Function Documentation

◆ Mantid::Kernel::CreateUsingNew< PropertyManagerDataServiceImpl >

Definition at line 26 of file PropertyManagerDataService.h.


The documentation for this class was generated from the following files: