]> OCCT Git - occt.git/commitdiff
Coding - Method guard iterative update (#732)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Sun, 21 Sep 2025 10:50:56 +0000 (11:50 +0100)
committerGitHub <noreply@github.com>
Sun, 21 Sep 2025 10:50:56 +0000 (11:50 +0100)
Used regex in src folder:
^//[\s\n\r\t]*[-=]{2,}[=]*[\n\r]*//[\s\n\r\t]*[a-z]+[\s\n\r\t]*:[\s\n\r\t]*[a-z0-9_:\t\s]*[\s\n\r\t]*//[\s\n\r\t]*[a-z]+[\s\n\r\t]*:[\s\n\r\t]*[a-z0-9_\s\t./-><]{0,22}//[\s\n\r\t]*[-=]{3,}[=]*

66 files changed:
src/ApplicationFramework/TKCAF/TNaming/TNaming_Name.cxx
src/ApplicationFramework/TKCDF/LDOM/LDOMBasicString.cxx
src/ApplicationFramework/TKCDF/LDOM/LDOM_CharacterData.cxx
src/ApplicationFramework/TKLCAF/TDF/TDF_Attribute.cxx
src/ApplicationFramework/TKLCAF/TDF/TDF_IDFilter.cxx
src/ApplicationFramework/TKLCAF/TDF/TDF_Tool.cxx
src/ApplicationFramework/TKLCAF/TFunction/TFunction_Logbook.cxx
src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_Reader.cxx
src/DataExchange/TKDESTEP/StepGeom/StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.cxx
src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateCompositeCurve.cxx
src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_MakeStepEdge.cxx
src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_MakeStepFace.cxx
src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_MakeStepVertex.cxx
src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_MakeStepWire.cxx
src/DataExchange/TKXSBase/MoniTool/MoniTool_Timer.cxx
src/Draw/TKDCAF/DDF/DDF_TransactionCommands.cxx
src/Draw/TKDCAF/DDataStd/DDataStd_TreeCommands.cxx
src/Draw/TKDCAF/DDocStd/DDocStd_MTMCommands.cxx
src/Draw/TKDCAF/DNaming/DNaming.cxx
src/Draw/TKDCAF/DNaming/DNaming_PrismDriver.cxx
src/Draw/TKDCAF/DNaming/DNaming_RevolutionDriver.cxx
src/Draw/TKDCAF/DNaming/DNaming_SphereDriver.cxx
src/Draw/TKQADraw/QABugs/QABugs_11.cxx
src/Draw/TKTopTest/BRepTest/BRepTest_SurfaceCommands.cxx
src/Draw/TKXDEDRAW/XDEDRAW/XDEDRAW_Notes.cxx
src/FoundationClasses/TKMath/BSplCLib/BSplCLib_CurveComputation.gxx
src/FoundationClasses/TKernel/NCollection/NCollection_BaseAllocator.cxx
src/FoundationClasses/TKernel/NCollection/NCollection_BaseSequence.cxx
src/FoundationClasses/TKernel/OSD/OSD_Environment.cxx
src/FoundationClasses/TKernel/OSD/OSD_SharedLibrary.cxx
src/FoundationClasses/TKernel/TColStd/TColStd_PackedMapOfInteger.cxx
src/FoundationClasses/TKernel/TCollection/TCollection_AsciiString.cxx
src/FoundationClasses/TKernel/TCollection/TCollection_AsciiString.lxx
src/FoundationClasses/TKernel/TCollection/TCollection_ExtendedString.cxx
src/FoundationClasses/TKernel/TCollection/TCollection_HAsciiString.cxx
src/FoundationClasses/TKernel/TCollection/TCollection_HAsciiString.lxx
src/FoundationClasses/TKernel/TCollection/TCollection_HExtendedString.cxx
src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_Draft.cxx
src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_PipeShell.cxx
src/ModelingAlgorithms/TKBool/TopOpeBRep/TopOpeBRep_FFTransitionTool.cxx
src/ModelingAlgorithms/TKBool/TopOpeBRep/TopOpeBRep_ProcessGR.cxx
src/ModelingAlgorithms/TKBool/TopOpeBRepTool/TopOpeBRepTool_CurveTool.cxx
src/ModelingAlgorithms/TKBool/TopOpeBRepTool/TopOpeBRepTool_PROJECT.cxx
src/ModelingAlgorithms/TKBool/TopOpeBRepTool/TopOpeBRepTool_TOPOLOGY.cxx
src/ModelingAlgorithms/TKBool/TopOpeBRepTool/TopOpeBRepTool_matter.cxx
src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_RstRstLineBuilder.cxx
src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SectionPlacement.cxx
src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_BuildPlateSurface.cxx
src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_PrmPrmIntersection.cxx
src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_TangentZone.cxx
src/ModelingAlgorithms/TKHLR/Contap/Contap_ArcFunction.cxx
src/ModelingAlgorithms/TKHLR/HLRBRep/HLRBRep_EdgeBuilder.cxx
src/ModelingAlgorithms/TKPrim/BRepPrim/BRepPrim_Builder.cxx
src/ModelingAlgorithms/TKTopAlgo/BRepExtrema/BRepExtrema_DistanceSS.cxx
src/ModelingData/TKBRep/BRep/BRep_Tool.cxx
src/ModelingData/TKGeomBase/FEmTool/FEmTool_Assembly.cxx
src/Visualization/TKIVtk/IVtkTools/IVtkTools_ShapeObject.cxx
src/Visualization/TKOpenGl/OpenGl/OpenGl_ShaderStates.cxx [changed mode: 0755->0644]
src/Visualization/TKService/Font/Font_FTFont.hxx [changed mode: 0755->0644]
src/Visualization/TKService/Font/Font_TextFormatter.hxx [changed mode: 0755->0644]
src/Visualization/TKV3d/AIS/AIS_InteractiveContext.cxx
src/Visualization/TKV3d/AIS/AIS_Manipulator.cxx
src/Visualization/TKV3d/DsgPrs/DsgPrs_AnglePresentation.cxx
src/Visualization/TKV3d/PrsDim/PrsDim_LengthDimension.cxx
src/Visualization/TKV3d/PrsDim/PrsDim_PerpendicularRelation.cxx
src/Visualization/TKV3d/SelectMgr/SelectMgr_SelectableObjectSet.cxx

index f0fb2777f545d777a51b47a65f1cfed74742a337..9c271ee2ad424835aacee3d45fbbac522df41482 100644 (file)
@@ -1900,10 +1900,8 @@ static Standard_Boolean ORientation(const TDF_Label&                  L,
   return Standard_True;
 }
 
-//===========================================================================
-// function : WireIN
-// purpose  : to solve  WIREIN name
-//=======================================================================
+//=================================================================================================
+
 static Standard_Boolean WireIN(const TDF_Label&                  L,
                                const TDF_LabelMap&               Valid,
                                const TNaming_ListOfNamedShape&   Args,
index 05f7c7b5af0d24d258842f3af52bfc64ed75985b..7fbc99579e349da420503e520f92387af3e36452 100644 (file)
@@ -294,10 +294,7 @@ LDOMBasicString::operator TCollection_ExtendedString() const
   return TCollection_ExtendedString();
 }
 
-//=======================================================================
-// function : GetInteger
-// purpose  : Conversion to Integer
-//=======================================================================
+//=================================================================================================
 
 Standard_Boolean LDOMBasicString::GetInteger(Standard_Integer& aResult) const
 {
index a2fb9511803601c0c2d217d1dc3e6d7f6635b13a..d6216f4774d627aebcaaaffba59943839161e8f7 100644 (file)
@@ -58,10 +58,7 @@ void LDOM_CharacterData::setData(const LDOMString& theValue)
   myLength = -1;
 }
 
-//=======================================================================
-// function : getLength
-// purpose  : query the data length
-//=======================================================================
+//=================================================================================================
 
 Standard_Integer LDOM_CharacterData::getLength() const
 {
index 28c2ff0c2c55acfe19ad366457bcd175e313df1b..deb71fa372849199d28f161a81a960b2482361f1 100644 (file)
@@ -260,40 +260,28 @@ void TDF_Attribute::RemoveBackup()
 
 void TDF_Attribute::References(const Handle(TDF_DataSet)& /*aDataSet*/) const {}
 
-//=======================================================================
-// function : DeltaOnAddition
-// purpose  : Creates such a delta.
-//=======================================================================
+//=================================================================================================
 
 Handle(TDF_DeltaOnAddition) TDF_Attribute::DeltaOnAddition() const
 {
   return new TDF_DeltaOnAddition(this);
 }
 
-//=======================================================================
-// function : DeltaOnForget
-// purpose  : Creates such a delta.
-//=======================================================================
+//=================================================================================================
 
 Handle(TDF_DeltaOnForget) TDF_Attribute::DeltaOnForget() const
 {
   return new TDF_DeltaOnForget(this);
 }
 
-//=======================================================================
-// function : DeltaOnResume
-// purpose  : Creates such a delta.
-//=======================================================================
+//=================================================================================================
 
 Handle(TDF_DeltaOnResume) TDF_Attribute::DeltaOnResume() const
 {
   return new TDF_DeltaOnResume(this);
 }
 
-//=======================================================================
-// function : DeltaOnModification
-// purpose  : Creates such a delta.
-//=======================================================================
+//=================================================================================================
 
 Handle(TDF_DeltaOnModification) TDF_Attribute::DeltaOnModification(
   const Handle(TDF_Attribute)& anOldAttribute) const
@@ -301,10 +289,7 @@ Handle(TDF_DeltaOnModification) TDF_Attribute::DeltaOnModification(
   return new TDF_DefaultDeltaOnModification(anOldAttribute);
 }
 
-//=======================================================================
-// function : DeltaOnModification
-// purpose  : Applies such a delta.
-//=======================================================================
+//=================================================================================================
 
 void TDF_Attribute::DeltaOnModification(const Handle(TDF_DeltaOnModification)& aDelta)
 {
@@ -312,10 +297,7 @@ void TDF_Attribute::DeltaOnModification(const Handle(TDF_DeltaOnModification)& a
   Restore(aDelta->Attribute());
 }
 
-//=======================================================================
-// function : DeltaOnRemoval
-// purpose  : Creates such a delta.
-//=======================================================================
+//=================================================================================================
 
 Handle(TDF_DeltaOnRemoval) TDF_Attribute::DeltaOnRemoval() const
 {
index 2d0d2d95728bf855cf437c01f3dbecacf9d8caf6..9253cc7580d6ef5edfce5946e509e4eda160a99a 100644 (file)
@@ -83,10 +83,7 @@ void TDF_IDFilter::Ignore(const Standard_GUID& anID)
     myIDMap.Add(anID);
 }
 
-//=======================================================================
-// function : Ignore
-// purpose  : Ignores a list of ID.
-//=======================================================================
+//=================================================================================================
 
 void TDF_IDFilter::Ignore(const TDF_IDList& anIDList)
 {
index 94d43817b2f1696bf34ec9a31b1e5ad9ac0d83fe..05fc29c5b5381eb01ca6982470048d0203ed3f06 100644 (file)
@@ -579,10 +579,7 @@ void TDF_Tool::ExtendedDeepDump(Standard_OStream&       anOS,
   TDF_Tool::ExtendedDeepDump(anOS, aDF->Root(), aFilter);
 }
 
-//=======================================================================
-// function : DeepDump
-// purpose  : Deep dump of a label.
-//=======================================================================
+//=================================================================================================
 
 void TDF_Tool::DeepDump(Standard_OStream& anOS, const TDF_Label& aLabel)
 {
index 7759bd2ee396dec9c6c50371da59fdbebd3618f1..5c039629e1cff8beb2b4a9e11381b49e6570e5ef 100644 (file)
@@ -160,10 +160,7 @@ void TFunction_Logbook::SetImpacted(const TDF_Label& L, const Standard_Boolean W
   }
 }
 
-//=======================================================================
-// function : GetValid
-// purpose  : Returns valid labels.
-//=======================================================================
+//=================================================================================================
 
 void TFunction_Logbook::GetValid(TDF_LabelMap& Ls) const
 {
@@ -278,10 +275,7 @@ Handle(TDF_Attribute) TFunction_Logbook::NewEmpty() const
   return new TFunction_Logbook();
 }
 
-//=======================================================================
-// function : Dump
-// purpose  : Dump of modifications
-//=======================================================================
+//=================================================================================================
 
 Standard_OStream& TFunction_Logbook::Dump(Standard_OStream& stream) const
 {
index f8e6a39f74ad9738d5856c35ff36fde0d70ba6e1..e245492cbba4a6834247acc7b260e211fc477c24 100644 (file)
@@ -2427,10 +2427,8 @@ Standard_Boolean readPMIPresentation(const Handle(Standard_Transient)&       the
   return (aNbShapes > 0);
 }
 
-//=======================================================================
-// function : readAnnotationPlane
-// purpose  : read annotation plane
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean readAnnotationPlane(const Handle(StepVisual_AnnotationPlane)& theAnnotationPlane,
                                      gp_Ax2&                                   thePlane,
                                      const StepData_Factors&                   theLocalFactors)
index f93cf3a9246af7e6227bce78d9642007e6cc9f96..62d0458189dc130a920bb6b8c0450875e1b697d0 100644 (file)
 IMPLEMENT_STANDARD_RTTIEXT(StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx,
                            StepRepr_RepresentationContext)
 
-// --------------------------------------------------------------------------------------------------
-// Method  :
-// Purpose :
-// --------------------------------------------------------------------------------------------------
+//=================================================================================================
+
 StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::
   StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx()
 {
 }
 
-// --------------------------------------------------------------------------------------------------
-// Method  :
-// Purpose :
-// --------------------------------------------------------------------------------------------------
+//=================================================================================================
 
 void StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::Init(
   const Handle(TCollection_HAsciiString)&                  aContextIdentifier,
@@ -53,10 +48,7 @@ void StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::Init(
   StepRepr_RepresentationContext::Init(aContextIdentifier, aContextType);
 }
 
-// --------------------------------------------------------------------------------------------------
-// Method  :
-// Purpose :
-// --------------------------------------------------------------------------------------------------
+//=================================================================================================
 
 void StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::Init(
   const Handle(TCollection_HAsciiString)&                      aContextIdentifier,
@@ -85,10 +77,7 @@ void StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::Init(
   globalUncertaintyAssignedContext->Init(aContextIdentifier, aContextType, anUncertainty);
 }
 
-// --------------------------------------------------------------------------------------------------
-// Method  :
-// Purpose :
-// --------------------------------------------------------------------------------------------------
+//=================================================================================================
 
 void StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::
   SetGeometricRepresentationContext(
@@ -97,10 +86,7 @@ void StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::
   geometricRepresentationContext = aGeometricRepresentationContext;
 }
 
-// --------------------------------------------------------------------------------------------------
-// Method  :
-// Purpose :
-// --------------------------------------------------------------------------------------------------
+//=================================================================================================
 
 Handle(StepGeom_GeometricRepresentationContext)
   StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::GeometricRepresentationContext()
@@ -109,10 +95,7 @@ Handle(StepGeom_GeometricRepresentationContext)
   return geometricRepresentationContext;
 }
 
-// --------------------------------------------------------------------------------------------------
-// Method  :
-// Purpose :
-// --------------------------------------------------------------------------------------------------
+//=================================================================================================
 
 void StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::SetGlobalUnitAssignedContext(
   const Handle(StepRepr_GlobalUnitAssignedContext)& aGlobalUnitAssignedContext)
@@ -120,10 +103,7 @@ void StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::SetGlobal
   globalUnitAssignedContext = aGlobalUnitAssignedContext;
 }
 
-// --------------------------------------------------------------------------------------------------
-// Method  :
-// Purpose :
-// --------------------------------------------------------------------------------------------------
+//=================================================================================================
 
 Handle(StepRepr_GlobalUnitAssignedContext)
   StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::GlobalUnitAssignedContext()
@@ -132,10 +112,7 @@ Handle(StepRepr_GlobalUnitAssignedContext)
   return globalUnitAssignedContext;
 }
 
-// --------------------------------------------------------------------------------------------------
-// Method  :
-// Purpose :
-// --------------------------------------------------------------------------------------------------
+//=================================================================================================
 
 void StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::
   SetGlobalUncertaintyAssignedContext(
@@ -144,10 +121,7 @@ void StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::
   globalUncertaintyAssignedContext = aGlobalUncertaintyAssignedCtx;
 }
 
-// --------------------------------------------------------------------------------------------------
-// Method  :
-// Purpose :
-// --------------------------------------------------------------------------------------------------
+//=================================================================================================
 
 Handle(StepRepr_GlobalUncertaintyAssignedContext)
   StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::
@@ -160,10 +134,7 @@ Handle(StepRepr_GlobalUncertaintyAssignedContext)
 //--- Specific Methods for AND classe field access : GeometricRepresentationContext ---
 //-------------------------------------------------------------------------------------
 
-// --------------------------------------------------------------------------------------------------
-// Method  :
-// Purpose :
-// --------------------------------------------------------------------------------------------------
+//=================================================================================================
 
 void StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::SetCoordinateSpaceDimension(
   const Standard_Integer aCoordinateSpaceDimension)
@@ -171,10 +142,7 @@ void StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::SetCoordi
   geometricRepresentationContext->SetCoordinateSpaceDimension(aCoordinateSpaceDimension);
 }
 
-// --------------------------------------------------------------------------------------------------
-// Method  :
-// Purpose :
-// --------------------------------------------------------------------------------------------------
+//=================================================================================================
 
 Standard_Integer StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::
   CoordinateSpaceDimension() const
@@ -186,10 +154,7 @@ Standard_Integer StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCt
 //--- Specific Methods for AND classe field access : GlobalUnitAssignedContext  ---
 //---------------------------------------------------------------------------------
 
-// --------------------------------------------------------------------------------------------------
-// Method  :
-// Purpose :
-// --------------------------------------------------------------------------------------------------
+//=================================================================================================
 
 void StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::SetUnits(
   const Handle(StepBasic_HArray1OfNamedUnit)& aUnits)
@@ -197,10 +162,7 @@ void StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::SetUnits(
   globalUnitAssignedContext->SetUnits(aUnits);
 }
 
-// --------------------------------------------------------------------------------------------------
-// Method  :
-// Purpose :
-// --------------------------------------------------------------------------------------------------
+//=================================================================================================
 
 Handle(StepBasic_HArray1OfNamedUnit)
   StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::Units() const
@@ -208,10 +170,7 @@ Handle(StepBasic_HArray1OfNamedUnit)
   return globalUnitAssignedContext->Units();
 }
 
-// --------------------------------------------------------------------------------------------------
-// Method  :
-// Purpose :
-// --------------------------------------------------------------------------------------------------
+//=================================================================================================
 
 Handle(StepBasic_NamedUnit) StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::
   UnitsValue(const Standard_Integer num) const
@@ -219,10 +178,7 @@ Handle(StepBasic_NamedUnit) StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncer
   return globalUnitAssignedContext->UnitsValue(num);
 }
 
-// --------------------------------------------------------------------------------------------------
-// Method  :
-// Purpose :
-// --------------------------------------------------------------------------------------------------
+//=================================================================================================
 
 Standard_Integer StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::NbUnits() const
 {
@@ -233,10 +189,7 @@ Standard_Integer StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCt
 //--- Specific Methods for AND classe field access : GlobalUncertaintyAssignedContext  ---
 //----------------------------------------------------------------------------------------
 
-// --------------------------------------------------------------------------------------------------
-// Method  :
-// Purpose :
-// --------------------------------------------------------------------------------------------------
+//=================================================================================================
 
 void StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::SetUncertainty(
   const Handle(StepBasic_HArray1OfUncertaintyMeasureWithUnit)& aUncertainty)
@@ -244,10 +197,7 @@ void StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::SetUncert
   globalUncertaintyAssignedContext->SetUncertainty(aUncertainty);
 }
 
-// --------------------------------------------------------------------------------------------------
-// Method  :
-// Purpose :
-// --------------------------------------------------------------------------------------------------
+//=================================================================================================
 
 Handle(StepBasic_HArray1OfUncertaintyMeasureWithUnit)
   StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::Uncertainty() const
@@ -255,10 +205,7 @@ Handle(StepBasic_HArray1OfUncertaintyMeasureWithUnit)
   return globalUncertaintyAssignedContext->Uncertainty();
 }
 
-// --------------------------------------------------------------------------------------------------
-// Method  :
-// Purpose :
-// --------------------------------------------------------------------------------------------------
+//=================================================================================================
 
 Handle(StepBasic_UncertaintyMeasureWithUnit)
   StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::UncertaintyValue(
@@ -267,10 +214,7 @@ Handle(StepBasic_UncertaintyMeasureWithUnit)
   return globalUncertaintyAssignedContext->UncertaintyValue(num);
 }
 
-// --------------------------------------------------------------------------------------------------
-// Method  :
-// Purpose :
-// --------------------------------------------------------------------------------------------------
+//=================================================================================================
 
 Standard_Integer StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::NbUncertainty()
   const
index 3d524ee82ba5d2c1544c59e5125b639d7f697f21..40c1b122efcbcfbe91d39dd4236e078d4de03bc5 100644 (file)
@@ -305,10 +305,7 @@ Standard_Boolean StepToTopoDS_TranslateCompositeCurve::Init(
   return Standard_True;
 }
 
-//=======================================================================
-// function : Value
-// purpose  : return resulting wire
-//=======================================================================
+//=================================================================================================
 
 const TopoDS_Wire& StepToTopoDS_TranslateCompositeCurve::Value() const
 {
index 2df78c0dd50f6c503f3884747e53cc4e0da49d40..5df74481d21c84498e02cb5fd6bdcc8eb3615439 100644 (file)
@@ -53,9 +53,9 @@
 #include <ShapeAnalysis_Curve.hxx>
 
 // Processing of non-manifold topology (ssv; 11.11.2010)
-// ----------------------------------------------------------------------------
-// Constructors
-// ----------------------------------------------------------------------------
+
+//=================================================================================================
+
 TopoDSToStep_MakeStepEdge::TopoDSToStep_MakeStepEdge()
     : myError(TopoDSToStep_EdgeOther)
 {
@@ -71,10 +71,7 @@ TopoDSToStep_MakeStepEdge::TopoDSToStep_MakeStepEdge(const TopoDS_Edge&
   Init(E, T, FP, theLocalFactors);
 }
 
-// ----------------------------------------------------------------------------
-// Method  : Init
-// Purpose :
-// ----------------------------------------------------------------------------
+//=================================================================================================
 
 void TopoDSToStep_MakeStepEdge::Init(const TopoDS_Edge&                    aEdge,
                                      TopoDSToStep_Tool&                    aTool,
@@ -344,10 +341,7 @@ void TopoDSToStep_MakeStepEdge::Init(const TopoDS_Edge&                    aEdge
   return;
 }
 
-// ----------------------------------------------------------------------------
-// Method  : Value
-// Purpose :
-// ----------------------------------------------------------------------------
+//=================================================================================================
 
 const Handle(StepShape_TopologicalRepresentationItem)& TopoDSToStep_MakeStepEdge::Value() const
 {
@@ -355,10 +349,7 @@ const Handle(StepShape_TopologicalRepresentationItem)& TopoDSToStep_MakeStepEdge
   return myResult;
 }
 
-// ----------------------------------------------------------------------------
-// Method  : Error
-// Purpose :
-// ----------------------------------------------------------------------------
+//=================================================================================================
 
 TopoDSToStep_MakeEdgeError TopoDSToStep_MakeStepEdge::Error() const
 {
index 97bdbea31cc2f11b20307a3ba7f9016ed3f69cb6..d3f9a67992a4d54bc634e372ae114603d5d61d6a 100644 (file)
@@ -75,9 +75,9 @@
 #include <GeomConvert_Units.hxx>
 
 // Processing of non-manifold topology (ssv; 10.11.2010)
-// ----------------------------------------------------------------------------
-// Constructors
-// ----------------------------------------------------------------------------
+
+//=================================================================================================
+
 TopoDSToStep_MakeStepFace::TopoDSToStep_MakeStepFace()
     : myError(TopoDSToStep_FaceOther)
 {
@@ -93,10 +93,8 @@ TopoDSToStep_MakeStepFace::TopoDSToStep_MakeStepFace(const TopoDS_Face&
   Init(F, T, FP, theLocalFactors);
 }
 
-// ----------------------------------------------------------------------------
-// Method  : Init
-// Purpose :
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TopoDSToStep_MakeStepFace::Init(const TopoDS_Face&                    aFace,
                                      TopoDSToStep_Tool&                    aTool,
                                      const Handle(Transfer_FinderProcess)& FP,
@@ -475,10 +473,7 @@ void TopoDSToStep_MakeStepFace::Init(const TopoDS_Face&                    aFace
   }
 }
 
-// ----------------------------------------------------------------------------
-// Method  : Value
-// Purpose :
-// ----------------------------------------------------------------------------
+//=================================================================================================
 
 const Handle(StepShape_TopologicalRepresentationItem)& TopoDSToStep_MakeStepFace::Value() const
 {
@@ -486,10 +481,7 @@ const Handle(StepShape_TopologicalRepresentationItem)& TopoDSToStep_MakeStepFace
   return myResult;
 }
 
-// ----------------------------------------------------------------------------
-// Method  : Error
-// Purpose :
-// ----------------------------------------------------------------------------
+//=================================================================================================
 
 TopoDSToStep_MakeFaceError TopoDSToStep_MakeStepFace::Error() const
 {
index c72fb64c503cdbada2e3bfb10e326f958ae975e5..a870d3a38b4d49f244415e91f8032944f2bb538d 100644 (file)
@@ -29,9 +29,9 @@
 #include <TransferBRep_ShapeMapper.hxx>
 
 // Processing of non-manifold topology (ssv; 11.11.2010)
-// ----------------------------------------------------------------------------
-// Constructors
-// ----------------------------------------------------------------------------
+
+//=================================================================================================
+
 TopoDSToStep_MakeStepVertex::TopoDSToStep_MakeStepVertex()
     : myError(TopoDSToStep_VertexOther)
 {
@@ -47,10 +47,7 @@ TopoDSToStep_MakeStepVertex::TopoDSToStep_MakeStepVertex(const TopoDS_Vertex&
   Init(V, T, FP, theLocalFactors);
 }
 
-// ----------------------------------------------------------------------------
-// Method  : Init
-// Purpose :
-// ----------------------------------------------------------------------------
+//=================================================================================================
 
 void TopoDSToStep_MakeStepVertex::Init(const TopoDS_Vertex&                  aVertex,
                                        TopoDSToStep_Tool&                    aTool,
@@ -102,10 +99,7 @@ void TopoDSToStep_MakeStepVertex::Init(const TopoDS_Vertex&                  aVe
   myResult = Vpms;
 }
 
-// ----------------------------------------------------------------------------
-// Method  : Value
-// Purpose :
-// ----------------------------------------------------------------------------
+//=================================================================================================
 
 const Handle(StepShape_TopologicalRepresentationItem)& TopoDSToStep_MakeStepVertex::Value() const
 {
@@ -113,10 +107,7 @@ const Handle(StepShape_TopologicalRepresentationItem)& TopoDSToStep_MakeStepVert
   return myResult;
 }
 
-// ----------------------------------------------------------------------------
-// Method  : Error
-// Purpose :
-// ----------------------------------------------------------------------------
+//=================================================================================================
 
 TopoDSToStep_MakeVertexError TopoDSToStep_MakeStepVertex::Error() const
 {
index 7ad333be69a2ad32853c8c9f89d8c44e6e2d8435..008998c9b50a40358178a3c584d377391efd97cb 100644 (file)
@@ -43,9 +43,8 @@
 #include <Transfer_FinderProcess.hxx>
 #include <TransferBRep_ShapeMapper.hxx>
 
-// ----------------------------------------------------------------------------
-// Constructors
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TopoDSToStep_MakeStepWire::TopoDSToStep_MakeStepWire()
     : myError(TopoDSToStep_WireOther)
 {
@@ -61,10 +60,7 @@ TopoDSToStep_MakeStepWire::TopoDSToStep_MakeStepWire(const TopoDS_Wire&
   Init(W, T, FP, theLocalFactors);
 }
 
-// ----------------------------------------------------------------------------
-// Method  : Init
-// Purpose :
-// ----------------------------------------------------------------------------
+//=================================================================================================
 
 void TopoDSToStep_MakeStepWire::Init(const TopoDS_Wire&                    aWire,
                                      TopoDSToStep_Tool&                    aTool,
@@ -301,10 +297,7 @@ void TopoDSToStep_MakeStepWire::Init(const TopoDS_Wire&                    aWire
   }
 }
 
-// ----------------------------------------------------------------------------
-// Method  : Value
-// Purpose :
-// ----------------------------------------------------------------------------
+//=================================================================================================
 
 const Handle(StepShape_TopologicalRepresentationItem)& TopoDSToStep_MakeStepWire::Value() const
 {
@@ -312,10 +305,7 @@ const Handle(StepShape_TopologicalRepresentationItem)& TopoDSToStep_MakeStepWire
   return myResult;
 }
 
-// ----------------------------------------------------------------------------
-// Method  : Error
-// Purpose :
-// ----------------------------------------------------------------------------
+//=================================================================================================
 
 TopoDSToStep_MakeWireError TopoDSToStep_MakeStepWire::Error() const
 {
index 3395ca4daf5417678146b8703ee5932bae1a9148..f7f8dd2bb203887ad73ba7cacebec12465a7bf83 100644 (file)
@@ -44,10 +44,7 @@ void MoniTool_Timer::Dump(Standard_OStream& ostr)
   ostr << buff << std::endl;
 }
 
-//=======================================================================
-// function : Dictionary
-// purpose  : Return DataMapOfTimer
-//=======================================================================
+//=================================================================================================
 
 MoniTool_DataMapOfTimer& MoniTool_Timer::Dictionary()
 {
index f582cc106c29a383e99d32470304d134ebcae5da..31fc22abaa27b6621c45dbd3acaed9fec97b15e3 100644 (file)
@@ -77,10 +77,7 @@ static Standard_Integer AbortTran(Draw_Interpretor& di, Standard_Integer n, cons
   return 0;
 }
 
-//=======================================================================
-// function : CommitTran
-// purpose  : Commits a transaction
-//=======================================================================
+//=================================================================================================
 
 static Standard_Integer CommitTran(Draw_Interpretor& di, Standard_Integer n, const char** a)
 {
index 253f37dd9a6d9c487631286e1936b1f21a054ddf..28d179fea289d01619aeea2a70e42550e229793b 100644 (file)
@@ -529,10 +529,7 @@ static Standard_Integer DDataStd_ChildNodeNext(Draw_Interpretor& /*di*/,
   return 0;
 }
 
-//=======================================================================
-// TreeNode : ChildNodeNextBrother
-// purpose  : ChildNodeNext Brother
-//=======================================================================
+//=================================================================================================
 
 static Standard_Integer DDataStd_ChildNodeNextBrother(Draw_Interpretor& /*di*/,
                                                       Standard_Integer /*n*/,
index 6e4006bd4b57b2bacae683cd4973cf1caaa0cdff..1decc6a6b82ecb96d8f7aacd3323f26b3211a503 100644 (file)
@@ -83,10 +83,7 @@ static int mtmAddDocument(Draw_Interpretor& di, int n, const char** a)
   return 0;
 }
 
-//=======================================================================
-// function : mtmOpenTransaction
-// purpose  : opens new transaction
-//=======================================================================
+//=================================================================================================
 
 static int mtmOpenTransaction(Draw_Interpretor& di, int /*n*/, const char** /*a*/)
 {
index 3b9245d463f3231d9e2bb346617ccdc34dfd92f7..1b2363e65bf7dbb53f740511c2862f07b2af1744 100644 (file)
@@ -703,10 +703,8 @@ Handle(TFunction_Function) DNaming::GetFirstFunction(const Handle(TDataStd_UAttr
   return aFirstFun;
 }
 
-//=======================================================================
-// function : GetLastFunction
-// purpose  : Returns Last function
-//=======================================================================
+//=================================================================================================
+
 Handle(TFunction_Function) DNaming::GetLastFunction(const Handle(TDataStd_UAttribute)& theObject)
 {
   Handle(TFunction_Function) aLastFun;
index 19a97a2f5e70ff25fa3f25205421fd4dd8443565..0f230ff1bb95fcd96546b383bc9cc29a5b495bcc 100644 (file)
@@ -81,10 +81,9 @@ static void Write(const TopoDS_Shape& shape, const Standard_CString filename)
   save.close();
 }
 #endif
-//=======================================================================
-// function : Execute
-// purpose  : Executes the function
-//=======================================================================
+
+//=================================================================================================
+
 Standard_Integer DNaming_PrismDriver::Execute(Handle(TFunction_Logbook)& theLog) const
 {
   Handle(TFunction_Function) aFunction;
index b70e489b9c729ad4eea8ce383e4a9b1a6d369e35..346118926384ad56d59ee2d94a0bc7559f0c206b 100644 (file)
@@ -69,10 +69,8 @@ Standard_Boolean DNaming_RevolutionDriver::MustExecute(const Handle(TFunction_Lo
   return Standard_True;
 }
 
-//=======================================================================
-// function : Execute
-// purpose  : Executes the function
-//=======================================================================
+//=================================================================================================
+
 Standard_Integer DNaming_RevolutionDriver::Execute(Handle(TFunction_Logbook)& theLog) const
 {
   Handle(TFunction_Function) aFunction;
index 4b73105a86b67270c9b274df14c3bb2fadce699c..665613c478a675111327a1282a2064a21e7cf52c 100644 (file)
@@ -61,10 +61,8 @@ Standard_Boolean DNaming_SphereDriver::MustExecute(const Handle(TFunction_Logboo
   return Standard_True;
 }
 
-//=======================================================================
-// function : Execute
-// purpose  : Executes the function
-//=======================================================================
+//=================================================================================================
+
 Standard_Integer DNaming_SphereDriver::Execute(Handle(TFunction_Logbook)& theLog) const
 {
   Handle(TFunction_Function) aFunction;
index 3b078e69d54450469c29268888e46a1bbe82290b..6ffee92f7929557a79d91526e0baeac25121987b 100644 (file)
@@ -913,10 +913,8 @@ static Standard_Integer OCC277bug(Draw_Interpretor& di, Standard_Integer nb, con
 #include <TDF_Label.hxx>
 #include <XCAFPrs_Driver.hxx>
 
-//------------------------------------------------------------------------------------------
-// name    : OCC363
-// Purpose :
-//------------------------------------------------------------------------------------------
+//=================================================================================================
+
 static Standard_Integer OCC363(Draw_Interpretor& di, Standard_Integer argc, const char** argv)
 {
   try
index b92daf62d58001fb95ef17e824c4fa7d989cb311..78cd7bd25945f8072ecc8186584819eaddfe9635 100644 (file)
@@ -43,9 +43,8 @@
 #include <GeomAPI_ProjectPointOnSurf.hxx>
 #include <Message.hxx>
 
-//-----------------------------------------------------------------------
-// suppressarg : suppress a[d],modifie na--
-//-----------------------------------------------------------------------
+//=================================================================================================
+
 static void suppressarg(Standard_Integer& na, const char** a, const Standard_Integer d)
 {
   for (Standard_Integer i = d; i < na; i++)
index 935a4cdeaa50854570aa68c976fdf3e9627215cf..35c9458fcc1464f8a34b29e869805798ea64bb78 100644 (file)
@@ -1138,10 +1138,8 @@ static Standard_Integer noteUsername(Draw_Interpretor& di, Standard_Integer argc
   return 0;
 }
 
-//=======================================================================
-// function : noteTimestamp
-// purpose  : gets a note timestamp
-//=======================================================================
+//=================================================================================================
+
 static const cmd XNoteTimestamp = {"XNoteTimestamp", 3, "XNoteTimestamp Doc note"};
 
 static Standard_Integer noteTimestamp(Draw_Interpretor& di,
index c16de5d654f6deff24a769289b7f9c07b1fc6fb1..874b17461fff55c55e3f595103da23cb90799e6c 100644 (file)
@@ -358,9 +358,8 @@ void BSplCLib::Trimming(const Standard_Integer         Degree,
     PLib::GetPoles(newpoles, NewPoles);
 }
 
-//--------------------------------------------------------------------------
-// ELEMENTARY COMPUTATIONS
-//--------------------------------------------------------------------------
+//=================================================================================================
+
 //
 // All the following methods are methods of low level used in BSplCLib
 // but also in BSplSLib (but not in Geom)
index 550bcd30a1125e1419e12da537d5e698f6ff4025..64650551704aa64311618b130368d39a5cdf62c2 100644 (file)
@@ -29,10 +29,8 @@ void* NCollection_BaseAllocator::AllocateOptimal(const size_t theSize)
   return Standard::AllocateOptimal(theSize);
 }
 
-//=======================================================================
-// function : Free
-// purpose  : Standard deallocation
-//=======================================================================
+//=================================================================================================
+
 void NCollection_BaseAllocator::Free(void* theAddress)
 {
   Standard::Free(theAddress);
index cdae9ca4dc92cf311fa128ae48dd9e758bc8a448..e7d04132473ab0b595d8af7c951d19991e74a93a 100644 (file)
@@ -396,10 +396,7 @@ void NCollection_BaseSequence::RemoveSeq(const Standard_Integer theIndex,
   fDel(p, myAllocator);
 }
 
-//=======================================================================
-// function : Remove
-// purpose  : remove a set of items
-//=======================================================================
+//=================================================================================================
 
 void NCollection_BaseSequence::RemoveSeq(const Standard_Integer From,
                                          const Standard_Integer To,
index 46119e5672eaa791797b96181ce8bdfdb8f53a43..629f2d2f857d084060fe17e662830a07f0fb90f2 100644 (file)
@@ -43,9 +43,7 @@ static const OSD_WhoAmI Iam = OSD_WEnvironment;
 
 OSD_Environment::OSD_Environment() {}
 
-// ----------------------------------------------------------------------
-// Constructor
-// ----------------------------------------------------------------------
+//=================================================================================================
 
 OSD_Environment::OSD_Environment(const TCollection_AsciiString& Name)
 {
@@ -56,9 +54,7 @@ OSD_Environment::OSD_Environment(const TCollection_AsciiString& Name)
   myName = Name;
 }
 
-// ----------------------------------------------------------------------
-// Create an environment variable and initialize it
-// ----------------------------------------------------------------------
+//=================================================================================================
 
 OSD_Environment::OSD_Environment(const TCollection_AsciiString& Name,
                                  const TCollection_AsciiString& Value)
@@ -73,18 +69,14 @@ OSD_Environment::OSD_Environment(const TCollection_AsciiString& Name,
   myValue = Value;
 }
 
-// ----------------------------------------------------------------------
-// Returns the name of the symbol
-// ----------------------------------------------------------------------
+//=================================================================================================
 
 TCollection_AsciiString OSD_Environment::Name() const
 {
   return myName;
 }
 
-// ----------------------------------------------------------------------
-// Set new value for environment variable
-// ----------------------------------------------------------------------
+//=================================================================================================
 
 void OSD_Environment::SetName(const TCollection_AsciiString& Name)
 {
@@ -95,9 +87,7 @@ void OSD_Environment::SetName(const TCollection_AsciiString& Name)
   myName = Name;
 }
 
-// ----------------------------------------------------------------------
-// Change value
-// ----------------------------------------------------------------------
+//=================================================================================================
 
 void OSD_Environment::SetValue(const TCollection_AsciiString& Value)
 {
@@ -107,9 +97,7 @@ void OSD_Environment::SetValue(const TCollection_AsciiString& Value)
   myValue = Value;
 }
 
-// ----------------------------------------------------------------------
-// Get environment variable physically
-// ----------------------------------------------------------------------
+//=================================================================================================
 
 TCollection_AsciiString OSD_Environment::Value()
 {
@@ -121,9 +109,7 @@ TCollection_AsciiString OSD_Environment::Value()
   return myValue;
 }
 
-// ----------------------------------------------------------------------
-// Sets physically the environment variable
-// ----------------------------------------------------------------------
+//=================================================================================================
 
 void OSD_Environment::Build()
 {
@@ -186,9 +172,7 @@ void OSD_Environment::Build()
     myError.SetValue(errno, Iam, "Set Environment");
 }
 
-// ----------------------------------------------------------------------
-// Remove physically the environment variable
-// ----------------------------------------------------------------------
+//=================================================================================================
 
 void OSD_Environment::Remove()
 {
index de1f373bf52311de7547da5519448f5ab4627fd5..5a7f73d2fe2abf512ee012ace8bd50f53abe0fd9 100644 (file)
@@ -199,9 +199,8 @@ Standard_CString OSD_SharedLibrary::DlError() const
   return (char*)dlerror();
 }
 
-// ----------------------------------------------------------------------------
-// Destroy
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void OSD_SharedLibrary::Destroy()
 {
   if (myName != NULL)
index 2f100d720d486b2353fa4849f6f38dfaa35c3378..bdb14a659c22815306550d6a9baedc9158e49ca6 100644 (file)
@@ -834,10 +834,7 @@ Standard_Boolean TColStd_PackedMapOfInteger::Subtract(const TColStd_PackedMapOfI
   }
 }
 
-//=======================================================================
-// function : Difference
-// purpose  : Boolean operation XOR
-//=======================================================================
+//=================================================================================================
 
 void TColStd_PackedMapOfInteger::Difference(const TColStd_PackedMapOfInteger& theMap1,
                                             const TColStd_PackedMapOfInteger& theMap2)
@@ -933,10 +930,7 @@ void TColStd_PackedMapOfInteger::Difference(const TColStd_PackedMapOfInteger& th
   }
 }
 
-//=======================================================================
-// function : Differ
-// purpose  : Boolean operation XOR
-//=======================================================================
+//=================================================================================================
 
 Standard_Boolean TColStd_PackedMapOfInteger::Differ(const TColStd_PackedMapOfInteger& theMap)
 {
index 6c8f9b2c32a9e9a3e789506ac03e41894af03a40..f9670b9a7fd3f1212438e78e8a91e0f9549b156d 100644 (file)
@@ -40,17 +40,15 @@ inline Standard_Size calculatePaddedSize(const int theLength)
 }
 } // namespace
 
-// ----------------------------------------------------------------------------
-// Create an empty AsciiString
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_AsciiString::TCollection_AsciiString()
 {
   allocate(0);
 }
 
-// ----------------------------------------------------------------------------
-// Create an asciistring from a Standard_CString
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_AsciiString::TCollection_AsciiString(const Standard_CString theString)
 {
   if (theString == NULL)
@@ -61,9 +59,8 @@ TCollection_AsciiString::TCollection_AsciiString(const Standard_CString theStrin
   memcpy(mystring, theString, mylength);
 }
 
-// ----------------------------------------------------------------------------
-// Create an asciistring from a Standard_CString
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_AsciiString::TCollection_AsciiString(const Standard_CString theString,
                                                  const Standard_Integer theLen)
 {
@@ -79,9 +76,8 @@ TCollection_AsciiString::TCollection_AsciiString(const Standard_CString theStrin
   memcpy(mystring, theString, mylength);
 }
 
-// ----------------------------------------------------------------------------
-// Create an asciistring from a Standard_Character
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_AsciiString::TCollection_AsciiString(const Standard_Character aChar)
 {
   if (aChar != '\0')
@@ -95,9 +91,8 @@ TCollection_AsciiString::TCollection_AsciiString(const Standard_Character aChar)
   }
 }
 
-// ----------------------------------------------------------------------------
-// Create an AsciiString from a filler
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_AsciiString::TCollection_AsciiString(const Standard_Integer   length,
                                                  const Standard_Character filler)
 {
@@ -105,9 +100,8 @@ TCollection_AsciiString::TCollection_AsciiString(const Standard_Integer   length
   memset(mystring, filler, length);
 }
 
-// ----------------------------------------------------------------------------
-// Create an AsciiString from an Integer
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_AsciiString::TCollection_AsciiString(const Standard_Integer aValue)
 {
   char t[13];
@@ -115,9 +109,8 @@ TCollection_AsciiString::TCollection_AsciiString(const Standard_Integer aValue)
   memcpy(mystring, t, mylength);
 }
 
-// ----------------------------------------------------------------------------
-// Create an asciistring from a real
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_AsciiString::TCollection_AsciiString(const Standard_Real aValue)
 {
   char t[50];
@@ -125,9 +118,8 @@ TCollection_AsciiString::TCollection_AsciiString(const Standard_Real aValue)
   memcpy(mystring, t, mylength);
 }
 
-// ----------------------------------------------------------------------------
-// Create an asciistring from an asciistring
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_AsciiString::TCollection_AsciiString(const TCollection_AsciiString& theString)
 {
   allocate(theString.mylength);
@@ -155,9 +147,8 @@ TCollection_AsciiString::TCollection_AsciiString(TCollection_AsciiString&& theOt
   theOther.mystring = THE_DEFAULT_CHAR_STRING;
 }
 
-// ----------------------------------------------------------------------------
-// Create an asciistring from a character
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_AsciiString::TCollection_AsciiString(const TCollection_AsciiString& theString,
                                                  const Standard_Character       theChar)
 {
@@ -169,9 +160,8 @@ TCollection_AsciiString::TCollection_AsciiString(const TCollection_AsciiString&
   mystring[mylength - 1] = theChar;
 }
 
-// ----------------------------------------------------------------------------
-// Create an asciistring from an asciistring
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_AsciiString::TCollection_AsciiString(const TCollection_AsciiString& theString1,
                                                  const Standard_CString         theString2)
 {
@@ -187,9 +177,8 @@ TCollection_AsciiString::TCollection_AsciiString(const TCollection_AsciiString&
   }
 }
 
-// ----------------------------------------------------------------------------
-// Create an asciistring from an asciistring
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_AsciiString::TCollection_AsciiString(const TCollection_AsciiString& theString1,
                                                  const TCollection_AsciiString& theString2)
 {
@@ -204,9 +193,8 @@ TCollection_AsciiString::TCollection_AsciiString(const TCollection_AsciiString&
   }
 }
 
-//---------------------------------------------------------------------------
-//  Create an asciistring from an ExtendedString
-//---------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_AsciiString::TCollection_AsciiString(const TCollection_ExtendedString& astring,
                                                  const Standard_Character          replaceNonAscii)
 {
@@ -228,9 +216,8 @@ TCollection_AsciiString::TCollection_AsciiString(const TCollection_ExtendedStrin
   }
 }
 
-//---------------------------------------------------------------------------
-//  Create an TCollection_AsciiString from a Standard_WideChar
-//---------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_AsciiString::TCollection_AsciiString(const Standard_WideChar* theStringUtf)
 {
   int aLength = 0;
@@ -246,27 +233,24 @@ TCollection_AsciiString::TCollection_AsciiString(const Standard_WideChar* theStr
   }
 }
 
-// ----------------------------------------------------------------------------
-// AssignCat
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::AssignCat(const Standard_Integer other)
 {
 
   AssignCat(TCollection_AsciiString(other));
 }
 
-// ----------------------------------------------------------------------------
-// AssignCat
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::AssignCat(const Standard_Real other)
 {
 
   AssignCat(TCollection_AsciiString(other));
 }
 
-// ----------------------------------------------------------------------------
-// AssignCat
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::AssignCat(const Standard_Character other)
 {
   if (other != '\0')
@@ -276,9 +260,8 @@ void TCollection_AsciiString::AssignCat(const Standard_Character other)
   }
 }
 
-// ----------------------------------------------------------------------------
-// AssignCat
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::AssignCat(const Standard_CString theOther)
 {
   if (theOther == NULL)
@@ -295,9 +278,8 @@ void TCollection_AsciiString::AssignCat(const Standard_CString theOther)
   }
 }
 
-// ----------------------------------------------------------------------------
-// AssignCat
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::AssignCat(const TCollection_AsciiString& theOther)
 {
   if (theOther.mylength != 0)
@@ -308,9 +290,8 @@ void TCollection_AsciiString::AssignCat(const TCollection_AsciiString& theOther)
   }
 }
 
-// ---------------------------------------------------------------------------
-// Capitalize
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::Capitalize()
 {
   if (mylength)
@@ -319,9 +300,8 @@ void TCollection_AsciiString::Capitalize()
     mystring[i] = ::LowerCase(mystring[i]);
 }
 
-// ---------------------------------------------------------------------------
-// Center
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::Center(const Standard_Integer Width, const Standard_Character Filler)
 {
   if (Width > mylength)
@@ -336,9 +316,8 @@ void TCollection_AsciiString::Center(const Standard_Integer Width, const Standar
   }
 }
 
-// ----------------------------------------------------------------------------
-// ChangeAll
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::ChangeAll(const Standard_Character aChar,
                                         const Standard_Character NewChar,
                                         const Standard_Boolean   CaseSensitive)
@@ -358,17 +337,15 @@ void TCollection_AsciiString::ChangeAll(const Standard_Character aChar,
   }
 }
 
-// ----------------------------------------------------------------------------
-// Clear
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::Clear()
 {
   deallocate();
 }
 
-// ----------------------------------------------------------------------------
-// Copy
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::Copy(const Standard_CString fromwhere)
 {
   if (fromwhere == mystring)
@@ -387,9 +364,8 @@ void TCollection_AsciiString::Copy(const Standard_CString fromwhere)
   }
 }
 
-// ----------------------------------------------------------------------------
-// Copy
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::Copy(const TCollection_AsciiString& fromwhere)
 {
   if (&fromwhere == this)
@@ -426,9 +402,8 @@ void TCollection_AsciiString::Move(TCollection_AsciiString&& theOther)
   theOther.mylength = 0;
 }
 
-// ----------------------------------------------------------------------------
-// Swap
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::Swap(TCollection_AsciiString& theOther)
 {
   if (&theOther == this)
@@ -439,17 +414,15 @@ void TCollection_AsciiString::Swap(TCollection_AsciiString& theOther)
   std::swap(mylength, theOther.mylength);
 }
 
-// ----------------------------------------------------------------------------
-// Destroy
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_AsciiString::~TCollection_AsciiString()
 {
   deallocate();
 }
 
-// ----------------------------------------------------------------------------
-// FirstLocationInSet
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_AsciiString::FirstLocationInSet(const TCollection_AsciiString& Set,
                                                              const Standard_Integer FromIndex,
                                                              const Standard_Integer ToIndex) const
@@ -467,9 +440,8 @@ Standard_Integer TCollection_AsciiString::FirstLocationInSet(const TCollection_A
   throw Standard_OutOfRange();
 }
 
-// ----------------------------------------------------------------------------
-// FirstLocationNotInSet
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_AsciiString::FirstLocationNotInSet(
   const TCollection_AsciiString& Set,
   const Standard_Integer         FromIndex,
@@ -494,9 +466,8 @@ Standard_Integer TCollection_AsciiString::FirstLocationNotInSet(
   throw Standard_OutOfRange();
 }
 
-//----------------------------------------------------------------------------
-// Insert a character before 'where'th character
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::Insert(const Standard_Integer where, const Standard_Character what)
 {
   if (where > mylength + 1)
@@ -514,9 +485,8 @@ void TCollection_AsciiString::Insert(const Standard_Integer where, const Standar
   mystring[where - 1] = what;
 }
 
-// ----------------------------------------------------------------------------
-// Insert
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::Insert(const Standard_Integer where, const Standard_CString what)
 {
   if (where <= mylength + 1 && where > 0)
@@ -542,9 +512,8 @@ void TCollection_AsciiString::Insert(const Standard_Integer where, const Standar
   }
 }
 
-// ----------------------------------------------------------------------------
-// Insert
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::Insert(const Standard_Integer         where,
                                      const TCollection_AsciiString& what)
 {
@@ -573,9 +542,8 @@ void TCollection_AsciiString::Insert(const Standard_Integer         where,
   }
 }
 
-//------------------------------------------------------------------------
-//  InsertAfter
-//------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::InsertAfter(const Standard_Integer         Index,
                                           const TCollection_AsciiString& what)
 {
@@ -584,9 +552,8 @@ void TCollection_AsciiString::InsertAfter(const Standard_Integer         Index,
   Insert(Index + 1, what);
 }
 
-//------------------------------------------------------------------------
-//  InsertBefore
-//------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::InsertBefore(const Standard_Integer         Index,
                                            const TCollection_AsciiString& what)
 {
@@ -595,9 +562,8 @@ void TCollection_AsciiString::InsertBefore(const Standard_Integer         Index,
   Insert(Index, what);
 }
 
-// ----------------------------------------------------------------------------
-// IsEqual
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_AsciiString::IsEqual(const Standard_CString other) const
 {
   if (other)
@@ -608,9 +574,8 @@ Standard_Boolean TCollection_AsciiString::IsEqual(const Standard_CString other)
                             "Parameter 'other'");
 }
 
-// ----------------------------------------------------------------------------
-// IsEqual
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_AsciiString::IsEqual(const TCollection_AsciiString& other) const
 {
   if (mylength != other.mylength)
@@ -618,9 +583,8 @@ Standard_Boolean TCollection_AsciiString::IsEqual(const TCollection_AsciiString&
   return (strncmp(other.mystring, mystring, mylength) == 0);
 }
 
-// ----------------------------------------------------------------------------
-// IsSameString
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_AsciiString::IsSameString(const TCollection_AsciiString& theString1,
                                                        const TCollection_AsciiString& theString2,
                                                        const Standard_Boolean theIsCaseSensitive)
@@ -646,9 +610,8 @@ Standard_Boolean TCollection_AsciiString::IsSameString(const TCollection_AsciiSt
   return Standard_True;
 }
 
-// ----------------------------------------------------------------------------
-// IsDifferent
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_AsciiString::IsDifferent(const Standard_CString other) const
 {
   if (other)
@@ -659,9 +622,8 @@ Standard_Boolean TCollection_AsciiString::IsDifferent(const Standard_CString oth
                             "Parameter 'other'");
 }
 
-// ----------------------------------------------------------------------------
-// IsDifferent
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_AsciiString::IsDifferent(const TCollection_AsciiString& other) const
 {
 
@@ -670,9 +632,8 @@ Standard_Boolean TCollection_AsciiString::IsDifferent(const TCollection_AsciiStr
   return (strncmp(other.mystring, mystring, mylength) != 0);
 }
 
-// ----------------------------------------------------------------------------
-// IsLess
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_AsciiString::IsLess(const Standard_CString other) const
 {
   if (other)
@@ -683,17 +644,15 @@ Standard_Boolean TCollection_AsciiString::IsLess(const Standard_CString other) c
                             "Parameter 'other'");
 }
 
-// ----------------------------------------------------------------------------
-// IsLess
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_AsciiString::IsLess(const TCollection_AsciiString& other) const
 {
   return (strncmp(mystring, other.mystring, mylength + 1) < 0);
 }
 
-// ----------------------------------------------------------------------------
-// IsGreater
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_AsciiString::IsGreater(const Standard_CString other) const
 {
   if (other)
@@ -704,17 +663,15 @@ Standard_Boolean TCollection_AsciiString::IsGreater(const Standard_CString other
                             "Parameter 'other'");
 }
 
-// ----------------------------------------------------------------------------
-// IsGreater
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_AsciiString::IsGreater(const TCollection_AsciiString& other) const
 {
   return (strncmp(mystring, other.mystring, mylength + 1) > 0);
 }
 
-// ----------------------------------------------------------------------------
-// StartsWith
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_AsciiString::StartsWith(
   const TCollection_AsciiString& theStartString) const
 {
@@ -727,9 +684,8 @@ Standard_Boolean TCollection_AsciiString::StartsWith(
          && strncmp(theStartString.mystring, mystring, theStartString.mylength) == 0;
 }
 
-// ----------------------------------------------------------------------------
-// EndsWith
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_AsciiString::EndsWith(
   const TCollection_AsciiString& theEndString) const
 {
@@ -745,9 +701,8 @@ Standard_Boolean TCollection_AsciiString::EndsWith(
               == 0;
 }
 
-// ----------------------------------------------------------------------------
-// IntegerValue
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_AsciiString::IntegerValue() const
 {
   char*            ptr;
@@ -758,9 +713,8 @@ Standard_Integer TCollection_AsciiString::IntegerValue() const
   throw Standard_NumericError("TCollection_AsciiString::IntegerValue");
 }
 
-// ----------------------------------------------------------------------------
-// IsIntegerValue
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_AsciiString::IsIntegerValue() const
 {
   char* ptr;
@@ -778,9 +732,8 @@ Standard_Boolean TCollection_AsciiString::IsIntegerValue() const
   return Standard_False;
 }
 
-// ----------------------------------------------------------------------------
-// IsRealValue
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_AsciiString::IsRealValue(Standard_Boolean theToCheckFull) const
 {
   char* ptr;
@@ -795,9 +748,8 @@ Standard_Boolean TCollection_AsciiString::IsRealValue(Standard_Boolean theToChec
   }
 }
 
-// ----------------------------------------------------------------------------
-// IsAscii
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_AsciiString::IsAscii() const
 {
   // LD : Debuggee le 26/11/98
@@ -808,9 +760,8 @@ Standard_Boolean TCollection_AsciiString::IsAscii() const
   return Standard_True;
 }
 
-//------------------------------------------------------------------------
-//  LeftAdjust
-//------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::LeftAdjust()
 {
   Standard_Integer i;
@@ -821,9 +772,8 @@ void TCollection_AsciiString::LeftAdjust()
     Remove(1, i);
 }
 
-//------------------------------------------------------------------------
-//  LeftJustify
-//------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::LeftJustify(const Standard_Integer   Width,
                                           const Standard_Character Filler)
 {
@@ -840,9 +790,8 @@ void TCollection_AsciiString::LeftJustify(const Standard_Integer   Width,
   }
 }
 
-//------------------------------------------------------------------------
-//  Location
-//------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_AsciiString::Location(const Standard_Integer   N,
                                                    const Standard_Character C,
                                                    const Standard_Integer   FromIndex,
@@ -864,9 +813,8 @@ Standard_Integer TCollection_AsciiString::Location(const Standard_Integer   N,
   throw Standard_OutOfRange();
 }
 
-//------------------------------------------------------------------------
-//  Location
-//------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_AsciiString::Location(const TCollection_AsciiString& what,
                                                    const Standard_Integer         FromIndex,
                                                    const Standard_Integer         ToIndex) const
@@ -904,26 +852,23 @@ Standard_Integer TCollection_AsciiString::Location(const TCollection_AsciiString
   throw Standard_OutOfRange();
 }
 
-// ----------------------------------------------------------------------------
-// LowerCase
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::LowerCase()
 {
   for (int i = 0; i < mylength; i++)
     mystring[i] = ::LowerCase(mystring[i]);
 }
 
-//------------------------------------------------------------------------
-//  Prepend
-//------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::Prepend(const TCollection_AsciiString& what)
 {
   Insert(1, what);
 }
 
-// ----------------------------------------------------------------------------
-// RealValue
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Real TCollection_AsciiString::RealValue() const
 {
   char*         ptr;
@@ -934,9 +879,8 @@ Standard_Real TCollection_AsciiString::RealValue() const
   throw Standard_NumericError("TCollection_AsciiString::RealValue");
 }
 
-// ----------------------------------------------------------------------------
-// Read
-//--------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::Read(Standard_IStream& astream)
 {
   // get characters from astream
@@ -958,9 +902,8 @@ Standard_IStream& operator>>(Standard_IStream& astream, TCollection_AsciiString&
   return astream;
 }
 
-// ----------------------------------------------------------------------------
-// Print
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::Print(Standard_OStream& astream) const
 {
   if (mystring)
@@ -974,9 +917,8 @@ Standard_OStream& operator<<(Standard_OStream& astream, const TCollection_AsciiS
   return astream;
 }
 
-// ----------------------------------------------------------------------------
-// RemoveAll
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::RemoveAll(const Standard_Character what,
                                         const Standard_Boolean   CaseSensitive)
 {
@@ -998,17 +940,15 @@ void TCollection_AsciiString::RemoveAll(const Standard_Character what,
   mystring[mylength] = '\0';
 }
 
-// ----------------------------------------------------------------------------
-// RemoveAll
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::RemoveAll(const Standard_Character what)
 {
   RemoveAll(what, Standard_True);
 }
 
-// ----------------------------------------------------------------------------
-// Remove
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::Remove(const Standard_Integer where, const Standard_Integer ahowmany)
 {
   if (where + ahowmany <= mylength + 1)
@@ -1027,9 +967,8 @@ void TCollection_AsciiString::Remove(const Standard_Integer where, const Standar
   }
 }
 
-//------------------------------------------------------------------------
-//  RightAdjust
-//------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::RightAdjust()
 {
   Standard_Integer i;
@@ -1040,9 +979,8 @@ void TCollection_AsciiString::RightAdjust()
     Remove(i + 2, mylength - (i + 2) + 1);
 }
 
-//------------------------------------------------------------------------
-//  RightJustify
-//------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::RightJustify(const Standard_Integer   Width,
                                            const Standard_Character Filler)
 {
@@ -1062,9 +1000,8 @@ void TCollection_AsciiString::RightJustify(const Standard_Integer   Width,
   }
 }
 
-// ----------------------------------------------------------------------------
-// Search
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_AsciiString::Search(const Standard_CString what) const
 {
   Standard_Integer size = Standard_Integer(what ? strlen(what) : 0);
@@ -1084,9 +1021,8 @@ Standard_Integer TCollection_AsciiString::Search(const Standard_CString what) co
   return -1;
 }
 
-// ----------------------------------------------------------------------------
-// Search
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_AsciiString::Search(const TCollection_AsciiString& what) const
 {
   Standard_Integer size  = what.mylength;
@@ -1107,9 +1043,8 @@ Standard_Integer TCollection_AsciiString::Search(const TCollection_AsciiString&
   return -1;
 }
 
-// ----------------------------------------------------------------------------
-// SearchFromEnd
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_AsciiString::SearchFromEnd(const Standard_CString what) const
 {
   Standard_Integer size = Standard_Integer(what ? strlen(what) : 0);
@@ -1129,9 +1064,8 @@ Standard_Integer TCollection_AsciiString::SearchFromEnd(const Standard_CString w
   return -1;
 }
 
-// ----------------------------------------------------------------------------
-// SearchFromEnd
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_AsciiString::SearchFromEnd(const TCollection_AsciiString& what) const
 {
   int size = what.mylength;
@@ -1152,9 +1086,8 @@ Standard_Integer TCollection_AsciiString::SearchFromEnd(const TCollection_AsciiS
   return -1;
 }
 
-// ----------------------------------------------------------------------------
-// SetValue
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::SetValue(const Standard_Integer   theWhere,
                                        const Standard_Character theWhat)
 {
@@ -1169,9 +1102,8 @@ void TCollection_AsciiString::SetValue(const Standard_Integer   theWhere,
   mystring[theWhere - 1] = theWhat;
 }
 
-// ----------------------------------------------------------------------------
-// SetValue
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::SetValue(const Standard_Integer where, const Standard_CString what)
 {
   if (where > 0 && where <= mylength + 1)
@@ -1192,9 +1124,8 @@ void TCollection_AsciiString::SetValue(const Standard_Integer where, const Stand
   }
 }
 
-// ----------------------------------------------------------------------------
-// SetValue
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::SetValue(const Standard_Integer         where,
                                        const TCollection_AsciiString& what)
 {
@@ -1217,9 +1148,8 @@ void TCollection_AsciiString::SetValue(const Standard_Integer         where,
   }
 }
 
-// ----------------------------------------------------------------------------
-// Split
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_AsciiString TCollection_AsciiString::Split(const Standard_Integer where)
 {
   if (where >= 0 && where <= mylength)
@@ -1231,9 +1161,8 @@ TCollection_AsciiString TCollection_AsciiString::Split(const Standard_Integer wh
   throw Standard_OutOfRange("TCollection_AsciiString::Split index");
 }
 
-// ----------------------------------------------------------------------------
-// Token
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_AsciiString TCollection_AsciiString::Token(const Standard_CString separators,
                                                        const Standard_Integer whichone) const
 {
@@ -1293,9 +1222,8 @@ TCollection_AsciiString TCollection_AsciiString::Token(const Standard_CString se
   return TCollection_AsciiString(&mystring[BeginIndex - 1], EndIndex - BeginIndex + 1);
 }
 
-// ----------------------------------------------------------------------------
-// Trunc
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::Trunc(const Standard_Integer ahowmany)
 {
   if (ahowmany < 0 || ahowmany > mylength)
@@ -1305,18 +1233,16 @@ void TCollection_AsciiString::Trunc(const Standard_Integer ahowmany)
   mystring[mylength] = '\0';
 }
 
-// ----------------------------------------------------------------------------
-// UpperCase
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_AsciiString::UpperCase()
 {
   for (int i = 0; i < mylength; i++)
     mystring[i] = ::UpperCase(mystring[i]);
 }
 
-//------------------------------------------------------------------------
-//  UsefullLength
-//------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_AsciiString::UsefullLength() const
 {
   Standard_Integer i;
@@ -1326,9 +1252,8 @@ Standard_Integer TCollection_AsciiString::UsefullLength() const
   return i + 1;
 }
 
-// ----------------------------------------------------------------------------
-// Value
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Character TCollection_AsciiString::Value(const Standard_Integer where) const
 {
   if (where > 0 && where <= mylength)
index d31e6b73babce4a9f271b8eeee244fb7910231ad..0eacfca289bbefca2e5031f6ed99f808a7f1fe5d 100644 (file)
@@ -28,18 +28,16 @@ struct hash<TCollection_AsciiString>
 };
 } // namespace std
 
-//------------------------------------------------------------------------
-//  IsEqual
-//------------------------------------------------------------------------
+//=================================================================================================
+
 inline Standard_Boolean IsEqual(const TCollection_AsciiString& string1,
                                 const TCollection_AsciiString& string2)
 {
   return TCollection_AsciiString::IsEqual(string1, string2);
 }
 
-// ----------------------------------------------------------------------------
-// ToCString
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 inline Standard_CString TCollection_AsciiString::ToCString() const
 {
   return mystring;
@@ -90,27 +88,24 @@ inline size_t TCollection_AsciiString::HashCode() const
   return opencascade::hashBytes(mystring, mylength);
 }
 
-//------------------------------------------------------------------------
-//  IsEqual
-//------------------------------------------------------------------------
+//=================================================================================================
+
 inline Standard_Boolean TCollection_AsciiString::IsEqual(const TCollection_AsciiString& string1,
                                                          const TCollection_AsciiString& string2)
 {
   return string1.IsEqual(string2);
 }
 
-//------------------------------------------------------------------------
-//  IsEqual
-//------------------------------------------------------------------------
+//=================================================================================================
+
 inline Standard_Boolean TCollection_AsciiString::IsEqual(const TCollection_AsciiString& string1,
                                                          const Standard_CString         string2)
 {
   return string1.IsEqual(string2);
 }
 
-// ----------------------------------------------------------------------------
-// SubString
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 inline TCollection_AsciiString TCollection_AsciiString::SubString(
   const Standard_Integer FromIndex,
   const Standard_Integer ToIndex) const
index 418a79f6ac97675144c3c3e7ccb9d1195caab3bb..c2b8fbc1aa7891155989cf7ba93ebe12ab9d6b93 100644 (file)
@@ -91,17 +91,15 @@ inline Standard_ExtCharacter* Standard_UNUSED
 
 } // namespace
 
-//-----------------------------------------------------------------------------
-// Create an empty ExtendedString
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_ExtendedString::TCollection_ExtendedString()
 {
   allocate(0);
 }
 
-//----------------------------------------------------------------------------
-// Create an ExtendedString from a Standard_CString
-//----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_ExtendedString::TCollection_ExtendedString(const Standard_CString theString,
                                                        const Standard_Boolean isMultiByte)
 {
@@ -130,9 +128,8 @@ TCollection_ExtendedString::TCollection_ExtendedString(const Standard_CString th
   }
 }
 
-//---------------------------------------------------------------------------
-// Create an ExtendedString from an ExtString
-//--------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_ExtendedString::TCollection_ExtendedString(const Standard_ExtString theString)
 {
   if (theString == NULL)
@@ -147,9 +144,8 @@ TCollection_ExtendedString::TCollection_ExtendedString(const Standard_ExtString
   memcpy(mystring, theString, mylength * sizeof(Standard_ExtCharacter));
 }
 
-// ----------------------------------------------------------------------------
-// TCollection_ExtendedString
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_ExtendedString::TCollection_ExtendedString(const Standard_WideChar* theStringUtf)
 {
   if (theStringUtf == NULL)
@@ -160,9 +156,8 @@ TCollection_ExtendedString::TCollection_ExtendedString(const Standard_WideChar*
   mystring = fromWideString<sizeof(Standard_WideChar)>(theStringUtf, mylength);
 }
 
-// ----------------------------------------------------------------------------
-// Create an asciistring from a Standard_Character
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_ExtendedString::TCollection_ExtendedString(const Standard_Character aChar)
 {
   if (aChar != '\0')
@@ -176,18 +171,16 @@ TCollection_ExtendedString::TCollection_ExtendedString(const Standard_Character
   }
 }
 
-//--------------------------------------------------------------------------
-// Create a string from a ExtCharacter
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_ExtendedString::TCollection_ExtendedString(const Standard_ExtCharacter aChar)
 {
   allocate(1);
   mystring[0] = aChar;
 }
 
-// ----------------------------------------------------------------------------
-// Create an AsciiString from a filler
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_ExtendedString::TCollection_ExtendedString(const Standard_Integer      length,
                                                        const Standard_ExtCharacter filler)
 {
@@ -196,9 +189,8 @@ TCollection_ExtendedString::TCollection_ExtendedString(const Standard_Integer
     mystring[i] = filler;
 }
 
-// ----------------------------------------------------------------------------
-// Create a String from an Integer
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_ExtendedString::TCollection_ExtendedString(const Standard_Integer aValue)
 {
   union {
@@ -212,9 +204,8 @@ TCollection_ExtendedString::TCollection_ExtendedString(const Standard_Integer aV
     mystring[i] = ToExtCharacter(CHN.t[i]);
 }
 
-// ----------------------------------------------------------------------------
-// Create a String from a real
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_ExtendedString::TCollection_ExtendedString(const Standard_Real aValue)
 {
   union {
@@ -228,9 +219,8 @@ TCollection_ExtendedString::TCollection_ExtendedString(const Standard_Real aValu
     mystring[i] = ToExtCharacter(CHN.t[i]);
 }
 
-//-----------------------------------------------------------------------------
-// create an extendedstring from an extendedstring
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_ExtendedString::TCollection_ExtendedString(const TCollection_ExtendedString& theOther)
 {
   allocate(theOther.mylength);
@@ -255,9 +245,8 @@ TCollection_ExtendedString::TCollection_ExtendedString(
   theOther.mylength = 0;
 }
 
-//---------------------------------------------------------------------------
-//  Create an extendedstring from an AsciiString
-//---------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_ExtendedString::TCollection_ExtendedString(const TCollection_AsciiString& theString,
                                                        const Standard_Boolean         isMultiByte)
 {
@@ -274,9 +263,8 @@ TCollection_ExtendedString::TCollection_ExtendedString(const TCollection_AsciiSt
   }
 }
 
-// ----------------------------------------------------------------------------
-//  AssignCat
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_ExtendedString::AssignCat(const TCollection_ExtendedString& theOther)
 {
   if (theOther.mylength == 0)
@@ -290,9 +278,8 @@ void TCollection_ExtendedString::AssignCat(const TCollection_ExtendedString& the
   memcpy(mystring + anOldLength, theOther.mystring, anOtherLength * sizeof(Standard_ExtCharacter));
 }
 
-// ----------------------------------------------------------------------------
-//  AssignCat
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_ExtendedString::AssignCat(const Standard_Utf16Char theChar)
 {
   if (theChar != '\0')
@@ -302,9 +289,8 @@ void TCollection_ExtendedString::AssignCat(const Standard_Utf16Char theChar)
   }
 }
 
-// ----------------------------------------------------------------------------
-// Cat
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_ExtendedString TCollection_ExtendedString::Cat(
   const TCollection_ExtendedString& other) const
 {
@@ -316,9 +302,8 @@ TCollection_ExtendedString TCollection_ExtendedString::Cat(
   return res;
 }
 
-// ----------------------------------------------------------------------------
-// ChangeAll
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_ExtendedString::ChangeAll(const Standard_ExtCharacter aChar,
                                            const Standard_ExtCharacter NewChar)
 {
@@ -327,17 +312,15 @@ void TCollection_ExtendedString::ChangeAll(const Standard_ExtCharacter aChar,
       mystring[i] = NewChar;
 }
 
-// ----------------------------------------------------------------------------
-// Clear
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_ExtendedString::Clear()
 {
   deallocate();
 }
 
-// ----------------------------------------------------------------------------
-// Copy
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_ExtendedString::Copy(const TCollection_ExtendedString& fromwhere)
 {
   if (&fromwhere == this)
@@ -381,9 +364,8 @@ void TCollection_ExtendedString::Move(TCollection_ExtendedString&& theOther)
   theOther.mylength = 0;
 }
 
-// ----------------------------------------------------------------------------
-// Swap
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_ExtendedString::Swap(TCollection_ExtendedString& theOther)
 {
   if (&theOther == this)
@@ -394,17 +376,15 @@ void TCollection_ExtendedString::Swap(TCollection_ExtendedString& theOther)
   std::swap(mylength, theOther.mylength);
 }
 
-// ----------------------------------------------------------------------------
-// Destroy
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_ExtendedString::~TCollection_ExtendedString()
 {
   deallocate();
 }
 
-//----------------------------------------------------------------------------
-// Insert a character before 'where'th character
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_ExtendedString::Insert(const Standard_Integer      where,
                                         const Standard_ExtCharacter what)
 {
@@ -423,9 +403,8 @@ void TCollection_ExtendedString::Insert(const Standard_Integer      where,
   mystring[where - 1] = what;
 }
 
-// ----------------------------------------------------------------------------
-// Insert
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_ExtendedString::Insert(const Standard_Integer            where,
                                         const TCollection_ExtendedString& what)
 {
@@ -453,9 +432,8 @@ void TCollection_ExtendedString::Insert(const Standard_Integer            where,
   }
 }
 
-// ----------------------------------------------------------------------------
-// ExtStrCmp: strcmp for 16-bit chars
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 static int ExtStrCmp(const Standard_ExtString theStr1, const Standard_ExtString theStr2)
 {
   const Standard_ExtCharacter* aStr1 = theStr1;
@@ -470,34 +448,30 @@ static int ExtStrCmp(const Standard_ExtString theStr1, const Standard_ExtString
   return *aStr1 - *aStr2;
 }
 
-// ----------------------------------------------------------------------------
-// IsEqual
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_ExtendedString::IsEqual(const Standard_ExtString other) const
 {
   return ExtStrCmp(mystring, other) == 0;
 }
 
-// ----------------------------------------------------------------------------
-// IsEqual
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_ExtendedString::IsEqual(const TCollection_ExtendedString& other) const
 {
   return mylength == other.mylength
          && memcmp(mystring, other.mystring, (mylength + 1) * sizeof(Standard_ExtCharacter)) == 0;
 }
 
-// ----------------------------------------------------------------------------
-// IsDifferent
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_ExtendedString::IsDifferent(const Standard_ExtString other) const
 {
   return ExtStrCmp(mystring, other) != 0;
 }
 
-// ----------------------------------------------------------------------------
-// IsDifferent
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_ExtendedString::IsDifferent(
   const TCollection_ExtendedString& other) const
 {
@@ -505,42 +479,37 @@ Standard_Boolean TCollection_ExtendedString::IsDifferent(
          || memcmp(mystring, other.mystring, (mylength + 1) * sizeof(Standard_ExtCharacter)) != 0;
 }
 
-// ----------------------------------------------------------------------------
-// IsLess
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_ExtendedString::IsLess(const Standard_ExtString other) const
 {
   return ExtStrCmp(mystring, other) < 0;
 }
 
-// ----------------------------------------------------------------------------
-// IsLess
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_ExtendedString::IsLess(const TCollection_ExtendedString& other) const
 {
   return ExtStrCmp(mystring, other.mystring) < 0;
 }
 
-// ----------------------------------------------------------------------------
-// IsGreater
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_ExtendedString::IsGreater(const Standard_ExtString other) const
 {
   return ExtStrCmp(mystring, other) > 0;
 }
 
-// ----------------------------------------------------------------------------
-// IsGreater
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_ExtendedString::IsGreater(
   const TCollection_ExtendedString& other) const
 {
   return ExtStrCmp(mystring, other.mystring) > 0;
 }
 
-// ----------------------------------------------------------------------------
-// StartsWith
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_ExtendedString::StartsWith(
   const TCollection_ExtendedString& theStartString) const
 {
@@ -556,9 +525,8 @@ Standard_Boolean TCollection_ExtendedString::StartsWith(
               == 0;
 }
 
-// ----------------------------------------------------------------------------
-// EndsWith
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_ExtendedString::EndsWith(
   const TCollection_ExtendedString& theEndString) const
 {
@@ -574,9 +542,8 @@ Standard_Boolean TCollection_ExtendedString::EndsWith(
               == 0;
 }
 
-// ----------------------------------------------------------------------------
-// IsAscii
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_ExtendedString::IsAscii() const
 {
   for (Standard_Integer i = 0; i < mylength; i++)
@@ -585,17 +552,15 @@ Standard_Boolean TCollection_ExtendedString::IsAscii() const
   return Standard_True;
 }
 
-//------------------------------------------------------------------------
-//  Length
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_ExtendedString::Length() const
 {
   return mylength;
 }
 
-// ----------------------------------------------------------------------------
-// Print
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_ExtendedString::Print(Standard_OStream& theStream) const
 {
   if (mylength > 0)
@@ -612,9 +577,8 @@ Standard_OStream& operator<<(Standard_OStream& astream, const TCollection_Extend
   return astream;
 }
 
-// ----------------------------------------------------------------------------
-// RemoveAll
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_ExtendedString::RemoveAll(const Standard_ExtCharacter what)
 
 {
@@ -628,9 +592,8 @@ void TCollection_ExtendedString::RemoveAll(const Standard_ExtCharacter what)
   mystring[mylength] = '\0';
 }
 
-// ----------------------------------------------------------------------------
-// Remove
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_ExtendedString::Remove(const Standard_Integer where,
                                         const Standard_Integer ahowmany)
 {
@@ -648,9 +611,8 @@ void TCollection_ExtendedString::Remove(const Standard_Integer where,
                               "invalid starting value.");
 }
 
-// ----------------------------------------------------------------------------
-// Search
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_ExtendedString::Search(const TCollection_ExtendedString& what) const
 {
   Standard_Integer   size  = what.mylength;
@@ -674,9 +636,8 @@ Standard_Integer TCollection_ExtendedString::Search(const TCollection_ExtendedSt
   return -1;
 }
 
-// ----------------------------------------------------------------------------
-// SearchFromEnd
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_ExtendedString::SearchFromEnd(
   const TCollection_ExtendedString& what) const
 {
@@ -701,9 +662,8 @@ Standard_Integer TCollection_ExtendedString::SearchFromEnd(
   return -1;
 }
 
-// ----------------------------------------------------------------------------
-// SetValue
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_ExtendedString::SetValue(const Standard_Integer      where,
                                           const Standard_ExtCharacter what)
 {
@@ -717,9 +677,8 @@ void TCollection_ExtendedString::SetValue(const Standard_Integer      where,
   }
 }
 
-// ----------------------------------------------------------------------------
-// SetValue
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_ExtendedString::SetValue(const Standard_Integer            where,
                                           const TCollection_ExtendedString& what)
 {
@@ -740,9 +699,8 @@ void TCollection_ExtendedString::SetValue(const Standard_Integer            wher
                               "parameter where");
 }
 
-// ----------------------------------------------------------------------------
-// Split
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_ExtendedString TCollection_ExtendedString::Split(const Standard_Integer where)
 {
   if (where >= 0 && where < mylength)
@@ -754,9 +712,8 @@ TCollection_ExtendedString TCollection_ExtendedString::Split(const Standard_Inte
   throw Standard_OutOfRange("TCollection_ExtendedString::Split index");
 }
 
-// ----------------------------------------------------------------------------
-// Token
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_ExtendedString TCollection_ExtendedString::Token(const Standard_ExtString separators,
                                                              const Standard_Integer whichone) const
 {
@@ -847,17 +804,15 @@ TCollection_ExtendedString TCollection_ExtendedString::Token(const Standard_ExtS
   return res;
 }
 
-// ----------------------------------------------------------------------------
-// ToExtString
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_ExtString TCollection_ExtendedString::ToExtString() const
 {
   return mystring;
 }
 
-// ----------------------------------------------------------------------------
-// Trunc
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_ExtendedString::Trunc(const Standard_Integer ahowmany)
 {
   if (ahowmany < 0 || ahowmany > mylength)
@@ -867,9 +822,8 @@ void TCollection_ExtendedString::Trunc(const Standard_Integer ahowmany)
   mystring[mylength] = '\0';
 }
 
-// ----------------------------------------------------------------------------
-// Value
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_ExtCharacter TCollection_ExtendedString::Value(const Standard_Integer where) const
 {
   if (where > 0 && where <= mylength)
@@ -883,9 +837,8 @@ Standard_ExtCharacter TCollection_ExtendedString::Value(const Standard_Integer w
                             "parameter where");
 }
 
-//----------------------------------------------------------------------------
-// Convert CString (including multibyte case) to UniCode representation
-//----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_ExtendedString::ConvertToUnicode(const Standard_CString theStringUtf)
 {
   NCollection_Utf8Iter   anIterRead(theStringUtf);
index a997f83cbb56612dc29023654c71f1ffe7f383ec..2911c9d1eba86a613982384586b384b1291640a2 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(TCollection_HAsciiString, Standard_Transient)
 
-// ----------------------------------------------------------------------------
-// Create
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_HAsciiString::TCollection_HAsciiString()
     : myString()
 {
 }
 
-// ----------------------------------------------------------------------------
-// Create
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_HAsciiString::TCollection_HAsciiString(const Standard_CString message)
     : myString(message)
 {
 }
 
-// ----------------------------------------------------------------------------
-// Create
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_HAsciiString::TCollection_HAsciiString(const TCollection_AsciiString& astring)
     : myString(astring)
 {
 }
 
-// ----------------------------------------------------------------------------
-// Create
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_HAsciiString::TCollection_HAsciiString(const Standard_Character aChar)
     : myString(aChar)
 {
 }
 
-// ----------------------------------------------------------------------------
-// Create
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_HAsciiString::TCollection_HAsciiString(const Standard_Integer   length,
                                                    const Standard_Character filler)
     : myString(length, filler)
 {
 }
 
-// ----------------------------------------------------------------------------
-// Create
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_HAsciiString::TCollection_HAsciiString(const Standard_Integer aValue)
     : myString(aValue)
 {
 }
 
-// ----------------------------------------------------------------------------
-// Create
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_HAsciiString::TCollection_HAsciiString(const Standard_Real aValue)
     : myString(aValue)
 {
 }
 
-// ----------------------------------------------------------------------------
-// Create
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_HAsciiString::TCollection_HAsciiString(const Handle(TCollection_HAsciiString)& astring)
     : myString(astring->String())
 {
 }
 
-// ----------------------------------------------------------------------------
-// Create
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_HAsciiString::TCollection_HAsciiString(
   const Handle(TCollection_HExtendedString)& astring,
   const Standard_Character                   replaceNonAscii)
@@ -95,34 +86,30 @@ TCollection_HAsciiString::TCollection_HAsciiString(
 {
 }
 
-// ---------------------------------------------------------------------------
-// Capitalize
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::Capitalize()
 {
   myString.Capitalize();
 }
 
-// ---------------------------------------------------------------------------
-// Cat
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Handle(TCollection_HAsciiString) TCollection_HAsciiString::Cat(const Standard_CString other) const
 {
   return new TCollection_HAsciiString(myString.Cat(other));
 }
 
-// ---------------------------------------------------------------------------
-// Cat
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Handle(TCollection_HAsciiString) TCollection_HAsciiString::Cat(
   const Handle(TCollection_HAsciiString)& other) const
 {
   return new TCollection_HAsciiString(myString.Cat(other->String()));
 }
 
-// ---------------------------------------------------------------------------
-// Center
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::Center(const Standard_Integer Width, const Standard_Character Filler)
 {
   if (Width < 0)
@@ -130,9 +117,8 @@ void TCollection_HAsciiString::Center(const Standard_Integer Width, const Standa
   myString.Center(Width, Filler);
 }
 
-// ----------------------------------------------------------------------------
-// ChangeAll
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::ChangeAll(const Standard_Character aChar,
                                          const Standard_Character NewChar,
                                          const Standard_Boolean   CaseSensitive)
@@ -140,17 +126,15 @@ void TCollection_HAsciiString::ChangeAll(const Standard_Character aChar,
   myString.ChangeAll(aChar, NewChar, CaseSensitive);
 }
 
-// ----------------------------------------------------------------------------
-// Clear
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::Clear()
 {
   myString.Clear();
 }
 
-// ----------------------------------------------------------------------------
-// FirstLocationInSet
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_HAsciiString::FirstLocationInSet(
   const Handle(TCollection_HAsciiString)& Set,
   const Standard_Integer                  FromIndex,
@@ -163,9 +147,8 @@ Standard_Integer TCollection_HAsciiString::FirstLocationInSet(
   return (myString.FirstLocationInSet(Set->String(), FromIndex, ToIndex));
 }
 
-// ----------------------------------------------------------------------------
-// FirstLocationNotInSet
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_HAsciiString::FirstLocationNotInSet(
   const Handle(TCollection_HAsciiString)& Set,
   const Standard_Integer                  FromIndex,
@@ -178,34 +161,30 @@ Standard_Integer TCollection_HAsciiString::FirstLocationNotInSet(
   return (myString.FirstLocationNotInSet(Set->String(), FromIndex, ToIndex));
 }
 
-// ----------------------------------------------------------------------------
-// Insert a Standard_Character before 'where'th Standard_Character
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::Insert(const Standard_Integer where, const Standard_Character what)
 {
   myString.Insert(where, what);
 }
 
-// ----------------------------------------------------------------------------
-// Insert
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::Insert(const Standard_Integer where, const Standard_CString what)
 {
   myString.Insert(where, what);
 }
 
-// ----------------------------------------------------------------------------
-// Insert
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::Insert(const Standard_Integer                  where,
                                       const Handle(TCollection_HAsciiString)& what)
 {
   myString.Insert(where, what->String());
 }
 
-//------------------------------------------------------------------------
-//  InsertAfter
-//------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::InsertAfter(const Standard_Integer                  Index,
                                            const Handle(TCollection_HAsciiString)& S)
 {
@@ -217,9 +196,8 @@ void TCollection_HAsciiString::InsertAfter(const Standard_Integer
   myString.InsertAfter(Index, S->String());
 }
 
-//------------------------------------------------------------------------
-//  InsertBefore
-//------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::InsertBefore(const Standard_Integer                  Index,
                                             const Handle(TCollection_HAsciiString)& S)
 {
@@ -231,67 +209,59 @@ void TCollection_HAsciiString::InsertBefore(const Standard_Integer
   myString.InsertBefore(Index, S->String());
 }
 
-// ----------------------------------------------------------------------------
-// IsEmpty
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_HAsciiString::IsEmpty() const
 {
   return (myString.Length() == 0);
 }
 
-// ----------------------------------------------------------------------------
-// IsLess
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_HAsciiString::IsLess(
   const Handle(TCollection_HAsciiString)& other) const
 {
   return myString.IsLess(other->String());
 }
 
-// ----------------------------------------------------------------------------
-// IsGreater
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_HAsciiString::IsGreater(
   const Handle(TCollection_HAsciiString)& other) const
 {
   return myString.IsGreater(other->String());
 }
 
-// ----------------------------------------------------------------------------
-// IntegerValue
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_HAsciiString::IntegerValue() const
 {
   return myString.IntegerValue();
 }
 
-// ----------------------------------------------------------------------------
-// IsIntegerValue
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_HAsciiString::IsIntegerValue() const
 {
   return myString.IsIntegerValue();
 }
 
-// ----------------------------------------------------------------------------
-// IsRealvalue
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_HAsciiString::IsRealValue() const
 {
   return myString.IsRealValue();
 }
 
-// ----------------------------------------------------------------------------
-// IsAscii
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_HAsciiString::IsAscii() const
 {
   return myString.IsAscii();
 }
 
-// ----------------------------------------------------------------------------
-// IsDifferent
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_HAsciiString::IsDifferent(
   const Handle(TCollection_HAsciiString)& S) const
 {
@@ -302,9 +272,8 @@ Standard_Boolean TCollection_HAsciiString::IsDifferent(
   return (strncmp(myString.ToCString(), S->ToCString(), myString.Length()) != 0);
 }
 
-// ----------------------------------------------------------------------------
-// IsSameString
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_HAsciiString::IsSameString(
   const Handle(TCollection_HAsciiString)& S) const
 {
@@ -316,9 +285,8 @@ Standard_Boolean TCollection_HAsciiString::IsSameString(
     return Standard_False;
 }
 
-// ----------------------------------------------------------------------------
-// IsSameString
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_HAsciiString::IsSameString(const Handle(TCollection_HAsciiString)& S,
                                                         const Standard_Boolean CaseSensitive) const
 {
@@ -327,17 +295,15 @@ Standard_Boolean TCollection_HAsciiString::IsSameString(const Handle(TCollection
   return TCollection_AsciiString::IsSameString(myString, S->myString, CaseSensitive);
 }
 
-//------------------------------------------------------------------------
-//  LeftAdjust
-//------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::LeftAdjust()
 {
   myString.LeftAdjust();
 }
 
-//------------------------------------------------------------------------
-//  LeftJustify
-//------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::LeftJustify(const Standard_Integer   Width,
                                            const Standard_Character Filler)
 {
@@ -346,9 +312,8 @@ void TCollection_HAsciiString::LeftJustify(const Standard_Integer   Width,
   myString.LeftJustify(Width, Filler);
 }
 
-//------------------------------------------------------------------------
-//  Location
-//------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_HAsciiString::Location(const Standard_Integer   N,
                                                     const Standard_Character C,
                                                     const Standard_Integer   FromIndex,
@@ -359,9 +324,8 @@ Standard_Integer TCollection_HAsciiString::Location(const Standard_Integer   N,
   return myString.Location(N, C, FromIndex, ToIndex);
 }
 
-//------------------------------------------------------------------------
-//  Location
-//------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_HAsciiString::Location(const Handle(TCollection_HAsciiString)& S,
                                                     const Standard_Integer FromIndex,
                                                     const Standard_Integer ToIndex) const
@@ -373,17 +337,15 @@ Standard_Integer TCollection_HAsciiString::Location(const Handle(TCollection_HAs
   return myString.Location(S->String(), FromIndex, ToIndex);
 }
 
-// ----------------------------------------------------------------------------
-// LowerCase
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::LowerCase()
 {
   myString.LowerCase();
 }
 
-//------------------------------------------------------------------------
-//  Prepend
-//------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::Prepend(const Handle(TCollection_HAsciiString)& S)
 {
   myString.Prepend(S->String());
@@ -397,50 +359,44 @@ void TCollection_HAsciiString::Print(Standard_OStream& S) const
   myString.Print(S);
 }
 
-// ----------------------------------------------------------------------------
-// RealValue
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Real TCollection_HAsciiString::RealValue() const
 {
   return myString.RealValue();
 }
 
-// ----------------------------------------------------------------------------
-// RemoveAll
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::RemoveAll(const Standard_Character what,
                                          const Standard_Boolean   CaseSensitive)
 {
   myString.RemoveAll(what, CaseSensitive);
 }
 
-// ----------------------------------------------------------------------------
-// RemoveAll
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::RemoveAll(const Standard_Character what)
 {
   myString.RemoveAll(what);
 }
 
-// ----------------------------------------------------------------------------
-// Remove
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::Remove(const Standard_Integer where, const Standard_Integer ahowmany)
 {
   myString.Remove(where, ahowmany);
 }
 
-//------------------------------------------------------------------------
-//  RightAdjust
-//------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::RightAdjust()
 {
   myString.RightAdjust();
 }
 
-//------------------------------------------------------------------------
-//  RightJustify
-//------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::RightJustify(const Standard_Integer   Width,
                                             const Standard_Character Filler)
 {
@@ -449,76 +405,67 @@ void TCollection_HAsciiString::RightJustify(const Standard_Integer   Width,
   myString.RightJustify(Width, Filler);
 }
 
-// ----------------------------------------------------------------------------
-// Search
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_HAsciiString::Search(const Standard_CString what) const
 {
   return myString.Search(what);
 }
 
-// ----------------------------------------------------------------------------
-// Search
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_HAsciiString::Search(
   const Handle(TCollection_HAsciiString)& what) const
 {
   return myString.Search(what->String());
 }
 
-// ----------------------------------------------------------------------------
-// SearchFromEnd
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_HAsciiString::SearchFromEnd(const Standard_CString what) const
 {
   return myString.SearchFromEnd(what);
 }
 
-// ----------------------------------------------------------------------------
-// SearchFromEnd
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_HAsciiString::SearchFromEnd(
   const Handle(TCollection_HAsciiString)& what) const
 {
   return myString.SearchFromEnd(what->String());
 }
 
-// ----------------------------------------------------------------------------
-// SetValue
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::SetValue(const Standard_Integer where, const Standard_Character what)
 {
   myString.SetValue(where, what);
 }
 
-// ----------------------------------------------------------------------------
-// SetValue
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::SetValue(const Standard_Integer where, const Standard_CString what)
 {
   myString.SetValue(where, what);
 }
 
-// ----------------------------------------------------------------------------
-// SetValue
-// ---------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::SetValue(const Standard_Integer                  where,
                                         const Handle(TCollection_HAsciiString)& what)
 {
   myString.SetValue(where, what->String());
 }
 
-// ----------------------------------------------------------------------------
-// Split
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Handle(TCollection_HAsciiString) TCollection_HAsciiString::Split(const Standard_Integer where)
 {
   return new TCollection_HAsciiString(myString.Split(where));
 }
 
-// ----------------------------------------------------------------------------
-// SubString
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Handle(TCollection_HAsciiString) TCollection_HAsciiString::SubString(
   const Standard_Integer FromIndex,
   const Standard_Integer ToIndex) const
@@ -526,9 +473,8 @@ Handle(TCollection_HAsciiString) TCollection_HAsciiString::SubString(
   return new TCollection_HAsciiString(myString.SubString(FromIndex, ToIndex));
 }
 
-// ----------------------------------------------------------------------------
-// Token
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Handle(TCollection_HAsciiString) TCollection_HAsciiString::Token(
   const Standard_CString separators,
   const Standard_Integer whichone) const
@@ -536,41 +482,36 @@ Handle(TCollection_HAsciiString) TCollection_HAsciiString::Token(
   return new TCollection_HAsciiString(myString.Token(separators, whichone));
 }
 
-// ----------------------------------------------------------------------------
-// Trunc
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::Trunc(const Standard_Integer ahowmany)
 {
   myString.Trunc(ahowmany);
 }
 
-// ----------------------------------------------------------------------------
-// UpperCase
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HAsciiString::UpperCase()
 {
   myString.UpperCase();
 }
 
-// ----------------------------------------------------------------------------
-// UsefullLength
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_HAsciiString::UsefullLength() const
 {
   return myString.UsefullLength();
 }
 
-// ----------------------------------------------------------------------------
-// Value
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Character TCollection_HAsciiString::Value(const Standard_Integer where) const
 {
   return myString.Value(where);
 }
 
-// ----------------------------------------------------------------------------
-// IsSameState
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_HAsciiString::IsSameState(
   const Handle(TCollection_HAsciiString)& other) const
 {
index 6c4d6446bdbaee4c711f6592af5418420e4eacf0..6c4664340986ee5df502a8caeb1674140abf73c5 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-// ---------------------------------------------------------------------------
-// AssignCat
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 inline void TCollection_HAsciiString::AssignCat(const Standard_CString other)
 {
   myString.AssignCat(other);
 }
 
-// ---------------------------------------------------------------------------
-// AssignCat
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 inline void TCollection_HAsciiString::AssignCat(const Handle(TCollection_HAsciiString)& other)
 {
   myString.AssignCat(other->String());
 }
 
-// ----------------------------------------------------------------------------
-// Length
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 inline Standard_Integer TCollection_HAsciiString::Length() const
 {
   return myString.mylength;
 }
 
-// ----------------------------------------------------------------------------
-// String
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 inline const TCollection_AsciiString& TCollection_HAsciiString::String() const
 {
   return myString;
index 22a289cdba1a02cc36babc4eb56e16f1e6a780ea..76af1ce2be82f6c7af5be5f5ad5ef6e77a703cf6 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(TCollection_HExtendedString, Standard_Transient)
 
-// ----------------------------------------------------------------------------
-// Create
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_HExtendedString::TCollection_HExtendedString() {}
 
-// ----------------------------------------------------------------------------
-// Create
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_HExtendedString::TCollection_HExtendedString(const Standard_CString message)
     : myString(message)
 {
 }
 
-// ----------------------------------------------------------------------------
-// Create
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_HExtendedString::TCollection_HExtendedString(const Standard_ExtString message)
     : myString(message)
 {
 }
 
-// ----------------------------------------------------------------------------
-// Create
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_HExtendedString::TCollection_HExtendedString(const Standard_ExtCharacter aChar)
     : myString(aChar)
 {
 }
 
-// ----------------------------------------------------------------------------
-// Create
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_HExtendedString::TCollection_HExtendedString(const Standard_Integer      length,
                                                          const Standard_ExtCharacter filler)
     : myString(length, filler)
 {
 }
 
-// ----------------------------------------------------------------------------
-// Create
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_HExtendedString::TCollection_HExtendedString(const TCollection_ExtendedString& astring)
     : myString(astring)
 {
 }
 
-// ----------------------------------------------------------------------------
-// Create
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_HExtendedString::TCollection_HExtendedString(
   const Handle(TCollection_HAsciiString)& astring)
     : myString(astring->String())
 {
 }
 
-// ----------------------------------------------------------------------------
-// Create
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 TCollection_HExtendedString::TCollection_HExtendedString(
   const Handle(TCollection_HExtendedString)& astring)
     : myString(astring->ChangeString())
 {
 }
 
-// ---------------------------------------------------------------------------
-// AssignCat
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HExtendedString::AssignCat(const Handle(TCollection_HExtendedString)& other)
 {
   myString.AssignCat(other->ChangeString());
 }
 
-// ---------------------------------------------------------------------------
-// Cat
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Handle(TCollection_HExtendedString) TCollection_HExtendedString::Cat(
   const Handle(TCollection_HExtendedString)& other) const
 {
   return new TCollection_HExtendedString(myString.Cat(other->ChangeString()));
 }
 
-// ----------------------------------------------------------------------------
-// ChangeAll
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HExtendedString::ChangeAll(const Standard_ExtCharacter aChar,
                                             const Standard_ExtCharacter NewChar)
 {
   myString.ChangeAll(aChar, NewChar);
 }
 
-// ----------------------------------------------------------------------------
-// IsEmpty
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_HExtendedString::IsEmpty() const
 {
   return (myString.Length() == 0);
 }
 
-// ----------------------------------------------------------------------------
-// Clear
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HExtendedString::Clear()
 {
   myString.Clear();
 }
 
-// ----------------------------------------------------------------------------
-// Insert a Standard_ExtCharacter before 'where'th Standard_ExtCharacter
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HExtendedString::Insert(const Standard_Integer      where,
                                          const Standard_ExtCharacter what)
 {
   myString.Insert(where, what);
 }
 
-// ----------------------------------------------------------------------------
-// Insert
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HExtendedString::Insert(const Standard_Integer                     where,
                                          const Handle(TCollection_HExtendedString)& what)
 {
   myString.Insert(where, what->ChangeString());
 }
 
-// ----------------------------------------------------------------------------
-// IsLess
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_HExtendedString::IsLess(
   const Handle(TCollection_HExtendedString)& other) const
 {
   return myString.IsLess(other->ChangeString());
 }
 
-// ----------------------------------------------------------------------------
-// IsGreater
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_HExtendedString::IsGreater(
   const Handle(TCollection_HExtendedString)& other) const
 {
   return myString.IsGreater(other->ChangeString());
 }
 
-// ----------------------------------------------------------------------------
-// IsAscii
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_HExtendedString::IsAscii() const
 {
   return myString.IsAscii();
 }
 
-// ----------------------------------------------------------------------------
-// Length
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_HExtendedString::Length() const
 {
   return myString.Length();
 }
 
-// ----------------------------------------------------------------------------
-// Remove
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HExtendedString::Remove(const Standard_Integer where,
                                          const Standard_Integer ahowmany)
 {
   myString.Remove(where, ahowmany);
 }
 
-// ----------------------------------------------------------------------------
-// RemoveAll
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HExtendedString::RemoveAll(const Standard_ExtCharacter what)
 {
   myString.RemoveAll(what);
 }
 
-// ----------------------------------------------------------------------------
-// SetValue
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HExtendedString::SetValue(const Standard_Integer      where,
                                            const Standard_ExtCharacter what)
 {
   myString.SetValue(where, what);
 }
 
-// ----------------------------------------------------------------------------
-// SetValue
-// ---------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HExtendedString::SetValue(const Standard_Integer                     where,
                                            const Handle(TCollection_HExtendedString)& what)
 {
   myString.SetValue(where, what->ChangeString());
 }
 
-// ----------------------------------------------------------------------------
-// Split
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Handle(TCollection_HExtendedString) TCollection_HExtendedString::Split(const Standard_Integer where)
 {
   return new TCollection_HExtendedString(myString.Split(where));
 }
 
-// ----------------------------------------------------------------------------
-// Search
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_HExtendedString::Search(
   const Handle(TCollection_HExtendedString)& what) const
 {
   return myString.Search(what->ChangeString());
 }
 
-// ----------------------------------------------------------------------------
-// SearchFromEnd
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Integer TCollection_HExtendedString::SearchFromEnd(
   const Handle(TCollection_HExtendedString)& what) const
 {
   return myString.SearchFromEnd(what->ChangeString());
 }
 
-// ----------------------------------------------------------------------------
-// Token
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Handle(TCollection_HExtendedString) TCollection_HExtendedString::Token(
   const Standard_ExtString separators,
   const Standard_Integer   whichone) const
@@ -251,25 +224,22 @@ Handle(TCollection_HExtendedString) TCollection_HExtendedString::Token(
   return new TCollection_HExtendedString(myString.Token(separators, whichone));
 }
 
-// ----------------------------------------------------------------------------
-// Trunc
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 void TCollection_HExtendedString::Trunc(const Standard_Integer ahowmany)
 {
   myString.Trunc(ahowmany);
 }
 
-// ----------------------------------------------------------------------------
-// Value
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_ExtCharacter TCollection_HExtendedString::Value(const Standard_Integer where) const
 {
   return myString.Value(where);
 }
 
-// ----------------------------------------------------------------------------
-// String
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 const TCollection_ExtendedString& TCollection_HExtendedString::String() const
 {
   return myString;
@@ -284,9 +254,8 @@ void TCollection_HExtendedString::Print(Standard_OStream& S) const
   myString.Print(S);
 }
 
-// ----------------------------------------------------------------------------
-// Issamestate
-// ----------------------------------------------------------------------------
+//=================================================================================================
+
 Standard_Boolean TCollection_HExtendedString::IsSameState(
   const Handle(TCollection_HExtendedString)& other) const
 {
index 9f7f5736b4527bf270ef2d064d8990f00805ff80..0070f23b2c4967efdfc3658c5cc95abfa05f0734 100644 (file)
@@ -423,10 +423,8 @@ void BRepFill_Draft::Perform(const TopoDS_Shape& StopShape, const Standard_Boole
   Sewing();
 }
 
-//=======================================================================
-// function : Init
-// purpose  : Construction of laws.
-//======================================================================
+//=================================================================================================
+
 void BRepFill_Draft::Init(const Handle(Geom_Surface)&,
                           const Standard_Real Length,
                           const Bnd_Box&      Box)
index 42e5d7e215198534337c2498ed572a876c0692b6..b1766a1dd3946d9bf61f42acfdfd3d4d997e0e14 100644 (file)
@@ -272,10 +272,8 @@ void BRepFill_PipeShell::SetDiscrete()
   mySection.Nullify(); // It is required to relocalize sections.
 }
 
-//=======================================================================
-// function : Set
-// purpose  : Define a law Constant
-//=======================================================================
+//=================================================================================================
+
 void BRepFill_PipeShell::Set(const gp_Ax2& Axe)
 {
   myTrihedron = GeomFill_IsFixed;
index 0281a411a03da69f57cf8a28e90287d373edef03..9f150746eeba27622b0667fb0b4bbc84e6bd4fa6 100644 (file)
 #include <TopOpeBRep_VPointInter.hxx>
 #include <TopOpeBRepDS_Transition.hxx>
 
-//-----------------------------------------------------------------------
-// function : TransitionToOrientation
-// purpose  : static
-//-----------------------------------------------------------------------
+//=================================================================================================
 
 static Standard_Boolean TransitionToOrientation(const IntSurf_Transition& T, TopAbs_Orientation& O)
 {
index 247ee58202bd26d8670f2bec41b6c772410c9763..cd5be7af6fbeb7d776772d5c59748db0f5dabddd 100644 (file)
@@ -208,9 +208,7 @@ TopAbs_State TopOpeBRep_FacesFiller::StateVPonFace(const TopOpeBRep_VPointInter&
   return state;
 }
 
-// ----------------------------------------------------------------------
-//           Class methods
-// ----------------------------------------------------------------------
+//=================================================================================================
 
 //=======================================================================
 // function : Lminmax
index 71072f4ae9f091bcd8cb7e09db0e6133d5522aa2..a65a45b3953591925a207b087a2592d51421bbc1 100644 (file)
@@ -113,10 +113,8 @@ void TopOpeBRepTool_CurveTool::SetGeomTool(const TopOpeBRepTool_GeomTool& GT)
   myGeomTool.Define(GT);
 }
 
-//-----------------------------------------------------------------------
-// function : MakePCurve
-// purpose  :
-//-----------------------------------------------------------------------
+//=================================================================================================
+
 Standard_EXPORT Handle(Geom2d_Curve) MakePCurve(const ProjLib_ProjectedCurve& PC)
 {
   Handle(Geom2d_Curve) C2D;
index cfe84995d045699bd0a3b03e234f3faf50b57d2f..0e6a2470658239103598403a8032b8ca43a716e0 100644 (file)
@@ -246,9 +246,7 @@ Standard_EXPORT Standard_Boolean FUN_tool_projPonS(const gp_Pnt&               P
   return Standard_True;
 }
 
-// ----------------------------------------------------------------------
-//  projecting point <P> on topologies (edge <E>,face <F>)
-// ----------------------------------------------------------------------
+//=================================================================================================
 
 // ----------------------------------------------------------------------
 Standard_EXPORT Standard_Boolean FUN_tool_projPonE(const gp_Pnt&       P,
index b15776f91ec6e5b910737a4a7b310479f1145077..b3418b217ad6b2348c109d68d951b7793c50d4e4 100644 (file)
@@ -718,9 +718,7 @@ Standard_EXPORT void FUN_tool_mkBnd2d(const TopoDS_Shape& W, const TopoDS_Shape&
   FUN_tool_UpdateBnd2d(B2d, newB2d);
 }
 
-// ----------------------------------------------------------------------
-//  closing topologies :
-// ----------------------------------------------------------------------
+//=================================================================================================
 
 // ----------------------------------------------------------------------
 Standard_EXPORT Standard_Boolean FUN_tool_IsClosingE(const TopoDS_Edge&  E,
@@ -767,9 +765,7 @@ Standard_EXPORT Standard_Boolean FUN_tool_ClosedE(const TopoDS_Edge& E,TopoDS_Sh
   return Standard_False;
 }*/
 
-// ----------------------------------------------------------------------
-//  shared topologies :
-// ----------------------------------------------------------------------
+//=================================================================================================
 
 // ----------------------------------------------------------------------
 Standard_EXPORT Standard_Boolean FUN_tool_inS(const TopoDS_Shape& subshape,
@@ -1063,9 +1059,7 @@ Standard_EXPORT Standard_Boolean FUN_tool_findPinE(const TopoDS_Shape& E,
   return r;
 }
 
-// ----------------------------------------------------------------------
-//  tolerances :
-// ----------------------------------------------------------------------
+//=================================================================================================
 
 // ----------------------------------------------------------------------
 Standard_EXPORT Standard_Boolean FUN_tool_maxtol(const TopoDS_Shape&     S,
@@ -1319,9 +1313,7 @@ Standard_EXPORT Standard_Boolean FUN_tool_pcurveonF(const TopoDS_Face&
   return Standard_False;
 }
 
-// ----------------------------------------------------------------------
-//  shared geometry :
-// ----------------------------------------------------------------------
+//=================================================================================================
 
 // ----------------------------------------------------------------------
 Standard_EXPORT Standard_Boolean FUN_tool_curvesSO(const TopoDS_Edge&  E1,
@@ -1426,9 +1418,7 @@ Standard_EXPORT Standard_Boolean FUN_tool_findAncestor(const TopTools_ListOfShap
   return Standard_False;
 }
 
-// ----------------------------------------------------------------------
-//  new topologies :
-// ----------------------------------------------------------------------
+//=================================================================================================
 
 // FUN_ds_* methods are methods of TopOpeBRepDS_BuildTool
 // that cannot be called (cyclic dependencies)
index 2fab9a6024ac587f1bc66a1e58cd8a093b6865cd..d2fc113927e7af97c869331ef34034979d1654f2 100644 (file)
@@ -25,9 +25,7 @@
 #define M_INTERNAL(ori) (ori == TopAbs_INTERNAL)
 #define M_EXTERNAL(ori) (ori == TopAbs_EXTERNAL)
 
-// ----------------------------------------------------------------------
-// oriented vectors :
-// ----------------------------------------------------------------------
+//=================================================================================================
 
 // ----------------------------------------------------------------------
 Standard_EXPORT gp_Dir FUN_tool_nCinsideS(const gp_Dir& tgC, const gp_Dir& ngS)
index c147a12d2aa164c59054c20ecca4da4f9ce1c42c..44182a29820dcc25ae52a1633c5a8d212b396b77 100644 (file)
@@ -189,10 +189,7 @@ BRepBlend_RstRstLineBuilder::BRepBlend_RstRstLineBuilder(const Handle(Adaptor3d_
 {
 }
 
-//=======================================================================
-// function : Perform
-// purpose  : launch the processing
-//=======================================================================
+//=================================================================================================
 
 void BRepBlend_RstRstLineBuilder::Perform(Blend_RstRstFunction&   Func,
                                           Blend_SurfCurvFuncInv&  Finv1,
index 78fda3c320ee943b1ed53990452bbd747ca73c3f..b5887b36bb2aab5d3a4e36db0e8599124c66e37d 100644 (file)
@@ -363,10 +363,8 @@ void GeomFill_SectionPlacement::Perform(const Standard_Real Tol)
   Perform(Path, Tol);
 }
 
-//===============================================================
-// Function :Perform
-// Purpose : Recherche automatique
-//===============================================================
+//=================================================================================================
+
 void GeomFill_SectionPlacement::Perform(const Handle(Adaptor3d_Curve)& Path,
                                         const Standard_Real            Tol)
 {
index d9e408c18848bc3db577c318d638f2c16b7db856..de4952c78510ed36465909ce911a9d7639969308 100644 (file)
@@ -225,9 +225,8 @@ GeomPlate_BuildPlateSurface::GeomPlate_BuildPlateSurface(const Standard_Integer
 //      =========================================================
 //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//
 
-//-------------------------------------------------------------------------
-// Function : TrierTab, internal Function, does not belong to class
-//-------------------------------------------------------------------------
+//=================================================================================================
+
 // Reorder the table of transformations
 // After the call of CourbeJointive the order of curves is modified
 // Ex : initial order of curves ==> A B C D E F
@@ -1352,9 +1351,8 @@ Standard_Boolean GeomPlate_BuildPlateSurface::CourbeJointive(const Standard_Real
     return Standard_False;
 }
 
-//-------------------------------------------------------------------------
-// Function : ComputeSurfInit
-//-------------------------------------------------------------------------
+//=================================================================================================
+
 // Calculate the initial surface either by the method of max flow or by
 // the method of the plane of inertia if the contour is not closed or if
 // there are point constraints.
index 5d2af870d3f8ca773dcd0fb9728f17529ba0356e..5ef4276a52cb8431fa1db695c0c78f221732f20e 100644 (file)
@@ -2337,10 +2337,8 @@ IntSurf_PntOn2S MakeNewPoint(const IntSurf_PntOn2S& replacePnt,
   return NewPoint;
 }
 
-//==================================================================================
-// function : Perform
-// purpose  : base SS Int. function
-//==================================================================================
+//=================================================================================================
+
 void IntPatch_PrmPrmIntersection::Perform(const Handle(Adaptor3d_Surface)&   Surf1,
                                           const Handle(Adaptor3d_TopolTool)& D1,
                                           const Handle(Adaptor3d_Surface)&   Surf2,
index b4e4a702a54d5634310256a577533f8427649e69..37451b11b5ed765cb0dcd7cf96ce2b7269f96af8 100644 (file)
@@ -292,10 +292,7 @@ Standard_Boolean Intf_TangentZone::HasCommonRange(const Intf_TangentZone& Other)
   return Standard_False;
 }
 
-//=======================================================================
-// function : Dump
-// purpose  : Dump the TangentZone.
-//=======================================================================
+//=================================================================================================
 
 void Intf_TangentZone::Dump(const Standard_Integer /*Indent*/) const
 {
index 364968aaf63ed1454fc24057af9d522c547d9424..646d9c92b4033b32bf7348ea3c2f4ee80853c792 100644 (file)
@@ -200,10 +200,9 @@ Standard_Integer Contap_ArcFunction::NbSamples() const
 }
 
 // modified by NIZNHY-PKV Thu Mar 29 16:53:07 2001f
-//=======================================================================
-// function : Quadric
-// purpose  : returns empty Quadric
-//=======================================================================
+
+//=================================================================================================
+
 const IntSurf_Quadric& Contap_ArcFunction::Quadric() const
 {
   return (myQuad);
index a4d1a7ca838d8e6cc5fc55528715204b31566012..db981e2a9cc92cf4ff920b9d8c3c3de2c34093cd 100644 (file)
@@ -211,10 +211,7 @@ HLRBRep_EdgeBuilder::HLRBRep_EdgeBuilder(HLRBRep_VertexList& VList)
   Builds(TopAbs_IN);
 }
 
-//=======================================================================
-// function : InitAreas
-// purpose  : set on the first area
-//=======================================================================
+//=================================================================================================
 
 void HLRBRep_EdgeBuilder::InitAreas()
 {
index 1307d4ba47980783ca8d73b6529db7d5b0b6fe90..0bb617fdf737146238c414fd72917fca174bb4b8 100644 (file)
@@ -183,10 +183,7 @@ void BRepPrim_Builder::SetParameters(TopoDS_Edge& E,
   myBuilder.Range(E, P1, P2);
 }
 
-//=======================================================================
-// function : AddWireEdge
-// purpose  : Add an Edge to a Wire
-//=======================================================================
+//=================================================================================================
 
 void BRepPrim_Builder::AddWireEdge(TopoDS_Wire&           W,
                                    const TopoDS_Edge&     E,
@@ -205,10 +202,7 @@ void BRepPrim_Builder::AddFaceWire(TopoDS_Face& F, const TopoDS_Wire& W) const
   myBuilder.Add(F, W);
 }
 
-//=======================================================================
-// function : AddShellFace
-// purpose  : Add a Face to a Shell
-//=======================================================================
+//=================================================================================================
 
 void BRepPrim_Builder::AddShellFace(TopoDS_Shell& S, const TopoDS_Face& F) const
 {
index ad0aa4450b189d1f6aeab3b0d514efa8944cf066..192b8b806690e7566cfbe40c30de5617a4867bb7 100644 (file)
@@ -54,9 +54,8 @@
 
 /*********************************************************************************/
 
-//------------------------------------------------------------------------------
-// function: TRI_SOLUTION
-//------------------------------------------------------------------------------
+//=================================================================================================
+
 static Standard_Boolean TRI_SOLUTION(const BRepExtrema_SeqOfSolution& SeqSol, const gp_Pnt& Pt)
 {
   for (BRepExtrema_SeqOfSolution::iterator anIt = SeqSol.begin(); anIt != SeqSol.end(); anIt++)
@@ -70,9 +69,8 @@ static Standard_Boolean TRI_SOLUTION(const BRepExtrema_SeqOfSolution& SeqSol, co
   return Standard_True;
 }
 
-//------------------------------------------------------------------------------
-// function: MIN_SOLUTION
-//------------------------------------------------------------------------------
+//=================================================================================================
+
 static void MIN_SOLUTION(const BRepExtrema_SeqOfSolution& SeqSol1,
                          const BRepExtrema_SeqOfSolution& SeqSol2,
                          const Standard_Real              DstRef,
@@ -93,9 +91,8 @@ static void MIN_SOLUTION(const BRepExtrema_SeqOfSolution& SeqSol1,
   }
 }
 
-//------------------------------------------------------------------------------
-// function: TRIM_INFINIT_EDGE
-//------------------------------------------------------------------------------
+//=================================================================================================
+
 static void TRIM_INFINIT_EDGE(const TopoDS_Edge& S1,
                               const TopoDS_Edge& S2,
                               TopoDS_Edge&       aResEdge,
@@ -220,9 +217,8 @@ static void TRIM_INFINIT_EDGE(const TopoDS_Edge& S1,
   }
 }
 
-//------------------------------------------------------------------------------
-// function: TRIM_INFINIT_FACE
-//------------------------------------------------------------------------------
+//=================================================================================================
+
 static void TRIM_INFINIT_FACE(const TopoDS_Shape& S1,
                               const TopoDS_Shape& S2,
                               TopoDS_Face&        aResFace,
@@ -409,9 +405,8 @@ static void TRIM_INFINIT_FACE(const TopoDS_Shape& S1,
     bIsInfinit = Standard_False;
 }
 
-//------------------------------------------------------------------------------
-// static function: PERFORM_C0
-//------------------------------------------------------------------------------
+//=================================================================================================
+
 static void PERFORM_C0(const TopoDS_Edge&         S1,
                        const TopoDS_Edge&         S2,
                        BRepExtrema_SeqOfSolution& SeqSol1,
index d43cab782902b3a8a54f618165d2ff5c3685ac89..69f85c65fba4a2df5719e0c4426299fc95f0cfe5 100644 (file)
@@ -1229,10 +1229,7 @@ GeomAbs_Shape BRep_Tool::MaxContinuity(const TopoDS_Edge& theEdge)
   return aMaxCont;
 }
 
-//=======================================================================
-// function : Pnt
-// purpose  : Returns the 3d point.
-//=======================================================================
+//=================================================================================================
 
 gp_Pnt BRep_Tool::Pnt(const TopoDS_Vertex& V)
 {
index 2bda89207de2c2fa79e3de787fa4e68a74da1234..5cbceade7deb53417731d57bf567118361ae1269 100644 (file)
@@ -22,9 +22,8 @@
 #include <StdFail_NotDone.hxx>
 #include <TColStd_HArray1OfReal.hxx>
 
-//----------------------------------------------------------------------------
-// Purpose - to find min index of global variables and define
-//----------------------------------------------------------------------------
+//=================================================================================================
+
 static Standard_Integer MinIndex(const Handle(FEmTool_HAssemblyTable)& Table)
 {
   Standard_Integer dim, el, nvar, Imin;
@@ -51,9 +50,8 @@ static Standard_Integer MinIndex(const Handle(FEmTool_HAssemblyTable)& Table)
   return Imin;
 }
 
-//----------------------------------------------------------------------------
-// Purpose - to find max index of global variables
-//----------------------------------------------------------------------------
+//=================================================================================================
+
 static Standard_Integer MaxIndex(const Handle(FEmTool_HAssemblyTable)& Table)
 {
   Standard_Integer dim, el, nvar, Imax;
index 3e19865cab0e7090a9cf05dd8360fca00049f3fd..9dd136664f3daf49e18e1db542fb2b22df118b04 100644 (file)
@@ -137,10 +137,8 @@ vtkStandardNewMacro(IVtkTools_ShapeObject)
 {
 }
 
-//============================================================================
-//  Method: Destructor
-// Purpose: Protected destructor.
-//============================================================================
+//=================================================================================================
+
 IVtkTools_ShapeObject::~IVtkTools_ShapeObject() {}
 
 //=================================================================================================
old mode 100755 (executable)
new mode 100644 (file)
index 664dd46..9fe10c9
@@ -136,10 +136,8 @@ OpenGl_ClippingState::OpenGl_ClippingState()
   //
 }
 
-// =======================================================================
-// function : Update
-// purpose  : Updates current state
-// =======================================================================
+//=================================================================================================
+
 void OpenGl_ClippingState::Update()
 {
   myStateStack.Prepend(myIndex);
@@ -147,10 +145,8 @@ void OpenGl_ClippingState::Update()
   ++myNextIndex;
 }
 
-// =======================================================================
-// function : Revert
-// purpose  : Reverts current state
-// =======================================================================
+//=================================================================================================
+
 void OpenGl_ClippingState::Revert()
 {
   if (!myStateStack.IsEmpty())
index 860f9b495dfe001d6d90460853652e2ded6e843b..969247a39620dc8f56d39cfbc950d364799e79f8 100644 (file)
@@ -2786,10 +2786,8 @@ AIS_StatusOfPick AIS_InteractiveContext::Select(const Standard_Integer  theXPMin
   return aStatus;
 }
 
-//=======================================================================
-// function : Select
-// purpose  : Selection by polyline
-//=======================================================================
+//=================================================================================================
+
 AIS_StatusOfPick AIS_InteractiveContext::Select(const TColgp_Array1OfPnt2d& thePolyline,
                                                 const Handle(V3d_View)&     theView,
                                                 const Standard_Boolean      theToUpdateViewer)
index 65da48b6e0c79927d8696df0b2261c32aac24d43..0a31ad04c32cb16ebf47aa6ff974aeb7d1ea3b70 100644 (file)
@@ -1794,11 +1794,7 @@ AIS_Manipulator::Axis::Axis(const gp_Ax1&            theAxis,
   //
 }
 
-//=======================================================================
-// class    : Axis
-// function : Compute
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 void AIS_Manipulator::Axis::Compute(const Handle(PrsMgr_PresentationManager)& thePrsMgr,
                                     const Handle(Prs3d_Presentation)&         thePrs,
index 19a23683c68ad08cd2d702972eeed7c9724b6003..46af0a084fcdead26acdc2ca2117ac6bb69ebd58 100644 (file)
@@ -39,9 +39,8 @@
 
 #include <stdio.h>
 
-//------------------------------------------------------------------------------------------------------------------
-// Returns 1 if C is above of CMin; 0 if C is between CMin and CMax; -1 if C is Below CMax
-//-----------------------------------------------------------------------------------------------------------------
+//=================================================================================================
+
 static Standard_Integer AboveInBelowCone(const gp_Circ& CMax, const gp_Circ& CMin, const gp_Circ& C)
 {
   const Standard_Real D  = CMax.Location().Distance(CMin.Location());
index 506b520e74c37ab509cc52e4a70db47edb956155..409238ed8581758cfdc1f39a7907fd6de9ad55d0 100644 (file)
@@ -102,10 +102,8 @@ PrsDim_LengthDimension::PrsDim_LengthDimension(const TopoDS_Shape& theFirstShape
   SetFlyout(15.0);
 }
 
-//=======================================================================
-// function : Constructor
-// purpose  : Dimension of one edge
-//=======================================================================
+//=================================================================================================
+
 PrsDim_LengthDimension::PrsDim_LengthDimension(const TopoDS_Edge& theEdge, const gp_Pln& thePlane)
     : PrsDim_Dimension(PrsDim_KOD_LENGTH),
       myHasCustomDirection(Standard_False)
index 9206da78c30d919a40d710b23fbd57dbfd6682cf..3987028613f3be12542a87e91ef1d0b5f3429c47 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(PrsDim_PerpendicularRelation, PrsDim_Relation)
 
-//=======================================================================
-// function : Constructor
-// purpose  : TwoEdgesPerpendicular
-//=======================================================================
+//=================================================================================================
+
 PrsDim_PerpendicularRelation::PrsDim_PerpendicularRelation(const TopoDS_Shape&       aFShape,
                                                            const TopoDS_Shape&       aSShape,
                                                            const Handle(Geom_Plane)& aPlane)
@@ -58,10 +56,8 @@ PrsDim_PerpendicularRelation::PrsDim_PerpendicularRelation(const TopoDS_Shape&
   myPlane  = aPlane;
 }
 
-//=======================================================================
-// function : Constructor
-// purpose  : TwoFacesPerpendicular
-//=======================================================================
+//=================================================================================================
+
 PrsDim_PerpendicularRelation::PrsDim_PerpendicularRelation(const TopoDS_Shape& aFShape,
                                                            const TopoDS_Shape& aSShape)
     : PrsDim_Relation()
index 4c2345ed4050710a696aa7cddcfd585926fc8ea3..b722915367c7c487b83caa8a1b03f5bc56aae9e5 100644 (file)
@@ -24,9 +24,7 @@ namespace
 //! Short-cut definition of indexed data map of selectable objects
 typedef NCollection_IndexedMap<Handle(SelectMgr_SelectableObject)> ObjectsMap;
 
-//-------------------------------------------------------------------------------------
-// Adaptor over regular objects subset of SelectMgr_SelectableObjectSet for BVH builder
-//-------------------------------------------------------------------------------------
+//=================================================================================================
 
 //! This class provides direct access to fields of SelectMgr_SelectableObjectSet
 //! so the BVH builder could explicitly arrange objects in the map as necessary
@@ -93,9 +91,7 @@ private:
   mutable Select3D_BndBox3d myBox;
 };
 
-//----------------------------------------------------------------------------------------
-// Adaptor over persistent objects subset of SelectMgr_SelectableObjectSet for BVH builder
-//----------------------------------------------------------------------------------------
+//=================================================================================================
 
 //! This class provides direct access to fields of SelectMgr_SelectableObjectSet
 //! so the BVH builder could explicitly arrange objects in the map as necessary