Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

sp-object.cpp File Reference


Detailed Description

SPObject implementation.

Authors: Lauris Kaplinski <lauris@kaplinski.com> bulia byak <buliabyak@users.sf.net> Stephen Silver <sasilver@users.sourceforge.net>

Copyright (C) 1999-2008 authors Copyright (C) 2001-2002 Ximian, Inc.

Released under GNU GPL, read the file 'COPYING' for more information

Definition in file sp-object.cpp.

#include <cstring>
#include <string>
#include "helper/sp-marshal.h"
#include "xml/node-event-vector.h"
#include "attributes.h"
#include "color-profile-fns.h"
#include "document.h"
#include "style.h"
#include "sp-object-repr.h"
#include "sp-root.h"
#include "sp-style-elem.h"
#include "sp-script.h"
#include "streq.h"
#include "strneq.h"
#include "xml/repr.h"
#include "xml/node-fns.h"
#include "debug/event-tracker.h"
#include "debug/simple-event.h"
#include "debug/demangle.h"
#include "util/share.h"
#include "util/format.h"
#include "util/longest-common-suffix.h"

Go to the source code of this file.

Classes

class  SPObjectImpl

Defines

#define __SP_OBJECT_C__
#define debug(f, a...)
#define noSP_OBJECT_DEBUG
#define noSP_OBJECT_DEBUG_CASCADE

Typedefs

typedef Debug::SimpleEvent
< Debug::Event::REFCOUNT > 
BaseRefCountEvent

Functions

SPObject const * AncestorSon (SPObject const *obj, SPObject const *ancestor)
bool same_objects (SPObject const &a, SPObject const &b)
void sp_object_attach (SPObject *parent, SPObject *object, SPObject *prev)
static void sp_object_build (SPObject *object, SPDocument *document, Inkscape::XML::Node *repr)
static void sp_object_child_added (SPObject *object, Inkscape::XML::Node *child, Inkscape::XML::Node *ref)
static void sp_object_class_init (SPObjectClass *klass)
int sp_object_compare_position (SPObject const *first, SPObject const *second)
void sp_object_detach (SPObject *parent, SPObject *object)
static void sp_object_finalize (GObject *object)
SPObjectsp_object_get_child_by_repr (SPObject *object, Inkscape::XML::Node *repr)
gchar const * sp_object_get_style_property (SPObject const *object, gchar const *key, gchar const *def)
GType sp_object_get_type (void)
static gchar * sp_object_get_unique_id (SPObject *object, gchar const *defid)
gchar const * sp_object_getAttribute (SPObject const *object, gchar const *key, SPException *ex)
SPObjectsp_object_href (SPObject *object, gpointer)
SPObjectsp_object_hunref (SPObject *object, gpointer)
static void sp_object_init (SPObject *object)
void sp_object_invoke_build (SPObject *object, SPDocument *document, Inkscape::XML::Node *repr, unsigned int cloned)
static void sp_object_order_changed (SPObject *object, Inkscape::XML::Node *child, Inkscape::XML::Node *old_ref, Inkscape::XML::Node *new_ref)
SPObjectsp_object_prev (SPObject *child)
static void sp_object_private_set (SPObject *object, unsigned int key, gchar const *value)
static Inkscape::XML::Nodesp_object_private_write (SPObject *object, Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, guint flags)
void sp_object_read_attr (SPObject *object, gchar const *key)
SPObjectsp_object_ref (SPObject *object, SPObject *owner)
static void sp_object_release (SPObject *object)
static void sp_object_remove_child (SPObject *object, Inkscape::XML::Node *child)
void sp_object_removeAttribute (SPObject *object, gchar const *key, SPException *ex)
void sp_object_reorder (SPObject *object, SPObject *prev)
static void sp_object_repr_attr_changed (Inkscape::XML::Node *repr, gchar const *key, gchar const *oldval, gchar const *newval, bool is_interactive, gpointer data)
static void sp_object_repr_child_added (Inkscape::XML::Node *repr, Inkscape::XML::Node *child, Inkscape::XML::Node *ref, gpointer data)
static void sp_object_repr_child_removed (Inkscape::XML::Node *, Inkscape::XML::Node *child, Inkscape::XML::Node *, gpointer data)
static void sp_object_repr_child_removed (Inkscape::XML::Node *repr, Inkscape::XML::Node *child, Inkscape::XML::Node *ref, void *data)
static void sp_object_repr_content_changed (Inkscape::XML::Node *repr, gchar const *oldcontent, gchar const *newcontent, gpointer data)
static void sp_object_repr_order_changed (Inkscape::XML::Node *repr, Inkscape::XML::Node *child, Inkscape::XML::Node *old, Inkscape::XML::Node *newer, gpointer data)
void sp_object_set (SPObject *object, unsigned int key, gchar const *value)
void sp_object_setAttribute (SPObject *object, gchar const *key, gchar const *value, SPException *ex)
gchar const * sp_object_tagName_get (SPObject const *object, SPException *ex)
SPObjectsp_object_unref (SPObject *object, SPObject *owner)
static gchar const * sp_xml_get_space_string (unsigned int space)

Variables

Inkscape::XML::NodeEventVector object_event_vector
static GObjectClass * parent_class
guint update_in_progress = 0


Generated by  Doxygen 1.6.0   Back to index