ParaView
|
deserializes proxies from their XML states. More...
#include <vtkSMDeserializerXML.h>
Public Types | |
typedef vtkSMDeserializer | Superclass |
![]() | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetSession (vtkSMSession *session) |
Convenience method for setting the SessionProxyManager. More... | |
vtkSMSession * | GetSession () |
Provides access to the session. More... | |
vtkSMSessionProxyManager * | GetSessionProxyManager () |
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 vtkSMDeserializerXML * | New () |
static int | IsTypeOf (const char *type) |
static vtkSMDeserializerXML * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkSMDeserializer * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkSMDeserializerXML () | |
~vtkSMDeserializerXML () | |
virtual vtkSMProxy * | NewProxy (vtkTypeUInt32 id, vtkSMProxyLocator *locator) |
Create a new proxy with the id if possible. More... | |
virtual vtkPVXMLElement * | LocateProxyElement (vtkTypeUInt32 id) |
Locate the XML for the proxy with the given id. More... | |
virtual int | LoadProxyState (vtkPVXMLElement *element, vtkSMProxy *, vtkSMProxyLocator *locator) |
TEMPORARY. More... | |
virtual vtkSMProxy * | CreateProxy (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... | |
![]() | |
vtkSMDeserializer () | |
~vtkSMDeserializer () | |
Friends | |
class | vtkSMProxyLocator |
Additional Inherited Members | |
![]() | |
vtkWeakPointer< vtkSMSessionProxyManager > | SessionProxyManager |
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.
Definition at line 38 of file vtkSMDeserializerXML.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkSMDeserializer.
Reimplemented in vtkSMStateLoader, vtkSMCompoundProxyDefinitionLoader, vtkSMDeserializerXMLCache, and vtkSMInsituStateLoader.
|
static |
|
virtual |
Reimplemented from vtkSMDeserializer.
Reimplemented in vtkSMStateLoader, vtkSMCompoundProxyDefinitionLoader, vtkSMDeserializerXMLCache, and vtkSMInsituStateLoader.
|
static |
void vtkSMDeserializerXML::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
protectedvirtual |
Create a new proxy with the id
if possible.
Implements vtkSMDeserializer.
Reimplemented in vtkSMInsituStateLoader.
|
protectedvirtual |
Locate the XML for the proxy with the given id.
Reimplemented in vtkSMStateLoader, vtkSMDeserializerXMLCache, and vtkSMCompoundProxyDefinitionLoader.
|
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.
|
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.
|
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.
|
friend |
Definition at line 46 of file vtkSMDeserializerXML.h.