VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtOsgEarthServerDescriptor Class Reference

An server is an entry for osgEarth. More...

List of all members.

Public Member Functions

 DtOsgEarthServerDescriptor ()
virtual const std::string & mapName ()
 Returns the name of this server.
virtual const std::string & imageName ()
 Returns the name of this server.
virtual const std::string & fileName ()
 Returns the filename of this server.
virtual const std::string & path ()
 Returns the filename of this server.
virtual const std::string & description ()
 Returns the description of this server.
virtual const std::string & sysref ()
 Returns the reference system of this server.
virtual const std::string & fileContents ()
 Returns the reference system of this server.
virtual bool updateFile (const std::string &content)
 Change the content of the file and save it.
virtual bool renameFile (const std::string &newName)
 Change the the file's name.
virtual bool deleteFile ()
 Delete the the file.
virtual bool saveAs (const std::string &path, const std::string &filename)
 save the file with a different name.
virtual bool initFromFile (const std::string &path, const std::string &fn)
 initialize the descriptor with the file specified

Protected Member Functions

virtual void cleanUp ()

Protected Attributes

std::string myImageName
std::string myMapName
std::string myPath
std::string myFilename
std::string myDescription
std::string myContent
std::string mySysRef

Detailed Description

An server is an entry for osgEarth.


Constructor & Destructor Documentation


Member Function Documentation

virtual const std::string& makVrv::DtOsgEarthServerDescriptor::mapName ( ) [virtual]

Returns the name of this server.

virtual const std::string& makVrv::DtOsgEarthServerDescriptor::imageName ( ) [virtual]

Returns the name of this server.

virtual const std::string& makVrv::DtOsgEarthServerDescriptor::fileName ( ) [virtual]

Returns the filename of this server.

virtual const std::string& makVrv::DtOsgEarthServerDescriptor::path ( ) [virtual]

Returns the filename of this server.

virtual const std::string& makVrv::DtOsgEarthServerDescriptor::description ( ) [virtual]

Returns the description of this server.

virtual const std::string& makVrv::DtOsgEarthServerDescriptor::sysref ( ) [virtual]

Returns the reference system of this server.

virtual const std::string& makVrv::DtOsgEarthServerDescriptor::fileContents ( ) [virtual]

Returns the reference system of this server.

virtual bool makVrv::DtOsgEarthServerDescriptor::updateFile ( const std::string &  content) [virtual]

Change the content of the file and save it.

reparse the file with the init function.

virtual bool makVrv::DtOsgEarthServerDescriptor::renameFile ( const std::string &  newName) [virtual]

Change the the file's name.

Delete the the file.

virtual bool makVrv::DtOsgEarthServerDescriptor::saveAs ( const std::string &  path,
const std::string &  filename 
) [virtual]

save the file with a different name.

virtual bool makVrv::DtOsgEarthServerDescriptor::initFromFile ( const std::string &  path,
const std::string &  fn 
) [virtual]

initialize the descriptor with the file specified

virtual void makVrv::DtOsgEarthServerDescriptor::cleanUp ( ) [protected, virtual]

Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)