Base Framework
Public Member Functions | List of all members
NativeString Class Reference

#include <base/Primitives.h>

Public Member Functions

 NativeString (const char *_value) noexcept
 
const char * getValue () const noexcept
 
 operator const char * () const noexcept
 
MemorySize getLength () const noexcept
 

Detailed Description

Native string.

Constructor & Destructor Documentation

◆ NativeString()

NativeString::NativeString ( const char *  _value)
inlinenoexcept

Initializes the string.

Member Function Documentation

◆ getLength()

MemorySize NativeString::getLength ( ) const
noexcept

Returns the length of the string.

◆ getValue()

const char* NativeString::getValue ( ) const
inlinenoexcept

Returns the string.

◆ operator const char *()

NativeString::operator const char * ( ) const
inlinenoexcept

Returns the string.