mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-18 14:27:39 +03:00
Coding - Isolate long attached comments for clang-format #259
Automatically update code with clang-format disabling for avoiding formatting. You can check the python script in GitHub PR
This commit is contained in:
@@ -59,9 +59,11 @@ void IGESDefs_ToolAttributeDef::ReadOwnParams
|
||||
Standard_Integer fn = ent->FormNumber();
|
||||
|
||||
if (PR.DefinedElseSkip())
|
||||
// clang-format off
|
||||
PR.ReadText(PR.Current(), "Attribute Table Name", aName); //szv#4:S4163:12Mar99 `st=` not needed
|
||||
|
||||
PR.ReadInteger(PR.Current(), "Attribute List Type", aListType); //szv#4:S4163:12Mar99 `st=` not needed
|
||||
// clang-format on
|
||||
|
||||
Standard_Boolean st = PR.ReadInteger(PR.Current(), "Number of Attributes", nbval);
|
||||
if (st && nbval > 0)
|
||||
|
@@ -49,7 +49,9 @@ void IGESDefs_ToolGenericData::ReadOwnParams
|
||||
Handle(TColStd_HArray1OfInteger) tempTypes;
|
||||
Handle(TColStd_HArray1OfTransient) tempValues;
|
||||
|
||||
// clang-format off
|
||||
PR.ReadInteger(PR.Current(), "Number of property values", tempNbPropVal); //szv#4:S4163:12Mar99 `st=` not needed
|
||||
// clang-format on
|
||||
|
||||
PR.ReadText(PR.Current(), "Property Name", tempName); //szv#4:S4163:12Mar99 `st=` not needed
|
||||
|
||||
|
@@ -48,7 +48,9 @@ void IGESDefs_ToolMacroDef::ReadOwnParams
|
||||
|
||||
PR.ReadText(PR.Current(), "MACRO", macro); //szv#4:S4163:12Mar99 `st=` not needed
|
||||
|
||||
// clang-format off
|
||||
PR.ReadInteger(PR.Current(), "Entity Type ID", entityTypeID); //szv#4:S4163:12Mar99 `st=` not needed
|
||||
// clang-format on
|
||||
|
||||
Standard_Integer tempCurrent = PR.CurrentNumber();
|
||||
// Counting the no. of language statements.
|
||||
|
@@ -54,7 +54,9 @@ void IGESDefs_ToolTabularData::ReadOwnParams
|
||||
//Standard_Boolean st; //szv#4:S4163:12Mar99 moved down
|
||||
Standard_Integer i;
|
||||
|
||||
// clang-format off
|
||||
PR.ReadInteger(PR.Current(), "Number of Property values", nbProps); //szv#4:S4163:12Mar99 `st=` not needed
|
||||
// clang-format on
|
||||
|
||||
PR.ReadInteger(PR.Current(), "Property type", propType); //szv#4:S4163:12Mar99 `st=` not needed
|
||||
|
||||
@@ -74,7 +76,9 @@ void IGESDefs_ToolTabularData::ReadOwnParams
|
||||
"Type of independent variables", typesInd); //szv#4:S4163:12Mar99 `st=` not needed
|
||||
|
||||
PR.ReadInts(PR.CurrentList(nbIndeps),
|
||||
// clang-format off
|
||||
"No. of values of independent variables", nbValuesInd); //szv#4:S4163:12Mar99 `st=` not needed
|
||||
// clang-format on
|
||||
|
||||
for (i=1; i<=nbIndeps; i++)
|
||||
{
|
||||
@@ -108,7 +112,9 @@ void IGESDefs_ToolTabularData::ReadOwnParams
|
||||
if (nbd > 0) somedeps = new TColStd_HArray1OfReal(1,nbd);
|
||||
for (i = 1; i <= nbd; i ++) {
|
||||
Standard_Real treal;
|
||||
// clang-format off
|
||||
PR.ReadReal(PR.Current(), "Value of dependent variable", treal); //szv#4:S4163:12Mar99 `st=` not needed
|
||||
// clang-format on
|
||||
somedeps->SetValue(i, treal);
|
||||
}
|
||||
if (nbDeps > 0) valuesDep->SetValue(1,somedeps);
|
||||
|
Reference in New Issue
Block a user