VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtElementAttribute.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtElementAttribute.h,v $ $Revision: 1.2 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #pragma once
00014 
00015 #include <vrvCore/vrvCore.h>
00016 #include <vector>
00017 
00018 namespace makVrv
00019 {
00023    class DT_DLL_VRVCORE DtElementAttribute
00024    {
00025    public:
00026       DtElementAttribute(unsigned short attrId, unsigned short typeId);
00027       DtElementAttribute(const DtElementAttribute& copy);
00028       
00029       virtual ~DtElementAttribute();
00030 
00032       virtual DtElementAttribute* clone() const
00033       {
00034          return new DtElementAttribute(*this);
00035       }
00036 
00037       inline unsigned short attributeId() const 
00038       {
00039          return myAttributeId; 
00040       }
00041       
00042       inline unsigned short typeId() const 
00043       { 
00044          return myTypeId; 
00045       }
00046 
00047    private:      
00048       unsigned short myAttributeId;
00049       unsigned short myTypeId;
00050    };
00051 
00052  
00053 }
00054 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)