2014-01-15 21:41:16 +00:00
|
|
|
#include "OTE/LPECheckResponse.hpp"
|
2014-01-15 18:29:15 +00:00
|
|
|
#include "common/StringUtils.hpp"
|
|
|
|
#include "se/StandardObjectType.hpp"
|
|
|
|
|
|
|
|
const std::string& LPECheckResponse::DOM_CHKDATA_COUNT_EXPR()
|
|
|
|
{
|
|
|
|
static const std::string expr = LPECheckResponse::exprReplace (CheckResponse::CHKDATA_COUNT_EXPR());
|
|
|
|
return expr;
|
|
|
|
}
|
|
|
|
|
|
|
|
const std::string& LPECheckResponse::DOM_CHKDATA_IND_EXPR()
|
|
|
|
{
|
|
|
|
static const std::string expr = LPECheckResponse::exprReplace (CheckResponse::CHKDATA_IND_EXPR());
|
|
|
|
return expr;
|
|
|
|
}
|
|
|
|
|
|
|
|
const std::string& LPECheckResponse::DOM_CHKDATA_IDENT_EXPR()
|
|
|
|
{
|
|
|
|
static const std::string expr = LPECheckResponse::exprReplace (CheckResponse::CHKDATA_IDENT_EXPR());
|
|
|
|
return expr;
|
|
|
|
}
|
|
|
|
|
|
|
|
const std::string& LPECheckResponse::DOM_CHKDATA_AVAIL_EXPR()
|
|
|
|
{
|
|
|
|
static const std::string expr = LPECheckResponse::exprReplace (CheckResponse::CHKDATA_AVAIL_EXPR());
|
|
|
|
return expr;
|
|
|
|
}
|
|
|
|
|
|
|
|
const std::string& LPECheckResponse::DOM_CHKDATA_REASON_EXPR()
|
|
|
|
{
|
|
|
|
static const std::string expr = LPECheckResponse::exprReplace (CheckResponse::CHKDATA_REASON_EXPR());
|
|
|
|
return expr;
|
|
|
|
}
|
|
|
|
|
|
|
|
LPECheckResponse::LPECheckResponse()
|
|
|
|
: CheckResponse (StandardObjectType::DOMAIN())
|
|
|
|
{ }
|
|
|
|
|
|
|
|
std::string LPECheckResponse::exprReplace (const std::string &expr)
|
|
|
|
{
|
|
|
|
return StringUtils::replaceAll(
|
|
|
|
StringUtils::replaceAll(
|
|
|
|
expr,
|
|
|
|
DataResponse::OBJ(),
|
|
|
|
StandardObjectType::DOMAIN()->getName()),
|
|
|
|
"IDENT",
|
|
|
|
"name");
|
|
|
|
}
|
|
|
|
|