CSvgNode Class Reference

A SVG node. More...

#import <CSvgNode.h>

Inherits < CSvgAcceptor >.

Inherited by CSvgContainerNode.

Inheritance diagram for CSvgNode:

[legend]
Collaboration diagram for CSvgNode:
[legend]
List of all members.

Public Member Functions

(id) - initWithParent:parser:attributes:
(CSvgNode *) - parentSvgNode
(void) - accept: [implementation]

Protected Attributes

CSvgNodem_parentSvgNode

Detailed Description

A SVG node.


Member Function Documentation

- (id) initWithParent: (CSvgNode *)  theParentSvgNode
parser: (NSXMLParser *)  theParser
attributes: (NSDictionary *)  theAttributes 

Initializes the current SVG node.

Parameters:
theAttributes the SVG attributes.
theParentSvgNode the parental SVG node.
theParser the XML parser.

Reimplemented in CSvgContainerNode.

00029                   : (CSvgNode*) theParentSvgNode
00030             parser: (NSXMLParser*) theParser
00031         attributes: (NSDictionary*) theAttributes
00032 {
00033     self = [super init];
00034 
00035     if( self )
00036     {
00037         // Set the parental SVG node.
00038         [theParentSvgNode retain];
00039         m_parentSvgNode = theParentSvgNode;
00040         
00041         // Set self as the XML parser delegate.
00042         [theParser setDelegate: self];
00043     }
00044 
00045     return self;
00046 }

- (CSvgNode *) parentSvgNode  

Returns the parental SVG node;

00055 {
00056     return m_parentSvgNode;
00057 }

- (void) accept: (CSvgVisitor *)  aSvgVisitor   [implementation]

Accepts the given visitor.

Parameters:
aSvgVisitor the visitor to accept.

Reimplemented from < CSvgAcceptor >.

00024                : (CSvgVisitor*) aSvgVisitor
00025 {
00026 }


Member Data Documentation

- (CSvgNode*) m_parentSvgNode [protected]

The parental SVG node.

See also:
- parentSvgNode


The documentation for this class was generated from the following files:
Generated on Sat Mar 31 12:13:41 2007 for Chlor by  doxygen 1.5.1