VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTerrainContentItemKey.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace makVrv
6 {
11  {
12  public:
13 
16 
21  DtTerrainContentItemKey(int type, int id, const DtTerrainContentItemKey& parentKey);
22 
27  DtTerrainContentItemKey(int type, const std::string& name, const DtTerrainContentItemKey& parentKey);
28 
34  DtTerrainContentItemKey(int type, const std::string& name, int parentType, int parentId);
35 
41  DtTerrainContentItemKey(int type, int id, int parentType, int parentId);
42 
44  void invalid();
45 
48  void setType(int type);
49 
52  void setId(int id);
53 
56  void setParentType(int type);
57 
60  void setParentId(int id);
61 
64  void setParentKey(const DtTerrainContentItemKey& parentKey);
65 
69  void setName(const std::string& name);
70 
73  const int type() const;
74 
77  const int id() const;
78 
81  const int parentType() const;
82 
85  const int parentId() const;
86 
89  std::string name() const;
90 
92  const bool useName() const;
93 
95  bool operator<(const DtTerrainContentItemKey&) const;
96 
98  bool operator==(const DtTerrainContentItemKey&) const;
99 
100  protected:
101  int myType;
102  int myId;
105  bool myUseName;
106  std::string myName;
107  };
108 }
int myId
Gets the type of the key.
Definition: DtTerrainContentItemKey.h:102
Contains DLL export macros.
int myParentId
Gets the type of the key.
Definition: DtTerrainContentItemKey.h:104
DtTerrainContentItemKey.
Definition: DtTerrainContentItemKey.h:10
std::string myName
Gets the type of the key.
Definition: DtTerrainContentItemKey.h:106
bool myUseName
Gets the type of the key.
Definition: DtTerrainContentItemKey.h:105
int myType
Gets the type of the key.
Definition: DtTerrainContentItemKey.h:101
int myParentType
Gets the type of the key.
Definition: DtTerrainContentItemKey.h:103
bool operator==(const DtTextureAtlasIndexParser::StringOrFloatAttrib &lhs, const DtTextureAtlasIndexParser::StringOrFloatAttrib &rhs)
needed for search comparison code
Definition: DtTextureAtlasIndexParser.h:160
#define DT_DLL_VRVTERRAINEDITOR
Definition: vrvTerrainEditor.h:25

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)