DCSModulesAPI  1.0.0
DCS sub project containing all the control modules as libraries.
Public Member Functions | Static Public Member Functions | List of all members
DCS::Utils::String Class Reference

A wrapper class used to export a simple string to the client side. More...

#include <DCS_ModuleUtils.h>

Public Member Functions

 String (const char *text)
 Create a String object from pointer.
 
 String (const String &s)
 
Stringoperator= (const String &s) noexcept
 
const size_t size () const
 Returns size of the string. More...
 
const char * c_str () const
 Converts a String object to const char* raw pointer. More...
 

Static Public Member Functions

template<typename T >
static const String From (T val)
 

Detailed Description

A wrapper class used to export a simple string to the client side.

Member Function Documentation

const char* DCS::Utils::String::c_str ( ) const
inline

Converts a String object to const char* raw pointer.

Returns
buffer.
const size_t DCS::Utils::String::size ( ) const
inline

Returns size of the string.

Returns
str size.

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