VR-Forces 4.2 Class Documentation
DtElementAttributeUtilityFunctions.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtElementAttributeUtilityFunctions.h,v $ $Revision: 1.3 $ $State: Exp $
7 ******************************************************************************/
8 
11 
14 
15 #pragma once
16 
17 #include <vrfGuiCore/vrfGuiCore.h>
18 #include <vrvCore/DtUniqueID.h>
19 #include <vrvCore/DtElementIDHierarchyState.h>
21 #include <vrvCore/DtElementAttributes.h>
22 
23 namespace makVrv
24 {
25  class DtDe;
26 }
27 
28 namespace makVrf
29 {
31  const makVrv::DtElementAttributes::AttributeIds AttributeShowWithContext =
32  (makVrv::DtElementAttributes::AttributeIds)(makVrv::DtElementAttributes::UserStart - 10);
33  const makVrv::DtElementAttributes::AttributeIds AttributeHideWithContext =
34  (makVrv::DtElementAttributes::AttributeIds)(makVrv::DtElementAttributes::UserStart - 9);
35 
36  typedef makVrv::DtUniqueElementAttribute<unsigned int, AttributeShowWithContext>
38 
39  typedef makVrv::DtUniqueElementAttribute<unsigned int, AttributeHideWithContext>
41 
43  {
44  public:
45  static const makVrv::DtElementIDHierarchyStateAttribute* echelonHierarchyState(makVrv::DtDe& de, makVrv::DtElementID id);
46  static const makVrv::DtElementIDHierarchyDisplayStateAttribute* displayState(makVrv::DtDe& de, makVrv::DtElementID id);
47 
49  static bool isEchelonChild(makVrv::DtDe& de, makVrv::DtElementID parent, makVrv::DtElementID child, bool recurse = false);
50 
51  static const DtEmbarkationHierarchyStateAttribute* embarkationHierarchyState(makVrv::DtDe& de, makVrv::DtElementID id);
52 
54  static bool isEmbarkationChild(makVrv::DtDe& de, makVrv::DtElementID parent, makVrv::DtElementID child, bool recurse = false);
55  };
56 }

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)