dpat_list.h

Go to the documentation of this file.
00001 //
00002 //  Copyright (c) 1996-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 DPAT_LIST_HEADER
00020 #define DPAT_LIST_HEADER
00021 
00025 
00026 #include "whiptk/whipcore.h"
00027 #include "whiptk/list.h"
00028 #include "whiptk/dashpat.h"
00029 
00031 class WHIPTK_API WT_Dash_Pattern_List
00032 : public WT_Item_List
00033 {
00034         friend class WT_File;
00035         friend class WT_W2D_Class_Factory;
00036 
00037 protected:
00038 
00039         WT_Dash_Pattern_List()
00040                 :WT_Item_List()
00041         {}
00042 
00043         WT_Dash_Pattern_List(WT_Dash_Pattern* pPat)
00044                 :WT_Item_List(pPat)
00045         {}
00046 
00048     virtual ~WT_Dash_Pattern_List()
00049     {
00050         remove_all();
00051     }
00052 public:
00054     WT_Dash_Pattern* add_pattern( WT_Dash_Pattern const & r );
00055 
00057     WT_Dash_Pattern* find_pattern( WT_Integer32 id_number );
00058 
00059 
00060 };
00061 
00062 #endif // DPAT_LIST_HEADER

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