Defines a Unicode (UTF-16) string wrapping a standard string.
More...
Inherits global.SystemIDisposable.
|
|
| UTF16String (global::System.IntPtr cPtr, bool cMemoryOwn) |
| |
|
void | Dispose () |
| |
| | UTF16String (string theOther) |
| | Constructor.
|
| |
|
string | Data () |
| | Returns an internal string buffer.
|
| |
| void | Clear () |
| | Clears the contents.
|
| |
|
uint | Length () |
| | Returns a string length in UTF16 characters.
|
| |
| bool | IsEmpty () |
| | Returns true if the string is empty.
|
| |
|
bool | IsEqual (cadex.UTF16String theOther) |
| |
|
bool | IsNotEqual (cadex.UTF16String theOther) |
| |
|
override int | GetHashCode () |
| |
| string | ToWString () |
| | Converts to standard wstring.
|
| |
|
override string | ToString () |
| |
|
override bool | Equals (System.Object o) |
| |
|
|
virtual void | Dispose (bool disposing) |
| |
Defines a Unicode (UTF-16) string wrapping a standard string.
- Examples
- MTKConverter/Program.cs, MTKConverter/main.cxx, exploring/bom/Program.cs, exploring/brep_geometry/Program.cs, exploring/brep_topology/Program.cs, exploring/drawings/Program.cs, exploring/mesh/Program.cs, exploring/pmi/Program.cs, exploring/pmi/main.cxx, helpers/shape_processor.cs, helpers/shape_processor.hxx, machining/dfm_analyzer/Program.cs, machining/dfm_analyzer/main.cxx, machining/feature_recognizer/Program.cs, machining/feature_recognizer/main.cxx, meshing/mesh_generation/Program.cs, molding/dfm_analyzer/Program.cs, molding/dfm_analyzer/main.cxx, molding/feature_recognizer/Program.cs, molding/feature_recognizer/main.cxx, nesting/nesting_computer/main.cxx, projector/poly_projector/Program.cs, sheet_metal/dfm_analyzer/Program.cs, sheet_metal/dfm_analyzer/main.cxx, sheet_metal/feature_recognizer/Program.cs, sheet_metal/feature_recognizer/main.cxx, sheet_metal/unfolder/Program.cs, sheet_metal/unfolder/main.cxx, utilities/progress_bar/Program.cs, utilities/thumbnail_generation/Program.cs, and wall_thickness/analyzer/Program.cs.
◆ UTF16String()
| cadex.UTF16String.UTF16String |
( |
string | theOther | ) |
|
|
inline |
Constructor.
Copies contents from another string.
- Note
- in C# accepts a native string type, in Java - a native String type.
- See also
- ToWString().
Copies contents from another string.
◆ Clear()
| void cadex.UTF16String.Clear |
( |
| ) |
|
|
inline |
Clears the contents.
IsEmpty() will return true after calling this method.
◆ IsEmpty()
| bool cadex.UTF16String.IsEmpty |
( |
| ) |
|
|
inline |
Returns true if the string is empty.
Returns true if the string length equals 0.
- Examples
- exploring/bom/Program.cs, exploring/bom/main.cxx, exploring/pmi/Program.cs, exploring/pmi/main.cxx, helpers/shape_processor.cs, helpers/shape_processor.hxx, machining/dfm_analyzer/Program.cs, machining/dfm_analyzer/main.cxx, machining/feature_recognizer/Program.cs, machining/feature_recognizer/main.cxx, molding/dfm_analyzer/Program.cs, molding/dfm_analyzer/main.cxx, molding/feature_recognizer/Program.cs, molding/feature_recognizer/main.cxx, sheet_metal/dfm_analyzer/Program.cs, sheet_metal/dfm_analyzer/main.cxx, sheet_metal/feature_recognizer/Program.cs, sheet_metal/feature_recognizer/main.cxx, sheet_metal/unfolder/Program.cs, and sheet_metal/unfolder/main.cxx.
◆ ToWString()
| string cadex.UTF16String.ToWString |
( |
| ) |
|
|
inline |
Converts to standard wstring.
- Note
- in C# converts to native string type, in Java - to native String type.