VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgEarthPropertyItemKey.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
13 
14 namespace makVrv
15 {
23  {
24  public:
25 
28 
33  DtOsgEarthPropertyItemKey(const char* type, const char* ParentType);
34 
40  DtOsgEarthPropertyItemKey(const char* type, int index, const char* parentType, int parentIndex);
41 
46  DtOsgEarthPropertyItemKey(const std::string& type, const std::string& parentType);
47 
51  DtOsgEarthPropertyItemKey(const std::string& type, int index);
52 
58  DtOsgEarthPropertyItemKey(const std::string& type, int index, const std::string& parentType, int parentIndex);
59 
61  void setParentType(const std::string& type);
62 
65  void setParentIndex(int index);
66 
69  void setType(const std::string& type);
70 
73  void setIndex(int index);
74 
76  void invalid();
77 
79  std::string parentType() const;
80 
82  int parentIndex() const;
83 
86  std::string type() const;
87 
90  int index() const;
91 
93  bool operator<(const DtOsgEarthPropertyItemKey&) const;
94 
96  bool operator==(const DtOsgEarthPropertyItemKey&) const;
97 
98  protected:
99  std::string myType;
100  int myIndex;
101  std::string myParentType;
103  };
104 }
105 
#define DT_DLL_VRVOSGEARTH
Definition: vrvOsgEarth.h:21
std::string myType
Definition: DtOsgEarthPropertyItemKey.h:99
DtOsgEarthPropertyItemKey Key of the osgEarth property item, represented by the type and index...
Definition: DtOsgEarthPropertyItemKey.h:22
bool operator==(const DtTextureAtlasIndexParser::StringOrFloatAttrib &lhs, const DtTextureAtlasIndexParser::StringOrFloatAttrib &rhs)
needed for search comparison code
Definition: DtTextureAtlasIndexParser.h:153
int myParentIndex
Definition: DtOsgEarthPropertyItemKey.h:102
std::string myParentType
Definition: DtOsgEarthPropertyItemKey.h:101
Contains DLL export macros.
int myIndex
Definition: DtOsgEarthPropertyItemKey.h:100

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)