Go to the documentation of this file.
20 #ifndef qla_handle_hpp
21 #define qla_handle_hpp
23 #include <oh/object.hpp>
27 class Handle :
public ObjectHandler::Object {
30 return boost::get<std::string>(propertyValue(
"CURRENTLINK"));
32 virtual bool empty()
const = 0;
34 Handle(
const boost::shared_ptr<ObjectHandler::ValueObject> &properties,
35 const std::string &objectId,
36 bool permanent) : ObjectHandler::Object(properties, permanent) {}
41 virtual void linkTo(
const std::string &objectID) = 0;
44 const std::string &objectId,
45 bool permanent) :
Handle(properties, objectId, permanent) {}
Definition: handle.hpp:39
virtual void linkTo(const std::string &objectID)=0
RelinkableHandle(const boost::shared_ptr< ObjectHandler::ValueObject > &properties, const std::string &objectId, bool permanent)
Definition: handle.hpp:43
std::string currentLink() const
Definition: handle.hpp:29
Handle(const boost::shared_ptr< ObjectHandler::ValueObject > &properties, const std::string &objectId, bool permanent)
Definition: handle.hpp:34
Definition: handle.hpp:27
virtual bool empty() const =0