Go to the documentation of this file.
47 "unit_implementation";
61 const std::string& hdbFile,
63 const std::string& unitName) :
64 hdbFile_(hdbFile), id_(id), unitName_(unitName), parent_(NULL) {
78 : hdbFile_(
""), id_(0), unitName_(
""), parent_(NULL) {
165 const string procName =
"UnitImplementationLocation::loadState";
177 __FILE__, __LINE__, procName, exception.
errorMessage());
int id_
Entry ID in the HDB.
std::string unitName_
Name of the unit in ADF.
virtual void setParent(MachineImplementation &parent)
static const std::string OSKEY_HDB_FILE
ObjectState attribute key for the name of the HDB file.
std::string stringAttribute(const std::string &name) const
virtual void setHDBFile(std::string file)
void loadState(const ObjectState *state)
UnitImplementationLocation(const std::string &hdbFile, int id, const std::string &unitName)
virtual void setID(int id)
static const std::string OSKEY_ID
ObjectState attribute key for the entry ID.
static std::vector< std::string > hdbPaths(bool libraryPathsOnly=false)
static std::string directoryOfPath(const std::string fileName)
std::string sourceIDF() const
virtual std::string unitName() const
static std::string expandTilde(const std::string &stringWithTilde)
static const std::string OSKEY_UNIT_NAME
Objectstate attribute key for the name of the unit.
std::string errorMessage() const
ObjectState * saveState() const
TCEString & replaceString(const std::string &old, const std::string &newString)
std::string hdbFile_
Name of the HDB file.
MachineImplementation * parent_
The parent MachineImplementation instance.
int intAttribute(const std::string &name) const
virtual std::string hdbFile() const
static const std::string OSNAME_UNIT_IMPLEMENTATION
ObjectState name for unit implementation.
static std::string findFileInSearchPaths(const std::vector< std::string > &searchPaths, const std::string &file)
virtual ~UnitImplementationLocation()
std::string hdbFileOriginal() const
void setAttribute(const std::string &name, const std::string &value)