MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Std.Const_StringView Class Reference

A non-owning string view. Not necessarily null-terminated. This is the const half of the class. More...

+ Inheritance diagram for MR.Std.Const_StringView:

Classes

struct  _Underlying
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_StringView ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_StringView (MR.Std.Const_StringView other)
 Constructs a copy of another instance. The source remains alive.
 
unsafe Const_StringView (string other)
 Constructs a new instance.
 
unsafe ulong size ()
 The number of characters in the string.
 
unsafe byte * data ()
 Returns the string contents, NOT necessarily null-terminated. Returns a read-only pointer.
 
unsafe byte * dataEnd ()
 Returns a pointer to the end of string. Not dereferencable. Returns a read-only pointer.
 
override string ToString ()
 

Static Public Member Functions

static unsafe implicit operator Const_StringView (string other)
 Constructs a new instance.
 
static unsafe implicit operator string (MR.Std.Const_StringView self)
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_StringView >
bool _IsOwningVal
 
- Properties inherited from MR.Misc.Object< Const_StringView >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Detailed Description

A non-owning string view. Not necessarily null-terminated. This is the const half of the class.


The documentation for this class was generated from the following file: