SPH
Classes | Functions
String.h File Reference

Object representing a sequence of characters. More...

#include "objects/containers/Array.h"
#include <string.h>

Go to the source code of this file.

Classes

class  String
 

Functions

INLINE bool operator< (const String &s1, const String &s2)
 
INLINE String operator""_s (const char *s, std::size_t UNUSED(len))
 
template<typename T >
INLINE String toString (const T &value)
 
String getFormattedTime (const String &format)
 Utility functions. More...
 

Detailed Description

Object representing a sequence of characters.

Author
Pavel Sevecek (sevecek at sirrah.troja.mff.cuni.cz)
Date
2016-2021

Definition in file String.h.

Function Documentation

◆ getFormattedTime()

String getFormattedTime ( const String format)

Utility functions.

Returns the current time, formatted by given formatting string.

Definition at line 128 of file String.cpp.

◆ operator""_s()

INLINE String operator""_s ( const char *  s,
std::size_t   UNUSEDlen 
)

Definition at line 158 of file String.h.

◆ operator<()

INLINE bool operator< ( const String s1,
const String s2 
)

Definition at line 154 of file String.h.

◆ toString()

template<typename T >
INLINE String toString ( const T &  value)

Definition at line 163 of file String.h.