header cleanup
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
/*
|
||||
* version.cpp
|
||||
*
|
||||
* Created on: Oct 8, 2010
|
||||
* Author: Miha Vitorovic
|
||||
/**
|
||||
* Copyright - See the COPYRIGHT that is included with this distribution.
|
||||
* pvAccessCPP is distributed subject to a Software License Agreement found
|
||||
* in file LICENSE that is included with this distribution.
|
||||
*/
|
||||
|
||||
#include <sstream>
|
||||
@@ -13,32 +12,31 @@ using std::stringstream;
|
||||
using epics::pvData::String;
|
||||
|
||||
namespace epics {
|
||||
namespace pvAccess {
|
||||
namespace pvAccess {
|
||||
|
||||
const String Version::getLongVersionString() const {
|
||||
stringstream ret;
|
||||
ret<<getProductName()<<" ["<<getImplementationLanguage();
|
||||
ret<<"] v"<<getMajorVersion()<<"."<<getMinorVersion()<<".";
|
||||
if(getDevelopmentVersion()>0) {
|
||||
ret<<"D"<<getDevelopmentVersion();
|
||||
} else
|
||||
ret<<getMaintenanceVersion();
|
||||
|
||||
const String Version::getLongVersionString() const {
|
||||
stringstream ret;
|
||||
ret<<getProductName()<<" ["<<getImplementationLanguage();
|
||||
ret<<"] v"<<getMajorVersion()<<"."<<getMinorVersion()<<".";
|
||||
if(getDevelopmentVersion()>0) {
|
||||
ret<<"D"<<getDevelopmentVersion();
|
||||
} else
|
||||
ret<<getMaintenanceVersion();
|
||||
|
||||
return ret.str();
|
||||
}
|
||||
|
||||
const String Version::getVersionString() const {
|
||||
stringstream ret;
|
||||
ret<<getProductName()<<" v"<<getMajorVersion()<<".";
|
||||
ret<<getMinorVersion()<<".";
|
||||
if(getDevelopmentVersion()>0) {
|
||||
ret<<"D"<<getDevelopmentVersion();
|
||||
} else
|
||||
ret<<getMaintenanceVersion();
|
||||
|
||||
return ret.str();
|
||||
}
|
||||
|
||||
}
|
||||
return ret.str();
|
||||
}
|
||||
|
||||
const String Version::getVersionString() const {
|
||||
stringstream ret;
|
||||
ret<<getProductName()<<" v"<<getMajorVersion()<<".";
|
||||
ret<<getMinorVersion()<<".";
|
||||
if(getDevelopmentVersion()>0) {
|
||||
ret<<"D"<<getDevelopmentVersion();
|
||||
} else
|
||||
ret<<getMaintenanceVersion();
|
||||
|
||||
return ret.str();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user