Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages | Examples

guid_list.h

00001 //  Copyright (c) 2001 by Autodesk, Inc.
00002 //
00003 //  By using this code, you are agreeing to the terms and conditions of
00004 //  the License Agreement included in the documentation for this code.
00005 //
00006 //  AUTODESK MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE CORRECTNESS
00007 //  OF THIS CODE OR ANY DERIVATIVE WORKS WHICH INCORPORATE IT. AUTODESK
00008 //  PROVIDES THE CODE ON AN "AS-IS" BASIS AND EXPLICITLY DISCLAIMS ANY
00009 //  LIABILITY, INCLUDING CONSEQUENTIAL AND INCIDENTAL DAMAGES FOR ERRORS,
00010 //  OMISSIONS, AND OTHER PROBLEMS IN THE CODE.
00011 //
00012 //  Use, duplication, or disclosure by the U.S. Government is subject to
00013 //  restrictions set forth in FAR 52.227-19 (Commercial Computer Software
00014 //  Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) (Rights in Technical
00015 //  Data and Computer Software), as applicable.
00016 //
00017 
00018 #if !defined GUID_LIST_HEADER
00019 #define GUID_LIST_HEADER
00020 
00021 #include "whiptk/whipcore.h"
00022 #include "whiptk/attribute.h"
00023 
00025 
00027 class WHIPTK_API WT_Guid_List : public WT_Object, public WT_Item_List
00028 {
00029 private:
00030     enum
00031     {
00032         Starting,
00033         Getting_No_Of_Guids,
00034         Getting_Guid,
00035         Getting_Close,
00036         Eating_End_Whitespace
00037     }   m_stage;
00038 
00039 public:
00040 
00042     WT_Guid_List()
00043     { m_stage = Starting;}
00044 
00046     WT_Guid_List(const WT_Guid_List & list)
00047         : WT_Object()
00048         , WT_Item_List() {
00049         m_stage = Starting;
00050         *this = list;
00051     }
00052 
00054     ~WT_Guid_List();
00055 
00057 
00058     void add (WT_Guid &item);
00060     WT_Unsigned_Integer16    get_total_opcode_binary_size();
00062     WT_Guid_List const & operator=(WT_Guid_List const & list);
00064 
00066     WT_Result materialize (WT_Opcode const & opcode, WT_File & file);
00067     WT_ID     object_id() const;
00068     WT_Type   object_type() const;
00069     WT_Result process(WT_File & file);
00070     WT_Result serialize(WT_File & file) const;
00071     WT_Result skip_operand (WT_Opcode const & opcode, WT_File & file);
00073 
00075     WT_Boolean operator== (WT_Guid_List const & list) const;
00076 
00078 
00080     static WT_Result default_process(
00081         WT_Guid_List & item, 
00082         WT_File & file 
00083         );
00084 };
00085 
00086 #endif // GUID_LIST_HEADER

Generated on Tue May 17 12:07:44 2005 for Autodesk DWF Whip 2D Toolkit by  doxygen 1.4.1