WT_SignData Class Reference
[Support objects]

#include <signdata.h>

Inheritance diagram for WT_SignData:

Inheritance graph
[legend]
Collaboration diagram for WT_SignData:

Collaboration graph
[legend]
List of all members.

Detailed Description

Holds raw digital signature data related to a collection of BlockRefs.

Deprecated:
The low-level specification of digital signature for the WHIP! format was never completed and it was decided that digital signature information is better served in the DWF package format rather than in the 2D channel file. Further, the WT_SignData opcode related specifically to a collection of WT_BlockRef objects, which have also been has been deprecated. This remains in the toolkit only for backward compatability with DWF version 00.55.

Definition at line 45 of file signdata.h.

Public Member Functions

 WT_SignData ()
 WT_SignData (WT_Guid_List block_guid_list)
 WT_SignData (const WT_SignData &signdata) throw (WT_Result)
virtual ~WT_SignData ()
WT_Integer32 data_size () const
WT_Byte const * data () const
WT_Guid_List const block_guid_list () const
WT_SignData const & operator= (WT_SignData const &signdata) throw (WT_Result)
WT_ID object_id () const
 Returns the WT_ID for this object.
WT_Type object_type () const
 Returns the WT_Type for this object.
WT_Result materialize (WT_Opcode const &opcode, WT_File &file)
 Materializes the contents of the object from the file and the given opcode.
WT_Result process (WT_File &file)
 Calls the configured action handler for this object (passes in the file reference.).
WT_Result serialize (WT_File &file) const
 Causes the serialization of the object to the file.
WT_Result skip_operand (WT_Opcode const &opcode, WT_File &file)
 Causes the file reading to proceed to the end of this object.


Member Function Documentation

WT_Result WT_SignData::materialize WT_Opcode const &  opcode,
WT_File file
[virtual]
 

Materializes the contents of the object from the file and the given opcode.

Reads in the object data and causes the file reading to proceed to the end of this object.

Warning:
This is used by the framework and should not be called by client code.
Return values:
WT_Result::Success The operation was successful.
WT_Result::Opcode_Not_Valid_For_This_Object The object does not support the opcode type.
WT_Result::Internal_Error Something went very wrong.

Implements WT_Object.

WT_Result WT_SignData::process WT_File file  )  [virtual]
 

Calls the configured action handler for this object (passes in the file reference.).

Warning:
This is used by the framework and should not be called by client code.

Implements WT_Object.

WT_Result WT_SignData::serialize WT_File file  )  const [virtual]
 

Causes the serialization of the object to the file.

If this is a WT_Drawable derived object, this method may cause the object to be delayed (in case a coincident like-object follows) and/or merged (in case a coincident like-object preceeded) so as to optimize the output.

Return values:
WT_Result::Success The operation was successful.

Implements WT_Object.

WT_Result WT_SignData::skip_operand WT_Opcode const &  opcode,
WT_File file
[virtual]
 

Causes the file reading to proceed to the end of this object.

Warning:
This is used by the framework and should not be called by client code.
Bug:
Not all objects perform skip_operand() correctly; this is a known problem. For best results, if client code must use WT_File::get_next_object_shell() manually, it should also call the corresponding WT_Object::materialize() method to avoid this problem.
See also:
WT_File::get_next_object_shell(), WT_File_Heuristics::set_deferred_delete().

Reimplemented from WT_Object.


The documentation for this class was generated from the following file:
Generated on Tue Jan 6 22:41:25 2009 for Autodesk DWF Whip 2D Toolkit by  doxygen 1.4.5