38#define __attribute__(x)
55LOG_LOGGER _log =
LOG_GET(
"daf.persistence.LogicalLocation");
58dafBase::PropertySet::Ptr dafPersist::LogicalLocation::_map;
62dafPersist::LogicalLocation::LogicalLocation(
std::string const& locString,
71 if ((*i).prefix().matched) {
72 _locString += (*i).prefix().str();
77 if (_map && _map->exists(key)) {
78 if (_map->typeOf(key) ==
typeid(
int)) {
79 int value = _map->getAsInt(key);
82 _locString += (boost::format(
"%1%") % value).
str();
84 _locString += (boost::format(fmt) % value).
str();
91 }
else if (additionalData && additionalData->exists(key)) {
92 if (additionalData->typeOf(key) ==
typeid(
int)) {
93 int value = additionalData->getAsInt(key);
96 _locString += (boost::format(
"%1%") % value).
str();
98 _locString += (boost::format(fmt) % value).
str();
101 std::string value = additionalData->getAsString(key);
114 _locString += (*last).suffix().str();
121std::string const& dafPersist::LogicalLocation::locString(
void)
const {
return _locString; }
127 _map = map->deepCopy();
#define LOGLS_DEBUG(logger, message)
#define LSST_EXCEPT(type,...)
Interface for LogicalLocation class.
std::string const & locString(void) const
Accessor.