delineate.h

Go to the documentation of this file.
00001 //  Copyright (c) 1996-2006 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 
00019 
00020 #if !defined DELINEATE_HEADER
00021 #define DELINEATE_HEADER
00022 
00026 
00027 #include "whiptk/whipcore.h"
00028 #include "whiptk/attribute.h"
00029 
00030 
00031 
00032 class WHIPTK_API WT_Delineate : public WT_Attribute
00033 {
00034         friend class WT_Rendition;
00035         friend class WT_W2D_Class_Factory;
00036         friend class WT_Opcode;
00037         friend class WT_Fill;
00038 
00039 public:
00040     WT_Delineate();
00041     WT_Delineate(WT_Boolean delineate_state);    
00043         WT_Delineate(WT_Delineate const& delineate)
00044         {
00045                 *this = delineate;
00046         }
00047     virtual ~WT_Delineate();
00048 
00049 public:
00050 
00052     inline const WT_Boolean& delineate() const { return m_delineate; }
00053     inline WT_Boolean&       delineate()       { return m_delineate; }
00055     inline WT_Delineate const & operator=(WT_Boolean const & fill_state) { m_delineate = fill_state; return *this; }
00056     
00058     WT_ID            object_id() const;
00059     WT_Result        materialize(WT_Opcode const & opcode, WT_File & file);
00060     WT_Result        process(WT_File & file);
00061     WT_Result        skip_operand(WT_Opcode const & opcode, WT_File & file);
00062     WT_Result        serialize (WT_File & file) const;
00063     WT_Result        sync (WT_File & file) const;
00064     WT_Boolean       operator== (WT_Attribute const & attrib) const;
00066 
00068 
00070     static WT_Result default_process(
00071         WT_Delineate & item, 
00072         WT_File & file 
00073         );
00074 private:
00075     WT_Boolean m_delineate;
00076 
00077 };
00078 
00079 #endif // DELINEATE_HEADER
00080 // End of file.

Generated on Tue Jan 6 22:41:12 2009 for Autodesk DWF Whip 2D Toolkit by  doxygen 1.4.5