get_DetailName Method

WRAPPER_API const BmgChar* get_DetailName() const

 

Description

Gets the name of this detail.

 

Example

std::wstring TestForm::FormatChangeDetail(const GEOCALCPBW_NAMESPACE::ChangeDetail* detail)

{

std::wstring outStr = "Change Detail:\n";

outStr += kIndentStr + kNameLabel + detail->get_DetailName() + "\n";

outStr += kIndentStr + kTypeLabel + m_changeClass[detail->get_ChangeDetailType()] + "\n";

outStr += kIndentStr + kTypeLabel + m_changeType[detail->get_ChangeType()] + "\n";

    // Format detail into string

switch (detail->get_ChangeDetailType())

{

case GEOCALCPBW_NAMESPACE::eChangeDetailAngularValue:

outStr += AngularValueDetailsToQString(detail);

break;

case GEOCALCPBW_NAMESPACE::eChangeDetailDatumShiftCollection:

outStr += DatumShiftCollectionDetailsToQString(detail);

break;

case GEOCALCPBW_NAMESPACE::eChangeDetailDouble:

outStr += DoubleDetailsToQString(detail);

break;

case GEOCALCPBW_NAMESPACE::eChangeDetailIdentifierCollection:

outStr += IdentifierCollectionDetailsToQString(detail);

break;

case GEOCALCPBW_NAMESPACE::eChangeDetailLinearValue:

outStr += LinearValueDetailsToQString(detail);

break;

case GEOCALCPBW_NAMESPACE::eChangeDetailObject:

outStr += ObjectDetailsToQString(detail);

break;

case GEOCALCPBW_NAMESPACE::eChangeDetailParameterCollection:

outStr += ParameterCollectionDetailsToQString(detail);

break;

case GEOCALCPBW_NAMESPACE::eChangeDetailString:

outStr += StringDetailsToQString(detail);

break;

}

outStr += '\n';

     return outStr;

}