VR-Forces 4.0.4 Class Documentation
include/vmap/vmapSpecNode.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2006 MAK Technologies, Inc.
00003 ** All rights reserved.     
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 * $RCSfile: vmapSpecNode.h,v $ $Revision: 1.2 $ $State: Exp $
00007 *******************************************************************************/
00008 
00009 #ifndef vpfSpecNode_H_
00010 #define vpfSpecNode_H_
00011 
00012 #include <vlutil/vlString.h>
00013 
00014 #include <vector>
00015 #include <list>
00016 
00017 class DtSpecification;
00018 
00019 typedef std::vector<DtString> DtVpfEnumeration;
00020 
00021 class DtVpfSpecNode
00022 {
00023 public:
00024    DtVpfSpecNode(DtString name);
00025    virtual ~DtVpfSpecNode();
00026 
00027    virtual DtSpecification* spec();
00028    virtual void setSpec(DtSpecification* s);
00029 
00030    virtual void addChild(DtVpfSpecNode* node);
00031    virtual DtVpfSpecNode* findChild(DtString name);
00032    
00033 protected:
00034    DtString myName;
00035    DtSpecification* mySpec;
00036    DtVpfSpecNode* myParent;
00037    std::list<DtVpfSpecNode*> myChildren;
00038 };
00039 
00040 #endif
00041 

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)