8#ifndef PYTHONCONFIGURATION_H
9#define PYTHONCONFIGURATION_H
12#include <boost/shared_ptr.hpp>
Defines base class for cache of template objects.
void get(const std::string &class_name, const std::string &id, ConfigObject &object, unsigned long rlevel=0, const std::vector< std::string > *rclasses=0)
Get object by class name and object id (multi-thread safe).
Configuration * m_pointer
Configuration * operator->()
Let python bindings access the configuration pointer.
ConfigurationPointer(const ConfigurationPointer &other)
Copying, is shallow. Don't do this at home...
ConfigurationPointer()
Default.
ConfigurationPointer & operator=(const ConfigurationPointer &other)
Assignment is shallow.
ConfigurationPointer(const Configuration &p)
Constructor when the user initializes from C++. In this case, the pointed configuration should never ...
Configuration & operator*()
Another way to access the configuration pointer.
ConfigurationPointer(const std::string &s)
Constructor when the user initializes from within python.
boost::shared_ptr< Configuration > m_shared
virtual ~ConfigurationPointer()
Destructor. If started from string, destroy if the last instance, otherwise, doesn't do anything at a...
Configuration * get()
Get the configuration pointer.