VR-Link API Documentation for DIS
genAttrNode.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *******************************************************************************/
00007 #pragma once
00008 
00009 #include "omtNode.h"
00010 
00011 #include <vlutil/vlString.h>
00012 #include <map>
00013 
00014 
00020 class DT_DLL_OMTREADER DtGenAttrNode : public DtOMTNode
00021 {
00022 public:
00023    
00025    DtGenAttrNode();
00026    
00028    virtual ~DtGenAttrNode();
00029 
00030    virtual void addAttribute(const DtString& name, const DtString& attr);
00031    virtual const DtString& getAttribute(const DtString& name);
00032    virtual std::map<DtString, DtString>::iterator getAttributes();
00033 
00034 private:
00035    
00037    DtGenAttrNode(const DtGenAttrNode& orig);
00038    
00040    DtGenAttrNode& operator=(const DtGenAttrNode& rhs);
00041    
00042 protected:
00043     std::map<DtString, DtString> myAttrMap;
00044 
00045 };
00046 
00047 

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)