1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-08 14:17:06 +03:00

0031455: Modeling Algorithms - useless pointer casts in BRepAlgoAPI classes

Useless casts are removed.

Off-topic: corrected description of constructor of TCollection_HAsciiString class from TCollection_HExtendedString for the case when input string contains non-Ascii character.
This commit is contained in:
abv
2020-03-20 23:41:52 +03:00
committed by msv
parent 7ef1f9b7c1
commit 62afcbbb4a
4 changed files with 9 additions and 22 deletions

View File

@@ -72,17 +72,16 @@ public:
//! Initializes a HAsciiString with a real value
Standard_EXPORT TCollection_HAsciiString(const Standard_Real value);
//! Initializes a HAsciiString with a HAsciiString.
//! Initializes a HAsciiString with a AsciiString.
Standard_EXPORT TCollection_HAsciiString(const TCollection_AsciiString& aString);
//! Initializes a HAsciiString with a HAsciiString.
Standard_EXPORT TCollection_HAsciiString(const Handle(TCollection_HAsciiString)& aString);
//! Initializes a HAsciiString with a HAsciiString.
//! Initializes a HAsciiString with a HExtendedString.
//! If replaceNonAscii is non-null charecter, it will be used
//! in place of any non-ascii character found in the source string.
//! Otherwise, raises OutOfRange exception if at least one character
//! in the source string is not in the "Ascii range".
//! Otherwise, creates UTF-8 unicode string.
Standard_EXPORT TCollection_HAsciiString(const Handle(TCollection_HExtendedString)& aString, const Standard_Character replaceNonAscii);
//! Appends <other> to me.