mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-15 13:48:57 +08:00
0031350: Foundation Classes - Dump improvement for OCAF classes
- do not dump document in CDM_MetaData, just pointer text; - move ID dump in to TDF_Attribute; - extend TDF_Attribute with other important states(obtained by methods); - extend TDocStd_Document with other important states; - avoid dumping of shapes in TNaming_UsedShapes (it takes much time); - extend XCAFDoc, XCAFDimTolObjects dump to json; - correct XCAFDoc_ColorTool, XCAFDoc_MaterialTool, XCAFDoc_LayerTool to dump only connected to the object information; - correct XCAFDoc_Material to dump name and density value only if it exists; - add check on correct direction in gp_Ax3.
This commit is contained in:
@@ -340,10 +340,12 @@ Handle(TDF_DeltaOnModification) TDataStd_ExtStringArray::DeltaOnModification
|
||||
//function : DumpJson
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
void TDataStd_ExtStringArray::DumpJson (Standard_OStream& theOStream, Standard_Integer /*theDepth*/) const
|
||||
void TDataStd_ExtStringArray::DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth) const
|
||||
{
|
||||
OCCT_DUMP_TRANSIENT_CLASS_BEGIN (theOStream)
|
||||
|
||||
OCCT_DUMP_BASE_CLASS (theOStream, theDepth, TDF_Attribute)
|
||||
|
||||
for (TColStd_Array1OfExtendedString::Iterator aValueIt (myValue->Array1()); aValueIt.More(); aValueIt.Next())
|
||||
{
|
||||
const TCollection_ExtendedString& aValue = aValueIt.Value();
|
||||
@@ -351,5 +353,4 @@ void TDataStd_ExtStringArray::DumpJson (Standard_OStream& theOStream, Standard_I
|
||||
}
|
||||
|
||||
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myIsDelta)
|
||||
OCCT_DUMP_FIELD_VALUE_GUID (theOStream, myID)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user