XamlView.h

Go to the documentation of this file.
00001 //
00002 //  Copyright (c) 2006 by Autodesk, Inc.
00003 //
00004 //  By using this code, you are agreeing to the terms and conditions of
00005 //  the License Agreement included in the documentation for this code.
00006 //
00007 //  AUTODESK MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE CORRECTNESS
00008 //  OF THIS CODE OR ANY DERIVATIVE WORKS WHICH INCORPORATE IT. AUTODESK
00009 //  PROVIDES THE CODE ON AN "AS-IS" BASIS AND EXPLICITLY DISCLAIMS ANY
00010 //  LIABILITY, INCLUDING CONSEQUENTIAL AND INCIDENTAL DAMAGES FOR ERRORS,
00011 //  OMISSIONS, AND OTHER PROBLEMS IN THE CODE.
00012 //
00013 //  Use, duplication, or disclosure by the U.S. Government is subject to
00014 //  restrictions set forth in FAR 52.227-19 (Commercial Computer Software
00015 //  Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) (Rights in Technical
00016 //  Data and Computer Software), as applicable.
00017 //
00018 
00019 #if !defined XAML_VIEW_HEADER
00020 #define XAML_VIEW_HEADER
00021 
00025 
00026 #include "XAML/XamlCore.h"
00027 
00028 #include "whiptk/view.h"
00029 #include "XAML/XamlXML.h"
00030 
00031 
00036 
00037 
00041 class XAMLTK_API WT_XAML_View : public WT_View
00042 {
00043         friend class WT_XAML_Class_Factory;
00044 protected:
00045 
00047 
00048     WT_XAML_View()
00049         : WT_View (WD_False)
00050      { }
00051 
00053     WT_XAML_View(WT_Logical_Box view)
00054         : WT_View(view)
00055      { }
00056 
00058     WT_XAML_View(char * name)
00059         : WT_View (name)
00060         { }
00061 
00063     WT_XAML_View(WT_XAML_View const & view) // Copy
00064         : WT_View(static_cast<WT_View const &>(view))
00065         {}
00066 
00067         virtual ~WT_XAML_View()
00068         {}
00070 public:
00071 
00073         WT_XAML_View const & operator=(WT_XAML_View const & view)
00074         {
00075                 WT_View::operator = (view);
00076                 return *this;
00077         }
00078 
00080     WT_Result        serialize (WT_File & /*file*/) const;
00082         WT_Result                parseAttributeList(XamlXML::tAttributeMap& rMap, WT_XAML_File& rFile);
00084 };
00086 
00087 #endif //XAML_VIEW_HEADER

Generated on Tue Jan 6 22:40:06 2009 for Autodesk DWF Toolkit by  doxygen 1.4.5