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

Public Member Functions | Protected Member Functions | Related Functions

SPCSSAttrImpl Struct Reference

Inheritance diagram for SPCSSAttrImpl:
Inheritance graph
[legend]
Collaboration diagram for SPCSSAttrImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

unsigned _anchored_refcount () const
void addChild (Node *child, Node *ref)
 Insert another node as a child of this node.
void addListener (NodeEventVector const *vector, void *data)
 Add a set node change callbacks with an associated data.
void addObserver (NodeObserver &observer)
 Add an object that will be notified of the changes to this node.
void addSubtreeObserver (NodeObserver &observer)
 Add an object that will be notified of the changes to this node and its descendants.
void anchor () const
void appendChild (Node *child)
 Append a node as the last child of this node.
gchar const * attribute (gchar const *key) const
 Get the string representation of a node's attribute.
Inkscape::Util::List
< AttributeRecord const > 
attributeList () const
 Get a list of the node's attributes.
void changeOrder (Node *child, Node *ref)
 Move a given node in this node's child order.
unsigned childCount () const
 Get the number of children of this node.
int code () const
 Get the integer code corresponding to the node's name.
gchar const * content () const
 Get the content of a text or comment node.
Document const * document () const
Document * document ()
 Get the node's associated document.
Node * duplicate (Document *doc) const
 Create a duplicate of this node.
Node * firstChild ()
 Get the first child of this node.
Node const * firstChild () const
Node const * lastChild () const
Node * lastChild ()
 Get the last child of this node.
bool matchAttributeName (gchar const *partial_name) const
 Check whether this node has any attribute that matches a string.
void mergeFrom (Node const *src, gchar const *key)
 Merge all children of another node with the current.
gchar const * name () const
 Get the name of the element node.
Node * next ()
 Get the next sibling of this node.
Node const * next () const
Node * nthChild (unsigned index)
 Get the child of this node with a given index.
Node const * nthChild (unsigned index) const
void operator delete (void *p)
void * operator new (std::size_t size, ScanPolicy scan=SCANNED, CollectionPolicy collect=AUTO) throw (std::bad_alloc)
void * operator new[] (std::size_t size, ScanPolicy scan=SCANNED, CollectionPolicy collect=AUTO) throw (std::bad_alloc)
Node * parent ()
 Get the parent of this node.
Node const * parent () const
unsigned position () const
 Get the index of this node in parent's child order.
void release () const
void removeChild (Node *child)
 Remove a child of this node.
void removeListenerByData (void *data)
 Remove a set of node change callbacks by their associated data.
void removeObserver (NodeObserver &observer)
 Remove an object from the list of observers.
void removeSubtreeObserver (NodeObserver &observer)
 Remove an object from the subtree observers list.
Node * root ()
 Get the root node of this node's document.
Node const * root () const
void setAttribute (gchar const *key, gchar const *value, bool is_interactive=false)
 Change an attribute of this node.
void setCodeUnsafe (int code)
 Directly set the integer GQuark code for the name of the node.
void setContent (gchar const *value)
 Set the content of a text or comment node.
void setPosition (int pos)
 Set the position of this node in parent's child order.
 SPCSSAttrImpl (Document *doc)
 SPCSSAttrImpl (SPCSSAttrImpl const &other, Document *doc)
void synthesizeEvents (NodeEventVector const *vector, void *data)
 Generate a sequence of events corresponding to the state of this node.
void synthesizeEvents (NodeObserver &observer)
 Generate a sequence of events corresponding to the state of this node.
NodeType type () const
 Get the type of the node.

Protected Member Functions

SimpleNode_duplicate (Document *doc) const

Related Functions

(Note that these are not member functions.)


Inkscape::XML::Nodesp_repr_lookup_child (Inkscape::XML::Node *repr, gchar const *key, gchar const *value)
 Find an element node using an unique attribute.
Inkscape::XML::Nodesp_repr_lookup_name (Inkscape::XML::Node *repr, gchar const *name, gint maxdepth)
 Find an element node with the given name.
Node * next_node (Node *node)
 Get the next node in sibling order.
Node * previous_node (Node *node)
 Get the previous node in sibling order.
Node * parent_node (Node *node)
 Get the node's parent.

Detailed Description

Definition at line 23 of file repr-css.cpp.


The documentation for this struct was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index