Beispiel #1
0
/* ****************************************************************************
*
* EntityIdVector::present -
*/
void EntityIdVector::present(const std::string& indent)
{
    LM_F(("%lu EntityIds:\n", (uint64_t) vec.size()));

    for (unsigned int ix = 0; ix < vec.size(); ++ix)
    {
        vec[ix]->present(indent, ix);
    }
}
/* ****************************************************************************
*
* ContextAttributeVector::present - 
*/
void ContextAttributeVector::present(const std::string& indent)
{
  LM_F(("%s%lu ContextAttributes", indent.c_str(), (uint64_t) vec.size()));

  for (unsigned int ix = 0; ix < vec.size(); ++ix)
  {
    vec[ix]->present(indent + "  ", ix);
  }
}
/* ****************************************************************************
*
* EntityTypeVector::present -
*/
void EntityTypeVector::present(const std::string& indent)
{
  LM_F(("%lu items in entityTypeVector", (uint64_t) vec.size()));

  for (unsigned int ix = 0; ix < vec.size(); ++ix)
  {
    vec[ix]->present(indent);
  }
}
/* ****************************************************************************
*
* ncarPresent - 
*/
void ncarPresent(ParseData* parseDataP)
{
  if (!lmTraceIsSet(LmtDump))
  {
    return;
  }

  LM_F(("\n\n"));
  parseDataP->ncar.res.present("");
}
/* ****************************************************************************
*
* qcrPresent -
*/
void qcrPresent(ParseData* reqDataP)
{
  if (!lmTraceIsSet(LmtDump))
  {
    return;
  }

  LM_F(("\n\n"));
  reqDataP->qcr.res.present("");
}
/* ****************************************************************************
*
* EntityTypeAttributesResponse::present -
*/
void EntityTypeAttributesResponse::present(const std::string& indent)
{
  LM_F(("%sEntityTypeAttributesResponse:\n", indent.c_str()));
  entityType.present(indent + "  ");
  statusCode.present(indent + "  ");
}
/* ****************************************************************************
*
* ContextElementResponse::present - 
*/
void ContextElementResponse::present(const std::string& indent, int ix)
{
  LM_F(("%sContextElementResponse %d:", indent.c_str(), ix));
  contextElement.present(indent + "  ", ix);
  statusCode.present(indent + "  ");
}
/* ****************************************************************************
*
* QueryContextResponse::present -
*/
void QueryContextResponse::present(const std::string& indent, const std::string& caller)
{
  LM_F(("QueryContextResponse presented by %s", caller.c_str()));
  contextElementResponseVector.present(indent + "  ");
  errorCode.present(indent + "  ");
}