#include <interface/PixelConfigAlias.h>
Public Member Functions | |
void | addVersionAlias (std::string path, std::string alias) |
unsigned int | key () |
std::string | name () |
unsigned int | nVersionAliases () |
PixelConfigAlias (std::string name, unsigned int key) | |
void | setKey (unsigned int key) |
std::vector< std::pair < std::string, std::string > > | versionAliases () |
std::string | versionAliasesAlias (unsigned int i) |
std::string | versionAliasesPath (unsigned int i) |
Private Attributes | |
unsigned int | key_ |
std::string | name_ |
std::vector< std::pair < std::string, std::string > > | versionAliases_ |
A longer explanation will be placed here later
Definition at line 17 of file PixelConfigAlias.h.
pos::PixelConfigAlias::PixelConfigAlias | ( | std::string | name, |
unsigned int | key | ||
) | [inline] |
void pos::PixelConfigAlias::addVersionAlias | ( | std::string | path, |
std::string | alias | ||
) | [inline] |
Definition at line 24 of file PixelConfigAlias.h.
References versionAliases_.
Referenced by pos::PixelConfigFile::addAlias(), and pos::PixelAliasList::readfile().
{ std::pair<std::string,std::string> apair(path,alias); versionAliases_.push_back(apair); }
unsigned int pos::PixelConfigAlias::key | ( | ) | [inline] |
Definition at line 30 of file PixelConfigAlias.h.
References key_.
Referenced by pos::PixelConfigFile::getVersionAliases(), PixelConfigAlias(), setKey(), and pos::PixelAliasList::writefile().
{ return key_; }
std::string pos::PixelConfigAlias::name | ( | ) | [inline] |
Definition at line 29 of file PixelConfigAlias.h.
References name_.
Referenced by pos::PixelAliasList::insertAlias(), PixelConfigAlias(), and pos::PixelAliasList::writefile().
{ return name_; }
unsigned int pos::PixelConfigAlias::nVersionAliases | ( | ) | [inline] |
Definition at line 32 of file PixelConfigAlias.h.
References versionAliases_.
Referenced by pos::PixelAliasList::writefile().
{ return versionAliases_.size(); }
void pos::PixelConfigAlias::setKey | ( | unsigned int | key | ) | [inline] |
std::vector<std::pair<std::string,std::string> > pos::PixelConfigAlias::versionAliases | ( | ) | [inline] |
Definition at line 38 of file PixelConfigAlias.h.
References versionAliases_.
Referenced by pos::PixelConfigFile::getVersionAliases().
{ return versionAliases_; }
std::string pos::PixelConfigAlias::versionAliasesAlias | ( | unsigned int | i | ) | [inline] |
Definition at line 34 of file PixelConfigAlias.h.
References i, and versionAliases_.
Referenced by pos::PixelAliasList::writefile().
{ return versionAliases_[i].second; }
std::string pos::PixelConfigAlias::versionAliasesPath | ( | unsigned int | i | ) | [inline] |
Definition at line 33 of file PixelConfigAlias.h.
References i, and versionAliases_.
Referenced by pos::PixelAliasList::writefile().
{ return versionAliases_[i].first; }
unsigned int pos::PixelConfigAlias::key_ [private] |
Definition at line 46 of file PixelConfigAlias.h.
Referenced by key(), PixelConfigAlias(), and setKey().
std::string pos::PixelConfigAlias::name_ [private] |
Definition at line 45 of file PixelConfigAlias.h.
Referenced by name(), and PixelConfigAlias().
std::vector<std::pair<std::string,std::string> > pos::PixelConfigAlias::versionAliases_ [private] |
Definition at line 47 of file PixelConfigAlias.h.
Referenced by addVersionAlias(), nVersionAliases(), versionAliases(), versionAliasesAlias(), and versionAliasesPath().