ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends
vtkSMDeserializerXML Class Reference

deserializes proxies from their XML states. More...

#include <vtkSMDeserializerXML.h>

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

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

static vtkSMDeserializerXMLNew ()
static int IsTypeOf (const char *type)
static vtkSMDeserializerXMLSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkSMDeserializerXML ()
 ~vtkSMDeserializerXML ()
virtual vtkSMProxyNewProxy (vtkTypeUInt32 id, vtkSMProxyLocator *locator)
virtual vtkPVXMLElementLocateProxyElement (vtkTypeUInt32 id)
virtual void CreatedNewProxy (vtkTypeUInt32 id, vtkSMProxy *proxy)
virtual int LoadProxyState (vtkPVXMLElement *element, vtkSMProxy *, vtkSMProxyLocator *locator)
virtual vtkSMProxyCreateProxy (const char *xmlgroup, const char *xmlname, const char *subProxyName=NULL)

Friends

class vtkSMProxyLocator

Detailed Description

deserializes proxies from their XML states.

vtkSMDeserializer is used to deserialize proxies from their XML states. This is the base class of deserialization classes that load XMLs to restore servermanager state (or part thereof).

Definition at line 32 of file vtkSMDeserializerXML.h.


Constructor & Destructor Documentation

vtkSMDeserializerXML::vtkSMDeserializerXML ( ) [protected]
vtkSMDeserializerXML::~vtkSMDeserializerXML ( ) [protected]

Member Function Documentation

static vtkSMDeserializerXML* vtkSMDeserializerXML::New ( ) [static]
virtual const char* vtkSMDeserializerXML::GetClassName ( ) [virtual]
static int vtkSMDeserializerXML::IsTypeOf ( const char *  type) [static]
virtual int vtkSMDeserializerXML::IsA ( const char *  type) [virtual]
static vtkSMDeserializerXML* vtkSMDeserializerXML::SafeDownCast ( vtkObject o) [static]
void vtkSMDeserializerXML::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]
virtual vtkSMProxy* vtkSMDeserializerXML::NewProxy ( vtkTypeUInt32  id,
vtkSMProxyLocator locator 
) [protected, virtual]

Create a new proxy with the id if possible.

Implements vtkSMDeserializer.

virtual vtkPVXMLElement* vtkSMDeserializerXML::LocateProxyElement ( vtkTypeUInt32  id) [protected, virtual]

Locate the XML for the proxy with the given id.

Reimplemented in vtkSMStateLoader, vtkSMDeserializerXMLCache, and vtkSMCompoundProxyDefinitionLoader.

virtual int vtkSMDeserializerXML::LoadProxyState ( vtkPVXMLElement element,
vtkSMProxy ,
vtkSMProxyLocator locator 
) [protected, virtual]

TEMPORARY. Used to load the state on the proxy. This is only for the sake of the lookmark state loader until we get the chance to clean it up. DONT override this method.

virtual vtkSMProxy* vtkSMDeserializerXML::CreateProxy ( const char *  xmlgroup,
const char *  xmlname,
const char *  subProxyName = NULL 
) [protected, virtual]

Create a new proxy of the given group and name. Default implementation simply asks the proxy manager to create a new proxy of the requested type.

Reimplemented from vtkSMDeserializer.

Reimplemented in vtkSMStateLoader.

virtual void vtkSMDeserializerXML::CreatedNewProxy ( vtkTypeUInt32  id,
vtkSMProxy proxy 
) [protected, virtual]

Called after a new proxy has been created. Gives the subclasses an opportunity to perform certain tasks such as registering proxies etc. Default implementation is empty.

Reimplemented in vtkSMStateLoader.


Friends And Related Function Documentation

friend class vtkSMProxyLocator [friend]

Reimplemented from vtkSMDeserializer.

Reimplemented in vtkSMDeserializerXMLCache.

Definition at line 45 of file vtkSMDeserializerXML.h.


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