OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
string_frm< storageSz > Class Template Reference

#include <string_frm.h>

Public Member Functions

template<class ... Args>
 string_frm (const Args &... arg)
 
 ~string_frm ()
 
 string_frm (string_frm &&other)
 
string_frmoperator= (string_frm &&other)
 
 operator std::string_view () const
 
bool empty () const
 
char * c_str ()
 
char * begin ()
 
char * end ()
 
const char * begin () const
 
const char * end () const
 

Friends

template<size_t sz>
bool operator== (const string_frm< sz > &l, std::string_view v)
 
template<size_t sz>
bool operator== (std::string_view v, const string_frm< sz > &l)
 

Detailed Description

template<size_t storageSz = 64>
class string_frm< storageSz >

Definition at line 8 of file string_frm.h.

Constructor & Destructor Documentation

◆ string_frm() [1/2]

template<size_t storageSz = 64>
template<class ... Args>
string_frm< storageSz >::string_frm ( const Args &...  arg)
inline

Definition at line 11 of file string_frm.h.

◆ ~string_frm()

template<size_t storageSz = 64>
string_frm< storageSz >::~string_frm ( )
inline

Definition at line 25 of file string_frm.h.

◆ string_frm() [2/2]

template<size_t storageSz = 64>
string_frm< storageSz >::string_frm ( string_frm< storageSz > &&  other)
inline

Definition at line 30 of file string_frm.h.

Member Function Documentation

◆ begin() [1/2]

template<size_t storageSz = 64>
char * string_frm< storageSz >::begin ( )
inline

Definition at line 57 of file string_frm.h.

◆ begin() [2/2]

template<size_t storageSz = 64>
const char * string_frm< storageSz >::begin ( ) const
inline

Definition at line 69 of file string_frm.h.

◆ c_str()

template<size_t storageSz = 64>
char * string_frm< storageSz >::c_str ( )
inline

Definition at line 51 of file string_frm.h.

◆ empty()

template<size_t storageSz = 64>
bool string_frm< storageSz >::empty ( ) const
inline

Definition at line 45 of file string_frm.h.

◆ end() [1/2]

template<size_t storageSz = 64>
char * string_frm< storageSz >::end ( )
inline

Definition at line 63 of file string_frm.h.

◆ end() [2/2]

template<size_t storageSz = 64>
const char * string_frm< storageSz >::end ( ) const
inline

Definition at line 75 of file string_frm.h.

◆ operator std::string_view()

template<size_t storageSz = 64>
string_frm< storageSz >::operator std::string_view ( ) const
inline

Definition at line 39 of file string_frm.h.

◆ operator=()

template<size_t storageSz = 64>
string_frm & string_frm< storageSz >::operator= ( string_frm< storageSz > &&  other)
inline

Definition at line 34 of file string_frm.h.

Friends And Related Symbol Documentation

◆ operator== [1/2]

template<size_t storageSz = 64>
template<size_t sz>
bool operator== ( const string_frm< sz > &  l,
std::string_view  v 
)
friend

Definition at line 164 of file string_frm.h.

◆ operator== [2/2]

template<size_t storageSz = 64>
template<size_t sz>
bool operator== ( std::string_view  v,
const string_frm< sz > &  l 
)
friend

Definition at line 170 of file string_frm.h.

Member Data Documentation

◆ heap

template<size_t storageSz = 64>
char* string_frm< storageSz >::heap

Definition at line 89 of file string_frm.h.

◆ stk

template<size_t storageSz = 64>
char string_frm< storageSz >::stk[storageSz] = {}

Definition at line 88 of file string_frm.h.


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