Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

vtkPaletteElementParser Class Reference

#include <vtkPaletteElementParser.h>

Inheritance diagram for vtkPaletteElementParser:

Inheritance graph
[legend]
Collaboration diagram for vtkPaletteElementParser:

Collaboration graph
[legend]
List of all members.

Detailed Description

Abstract parser object for XML serialized palette elements.

Author:
Sean McInerney
Version:
Revision
1.1
Date:
Date
2004/06/02 11:35:09
See also:
vtkNestingExpatBase

Definition at line 35 of file vtkPaletteElementParser.h.

Public Member Functions

 vtkTypeRevisionMacro (vtkPaletteElementParser, vtkNestingExpatBase)
void PrintSelf (ostream &, vtkIndent)
vtkPaletteElementParserGetChild (void) const
 Get/Set the current child parser used by this object.

virtual vtkPaletteElementParserGetCurrentChild ()
virtual void SetCurrentChild (vtkPaletteElementParser *)
virtual vtkPaletteElementGetElement ()
 Get/Set the element held by this object.

virtual void SetElement (vtkPaletteElement *element)
 Get/Set the element held by this object.


Protected Member Functions

 vtkPaletteElementParser (void)
 ~vtkPaletteElementParser ()
 vtkPaletteElementParser (vtkPaletteElementParser *parent)
void SetupHandlers (void)
 Set the handlers used by expat callbacks.

void SetChild (vtkPaletteElementParser *a)
 Invoked as a callback from a child constructor or when we pass in a parent pointer.


Protected Attributes

vtkPaletteElementElement
vtkPaletteElementParserCurrentChild


Constructor & Destructor Documentation

vtkPaletteElementParser::vtkPaletteElementParser void   )  [protected]
 

vtkPaletteElementParser::~vtkPaletteElementParser  )  [protected]
 

vtkPaletteElementParser::vtkPaletteElementParser vtkPaletteElementParser parent  )  [protected]
 

Warning:
NOT a copy constructor; This is a recursive situation.


Member Function Documentation

vtkPaletteElementParser * vtkPaletteElementParser::GetChild void   )  const [inline, virtual]
 

Get/Set the current child parser used by this object.

Reimplemented from vtkNestingExpatBase.

Definition at line 146 of file vtkPaletteElementParser.h.

virtual vtkPaletteElementParser* vtkPaletteElementParser::GetCurrentChild  )  [virtual]
 

virtual vtkPaletteElement* vtkPaletteElementParser::GetElement  )  [virtual]
 

Get/Set the element held by this object.

void vtkPaletteElementParser::PrintSelf ostream &  ,
vtkIndent 
[virtual]
 

Reimplemented from vtkNestingExpatBase.

Reimplemented in vtkPaletteColorBaseParser.

void vtkPaletteElementParser::SetChild vtkPaletteElementParser a  )  [inline, protected]
 

Invoked as a callback from a child constructor or when we pass in a parent pointer.

OR used from RedirectInternalParser, in which case it may be the 2nd time we're called for a given child (see scenarios in vtkNestingExpatBase class comment).

Definition at line 124 of file vtkPaletteElementParser.h.

virtual void vtkPaletteElementParser::SetCurrentChild vtkPaletteElementParser  )  [virtual]
 

virtual void vtkPaletteElementParser::SetElement vtkPaletteElement element  )  [virtual]
 

Get/Set the element held by this object.

void vtkPaletteElementParser::SetupHandlers void   )  [protected, virtual]
 

Set the handlers used by expat callbacks.

Reimplemented from vtkNestingExpatBase.

Reimplemented in vtkPaletteColorBaseParser.

vtkPaletteElementParser::vtkTypeRevisionMacro vtkPaletteElementParser  ,
vtkNestingExpatBase 
 


Member Data Documentation

vtkPaletteElementParser* vtkPaletteElementParser::CurrentChild [protected]
 

Definition at line 115 of file vtkPaletteElementParser.h.

vtkPaletteElement* vtkPaletteElementParser::Element [protected]
 

Definition at line 114 of file vtkPaletteElementParser.h.


The documentation for this class was generated from the following file:
Generated on Tue Aug 10 03:44:11 2004 for vtkExtensions by doxygen 1.3.7