XamlLayer.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 #if !defined XAML_LAYER_HEADER
00019 #define XAML_LAYER_HEADER
00020 
00024 
00025 #include "XAML/XamlCore.h"
00026 
00027 #include "whiptk/layer.h"
00028 
00029 
00034 
00035 
00038 class XAMLTK_API WT_XAML_Layer : public WT_Layer
00039 {
00040         friend class WT_XAML_Class_Factory;
00041         friend class WT_XAML_Rendition;
00042 
00043 protected:
00044 
00046 
00047     WT_XAML_Layer()
00048         : WT_Layer()        
00049     { }
00050 
00052     WT_XAML_Layer(
00053         WT_File &file, 
00054         WT_Integer32 layer_num, 
00055         char const * layer_name=NULL 
00056         )
00057                 : WT_Layer(file,layer_num,layer_name)
00058         {}
00059 
00061     WT_XAML_Layer(
00062         WT_File &file, 
00063         WT_Integer32 layer_num, 
00064         WT_Unsigned_Integer16 const * layer_name 
00065         )
00066                 : WT_Layer(file,layer_num,layer_name)
00067         {}
00069     WT_XAML_Layer (WT_XAML_Layer const & layer)
00070                 : WT_Layer(static_cast<WT_Layer const &>(layer))
00071         {}
00072 
00073         virtual ~WT_XAML_Layer()
00074         {}
00076 public:
00077 
00079     WT_XAML_Layer const & operator=(WT_XAML_Layer const & layer)
00080         {
00081                 WT_Layer::operator = (layer);
00082                 return *this;
00083         }
00084 
00086     WT_Result        serialize (WT_File & file) const;
00088         WT_Result                parseAttributeList(XamlXML::tAttributeMap& rMap, WT_XAML_File& rFile);
00089 
00090 };
00092 
00093 #endif //XAML_LAYER_HEADER

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