Panda3D
 All Classes Functions Variables Enumerations
dxfLayerMap.h
00001 // Filename: dxfLayerMap.h
00002 // Created by:  drose (04May04)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 #ifndef DXFLAYERMAP_H
00016 #define DXFLAYERMAP_H
00017 
00018 #include "pandatoolbase.h"
00019 #include "pmap.h"
00020 
00021 class DXFLayer;
00022 class DXFFile;
00023 
00024 ////////////////////////////////////////////////////////////////////
00025 //       Class : DXFLayerMap
00026 // Description : A map of string (layer name) to DXFLayer: that is,
00027 //               the layers of a file ordered by name.  This is used
00028 //               as a lookup within DXFFile to locate the layer
00029 //               associated with a particular entity.
00030 ////////////////////////////////////////////////////////////////////
00031 class DXFLayerMap : public pmap<string, DXFLayer *> {
00032 public:
00033   DXFLayer *get_layer(const string &name, DXFFile *dxffile);
00034 };
00035 
00036 #endif
 All Classes Functions Variables Enumerations