CARMA C++
Version.h
1 #ifndef CARMA_UI_RTD_VERSION_H
2 #define CARMA_UI_RTD_VERSION_H
3 
13 #include <string>
14 
15 namespace carma {
16 namespace ui {
17 namespace rtd {
18 
25 class Version {
26 public:
30  explicit Version( const std::string & file );
31  // destructor
32  virtual ~Version( );
33 
37  const char * getServerVersion() const;
38 
42  const char * getLatestClientVersion() const;
43 
44 private:
45  std::string server_;
46  std::string client_;
47 };
48 
49 }}} // End namespace carma::ui::rtd
50 
51 #endif // CARMA_UI_RTD_VERSION_H
const char * getLatestClientVersion() const
const char * getServerVersion() const
Version(const std::string &file)
Class to read and contain versioning info for C++ server and Java client RTD programs.
Definition: Version.h:25