ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
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]

Public Types

typedef vtkSMDeserializer Superclass
 
- Public Types inherited from vtkSMDeserializer
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
- Public Member Functions inherited from vtkSMDeserializer
void PrintSelf (ostream &os, vtkIndent indent)
 
void SetSession (vtkSMSession *session)
 Convenience method for setting the SessionProxyManager. More...
 
vtkSMSessionGetSession ()
 Provides access to the session. More...
 
vtkSMSessionProxyManagerGetSessionProxyManager ()
 Get/Set the proxy manager on which this deserializer is expected to operate. More...
 
void SetSessionProxyManager (vtkSMSessionProxyManager *)
 Get/Set the proxy manager on which this deserializer is expected to operate. More...
 

Static Public Member Functions

static vtkSMDeserializerXMLNew ()
 
static int IsTypeOf (const char *type)
 
static vtkSMDeserializerXMLSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkSMDeserializer
static int IsTypeOf (const char *type)
 
static vtkSMDeserializerSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkSMDeserializerXML ()
 
 ~vtkSMDeserializerXML ()
 
virtual vtkSMProxyNewProxy (vtkTypeUInt32 id, vtkSMProxyLocator *locator)
 Create a new proxy with the id if possible. More...
 
virtual vtkPVXMLElementLocateProxyElement (vtkTypeUInt32 id)
 Locate the XML for the proxy with the given id. More...
 
virtual int LoadProxyState (vtkPVXMLElement *element, vtkSMProxy *, vtkSMProxyLocator *locator)
 TEMPORARY. More...
 
virtual vtkSMProxyCreateProxy (const char *xmlgroup, const char *xmlname, const char *subProxyName=NULL)
 Create a new proxy of the given group and name. More...
 
virtual void CreatedNewProxy (vtkTypeUInt32 id, vtkSMProxy *proxy)
 Called after a new proxy has been created. More...
 
- Protected Member Functions inherited from vtkSMDeserializer
 vtkSMDeserializer ()
 
 ~vtkSMDeserializer ()
 

Friends

class vtkSMProxyLocator
 

Additional Inherited Members

- Protected Attributes inherited from vtkSMDeserializer
vtkWeakPointer< vtkSMSessionProxyManagerSessionProxyManager
 

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 34 of file vtkSMDeserializerXML.h.

Member Typedef Documentation

§ Superclass

Definition at line 38 of file vtkSMDeserializerXML.h.

Constructor & Destructor Documentation

§ vtkSMDeserializerXML()

vtkSMDeserializerXML::vtkSMDeserializerXML ( )
protected

§ ~vtkSMDeserializerXML()

vtkSMDeserializerXML::~vtkSMDeserializerXML ( )
protected

Member Function Documentation

§ New()

static vtkSMDeserializerXML* vtkSMDeserializerXML::New ( )
static

§ GetClassName()

virtual const char* vtkSMDeserializerXML::GetClassName ( )
virtual

§ IsTypeOf()

static int vtkSMDeserializerXML::IsTypeOf ( const char *  type)
static

§ IsA()

virtual int vtkSMDeserializerXML::IsA ( const char *  type)
virtual

§ SafeDownCast()

static vtkSMDeserializerXML* vtkSMDeserializerXML::SafeDownCast ( vtkObject *  o)
static

§ PrintSelf()

void vtkSMDeserializerXML::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

§ NewProxy()

virtual vtkSMProxy* vtkSMDeserializerXML::NewProxy ( vtkTypeUInt32  id,
vtkSMProxyLocator locator 
)
protectedvirtual

Create a new proxy with the id if possible.

Implements vtkSMDeserializer.

Reimplemented in vtkSMInsituStateLoader.

§ LocateProxyElement()

virtual vtkPVXMLElement* vtkSMDeserializerXML::LocateProxyElement ( vtkTypeUInt32  id)
protectedvirtual

Locate the XML for the proxy with the given id.

Reimplemented in vtkSMStateLoader, vtkSMDeserializerXMLCache, and vtkSMCompoundProxyDefinitionLoader.

§ LoadProxyState()

virtual int vtkSMDeserializerXML::LoadProxyState ( vtkPVXMLElement element,
vtkSMProxy ,
vtkSMProxyLocator locator 
)
protectedvirtual

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.

§ CreateProxy()

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

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.

§ CreatedNewProxy()

virtual void vtkSMDeserializerXML::CreatedNewProxy ( vtkTypeUInt32  id,
vtkSMProxy proxy 
)
protectedvirtual

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

§ vtkSMProxyLocator

friend class vtkSMProxyLocator
friend

Definition at line 46 of file vtkSMDeserializerXML.h.


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