VR-Forces 5.0.1 Developer's Guide
 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 
9 
10 #pragma once
11 #include <vrvCore/vrvCore.h>
12 #include <vrvCore/DtUniqueID.h>
14 
15 namespace makVrv
16 {
21  {
22  public:
23  typedef std::vector<DtElementID> ElementIDVector;
24 
25  public:
28 
31 
33 
34  void setFlags(int flags);
35  int flags() const;
36 
37  void addChild(DtElementID id);
38 
39  void removeChild(DtElementID id);
40 
41  const ElementIDVector& children() const;
42 
43  void setParentId(DtElementID id);
44  DtElementID parentId() const;
45 
46  protected:
49  int myFlags;
50  };
51 
53 
57 #ifndef _WIN32
60 #endif
61 
67  {
68  public:
70  {
71  Expand = 1,
72  Collapse = 2,
73  ExpandAll = 3,
74  CollapseAll = 4
75  };
76  };
77 
78  typedef DtUniqueElementAttribute<int,
81 #ifndef _WIN32
82  template class DtUniqueElementAttribute<int,
84 #endif
85 }
ElementIDVector myChildren
Definition: DtElementIDHierarchyState.h:48
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:20
int myFlags
Definition: DtElementIDHierarchyState.h:49
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtUniqueElementAttribute< int, DtElementAttributes::ElementIDHierarchyDisplayStateAttribute > DtElementIDHierarchyDisplayStateAttribute
Definition: DtElementIDHierarchyState.h:80
DtElementID myParentId
Definition: DtElementIDHierarchyState.h:47
Contains makVrv::DtElementAttributes class.
Contains makVrv::DtUniqueID type.
DtUniqueElementAttribute< DtElementIDHierarchyState, DtElementAttributes::ElementIDHierarchyStateAttribute > DtElementIDHierarchyStateAttribute
Definition: DtElementIDHierarchyState.h:56
Definition: DtUniqueElementAttribute.h:81
DisplayState
Definition: DtElementIDHierarchyState.h:69
std::vector< DtElementID > ElementIDVector
Definition: DtElementIDHierarchyState.h:23
Used for signalling what the new display state should be. Note that ExpandAll and CollapseAll will be...
Definition: DtElementIDHierarchyState.h:66
AddTypeId(makVrv::DtUniqueID, 20)
Contains DLL export macros.

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)