VR-Forces 4.2 Class Documentation
DtOsgEarthServerDescriptor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtOsgEarthServerDescriptor.h,v $ $Revision: 1.4 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
16 #include <string>
17 
18 namespace vrvTerrainImplementation
19 {
20 
24  {
25 
26  public:
27 
29 
31  virtual const std::string& mapName();
32 
34  virtual const std::string& imageName();
35 
37  virtual const std::string& fileName();
38 
40  virtual const std::string& path();
41 
43  virtual const std::string& description();
44 
46  virtual const std::string& sysref();
47 
49  virtual const std::string& fileContents();
50 
53  virtual bool updateFile(const std::string &content);
54 
56  virtual bool renameFile(const std::string &newName);
57 
59  virtual bool deleteFile();
60 
62  virtual bool saveAs(const std::string& path, const std::string& filename);
63 
65  virtual bool initFromFile(const std::string& path, const std::string& fn);
66 
67  protected:
68 
69  virtual void cleanUp();
70 
71  protected:
72 
73  std::string myImageName;
74  std::string myMapName;
75  std::string myPath;
76  std::string myFilename;
77  std::string myDescription;
78  std::string myContent;
79  std::string mySysRef;
80  };
81 }

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)