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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user