VTK
|
Key for vtkDataObject values. More...
#include <vtkInformationDataObjectKey.h>
Public Types | |
typedef vtkInformationKey | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkInformationDataObjectKey * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkInformationDataObjectKey (const char *name, const char *location) | |
~vtkInformationDataObjectKey () | |
virtual void | ShallowCopy (vtkInformation *from, vtkInformation *to) |
virtual void | Report (vtkInformation *info, vtkGarbageCollector *collector) |
void | Set (vtkInformation *info, vtkDataObject *) |
vtkDataObject * | Get (vtkInformation *info) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkInformationDataObjectKey * | SafeDownCast (vtkObjectBase *o) |
static vtkInformationDataObjectKey * | MakeKey (const char *name, const char *location) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
Key for vtkDataObject values.
vtkInformationDataObjectKey is used to represent keys in vtkInformation for values that are vtkDataObject instances.
Definition at line 32 of file vtkInformationDataObjectKey.h.
Reimplemented from vtkInformationKey.
Reimplemented in vtkInformationDataObjectMetaDataKey.
Definition at line 35 of file vtkInformationDataObjectKey.h.
vtkInformationDataObjectKey::vtkInformationDataObjectKey | ( | const char * | name, |
const char * | location | ||
) |
static int vtkInformationDataObjectKey::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkInformationKey.
Reimplemented in vtkInformationDataObjectMetaDataKey.
virtual int vtkInformationDataObjectKey::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkInformationKey.
Reimplemented in vtkInformationDataObjectMetaDataKey.
static vtkInformationDataObjectKey* vtkInformationDataObjectKey::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkInformationKey.
Reimplemented in vtkInformationDataObjectMetaDataKey.
virtual vtkObjectBase* vtkInformationDataObjectKey::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkInformationKey.
Reimplemented in vtkInformationDataObjectMetaDataKey.
Reimplemented from vtkInformationKey.
Reimplemented in vtkInformationDataObjectMetaDataKey.
void vtkInformationDataObjectKey::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkInformationKey.
Reimplemented in vtkInformationDataObjectMetaDataKey.
static vtkInformationDataObjectKey* vtkInformationDataObjectKey::MakeKey | ( | const char * | name, |
const char * | location | ||
) | [inline, static] |
This method simply returns a new vtkInformationDataObjectKey, given a name and a location. This method is provided for wrappers. Use the constructor directly from C++ instead.
Reimplemented in vtkInformationDataObjectMetaDataKey.
Definition at line 45 of file vtkInformationDataObjectKey.h.
void vtkInformationDataObjectKey::Set | ( | vtkInformation * | info, |
vtkDataObject * | |||
) |
Get/Set the value associated with this key in the given information object.
Get/Set the value associated with this key in the given information object.
virtual void vtkInformationDataObjectKey::ShallowCopy | ( | vtkInformation * | from, |
vtkInformation * | to | ||
) | [virtual] |
Copy the entry associated with this key from one information object to another. If there is no entry in the first information object for this key, the value is removed from the second.
Implements vtkInformationKey.
virtual void vtkInformationDataObjectKey::Report | ( | vtkInformation * | info, |
vtkGarbageCollector * | collector | ||
) | [virtual] |
Report a reference this key has in the given information object.
Reimplemented from vtkInformationKey.