Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
SPUseReference Class Reference

#include <sp-use-reference.h>

Inheritance diagram for SPUseReference:
Inkscape::URIReference SPUsePath

Public Member Functions

 SPUseReference (SPObject *owner)
 
SPItemgetObject () const
 
- Public Member Functions inherited from Inkscape::URIReference
 URIReference (SPObject *owner)
 Constructor.
 
 URIReference (SPDocument *owner_document)
 
void operator= (URIReference const &ref)=delete
 
virtual ~URIReference ()
 Destructor.
 
void attach (URI const &uri)
 Attaches to a URI, relative to the specified document.
 
bool try_attach (char const *uri)
 Try to attach to a URI.
 
void detach ()
 Detaches from the currently attached URI target, if any; the current referrent is signaled as NULL.
 
SPObjectgetObject () const
 Returns a pointer to the current referrent of the attached URI, or NULL.
 
SPObjectgetOwner () const
 Returns a pointer to the URIReference's owner.
 
sigc::signal< void(SPObject *, SPObject *)> changedSignal ()
 Accessor for the referrent change notification signal; this signal is emitted whenever the URIReference's referrent changes.
 
URI const * getURI () const
 Returns a pointer to a URI containing the currently attached URI, or NULL if no URI is currently attached.
 
bool isAttached () const
 Returns true if there is currently an attached URI.
 
SPDocumentgetOwnerDocument ()
 
SPObjectgetOwnerObject ()
 

Protected Member Functions

bool _acceptObject (SPObject *const obj) const override
 

Detailed Description

Definition at line 28 of file sp-use-reference.h.

Constructor & Destructor Documentation

◆ SPUseReference()

SPUseReference::SPUseReference ( SPObject owner)
inline

Definition at line 30 of file sp-use-reference.h.

Member Function Documentation

◆ _acceptObject()

bool SPUseReference::_acceptObject ( SPObject *const  obj) const
overrideprotectedvirtual

Reimplemented from Inkscape::URIReference.

Definition at line 25 of file sp-use-reference.cpp.

◆ getObject()

SPItem * SPUseReference::getObject ( ) const
inline

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