WRAPPER_API const IdentifierCollection* get_InitialValue() const
Gets the initial value of the IdentifierCollection (empty in the case of addition).
std::wstring TestForm::IdentifierCollectionDetailsTowstring(const GEOCALCPBW_NAMESPACE::ChangeDetail* detail)
{
std::wstring outStr = L"";
std::wstring idkIndentStr = kIndentStr + kIndentStr;
const GEOCALCPBW_NAMESPACE::IdentifierCollectionChangeDetail* idDetail = static_cast<const GEOCALCPBW_NAMESPACE::IdentifierCollectionChangeDetail*>(detail);
if (idDetail != NULL)
{
outStr += kIndentStr + kInitValueLabel;
if (idDetail->get_ChangeType() == GEOCALCPBW_NAMESPACE::eChangeAdd)
{
outStr += kNoValue;
}
else
{
outStr += L"\n";
outStr += FormatIdentifiers(idDetail->get_InitialValue(), idkIndentStr);
}
outStr += L"\n" + kIndentStr + kFinalValueLabel;
if (idDetail->get_ChangeType() == GEOCALCPBW_NAMESPACE::eChangeRemove)
{
outStr += kNoValue;
}
else
{
outStr += L"\n";
outStr += FormatIdentifiers(idDetail->get_FinalValue(), idkIndentStr);
}
outStr += L"\n";
}
return outStr;
}