VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)