VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtElementIDHierarchyState.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtElementIDHierarchyAttributes.h,v $ $Revision: 1.2 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvCore/vrvCore.h>
15 #include <vrvCore/DtUniqueID.h>
17 
18 namespace makVrv
19 {
24  {
25  public:
26  typedef std::vector<DtElementID> ElementIDVector;
27 
28  public:
31 
34 
36 
37  void setFlags(int flags);
38  int flags() const;
39 
40  void addChild(DtElementID id);
41 
42  void removeChild(DtElementID id);
43 
44  const ElementIDVector& children() const;
45 
46  void setParentId(DtElementID id);
47  DtElementID parentId() const;
48 
49  protected:
52  int myFlags;
53  };
54 
56 
60 #ifndef _WIN32
63 #endif
64 
70  {
71  public:
73  {
74  Expand = 1,
75  Collapse = 2,
76  ExpandAll = 3,
77  CollapseAll = 4
78  };
79  };
80 
81  typedef DtUniqueElementAttribute<int,
84 #ifndef _WIN32
85  template class DtUniqueElementAttribute<int,
87 #endif
88 }
ElementIDVector myChildren
Definition: DtElementIDHierarchyState.h:51
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque
The DtElementIDHierarchyState class contains information about the element and its place in the eleme...
Definition: DtElementIDHierarchyState.h:23
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:26
int myFlags
Definition: DtElementIDHierarchyState.h:52
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtUniqueElementAttribute< int, DtElementAttributes::ElementIDHierarchyDisplayStateAttribute > DtElementIDHierarchyDisplayStateAttribute
Definition: DtElementIDHierarchyState.h:83
DtElementID myParentId
Definition: DtElementIDHierarchyState.h:50
Contains makVrv::DtElementAttributes class.
Contains makVrv::DtUniqueID type.
DtUniqueElementAttribute< DtElementIDHierarchyState, DtElementAttributes::ElementIDHierarchyStateAttribute > DtElementIDHierarchyStateAttribute
Definition: DtElementIDHierarchyState.h:59
Definition: DtUniqueElementAttribute.h:75
DisplayState
Definition: DtElementIDHierarchyState.h:72
std::vector< DtElementID > ElementIDVector
Definition: DtElementIDHierarchyState.h:26
Used for signalling what the new display state should be.
Definition: DtElementIDHierarchyState.h:69
AddTypeId(makVrv::DtUniqueID, 20)
Contains DLL export macros.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)