XamlObject_Node.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 
00022 
00023 #if !defined XAML_OBJECT_NODE_HEADER
00024 #define XAML_OBJECT_NODE_HEADER
00025 
00026 #include "XAML/XamlCore.h"
00027 
00028 #include "whiptk/object_node.h"
00029 #include "XAML/XamlXML.h"
00030 
00035 class XAMLTK_API WT_XAML_Object_Node : public WT_Object_Node
00036 {       
00037         friend class WT_XAML_Class_Factory;
00038         friend class WT_XAML_Rendition;
00039         
00040 protected:
00041 
00043     WT_XAML_Object_Node()
00044         : WT_Object_Node( )
00045     { }
00046 
00048     WT_XAML_Object_Node(
00049         WT_File &file, 
00050         WT_Integer32 object_node_num,  
00051         char const * object_node_name=NULL 
00052         )
00053                 : WT_Object_Node(file,object_node_num,object_node_name)
00054         {}
00056     WT_XAML_Object_Node(
00057         WT_File &file, 
00058         WT_Integer32 object_node_num,  
00059         WT_Unsigned_Integer16 const * object_node_name 
00060         )
00061                 : WT_Object_Node(file,object_node_num,object_node_name)
00062         {}
00063 
00065     WT_XAML_Object_Node (WT_XAML_Object_Node const & object_node)
00066                 : WT_Object_Node(static_cast<WT_Object_Node const &>(object_node))
00067         {}
00068 
00069     WT_XAML_Object_Node (WT_Object_Node const & object_node)
00070                 : WT_Object_Node(object_node)
00071         {}
00072 
00073         virtual ~WT_XAML_Object_Node()
00074         {}
00075 public:
00076 
00078     WT_XAML_Object_Node const & operator=(WT_XAML_Object_Node const & object_node)
00079         {
00080                 WT_Object_Node::operator = (object_node);
00081                 return *this;
00082         }
00083 
00085     WT_Result        serialize (WT_File & /*file*/) const;
00087         WT_Result                parseAttributeList(XamlXML::tAttributeMap& rMap, WT_XAML_File& rFile);
00089 };
00091 
00092 #endif //XAML_OBJECT_NODE_HEADER

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