Faro Engine 0.0.0.b519570 (main)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Faro::String Class Reference

#include <String.hpp>

Public Member Functions

 String ()
 
 String (String &str)
 
 String (const String &str)
 
 String (std::string str)
 
 String (char *str)
 
 String (const char *str)
 
 String (Array< char > stringArray)
 
 String (const char *str, uint32 length)
 
uint32 Length ()
 
void Resize (uint32 size)
 
bool Empty ()
 
void Erase (uint32 index, uint32 amount=1)
 
String Sub (uint32 Length)
 
String Sub (uint32 Start, uint32 Length)
 
int16 Find (String sub)
 
void FillToWidth (uint32 width, char fill=' ')
 
void Replace (String search, String replace)
 
int32 FindLastOf (String find)
 
void ToLower ()
 
String Lower ()
 
void ToUpper ()
 
String Upper ()
 
char operator[] (int index) const
 
char & operator[] (int index)
 
void operator+= (String other)
 
void operator+= (char other)
 
bool Equals (String other)
 
bool operator< (const String &other) const
 
iterator begin ()
 
iterator end ()
 
const char * Data () const
 
const char * operator* ()
 

Constructor & Destructor Documentation

◆ String() [1/8]

Faro::String::String ( )
inline

◆ String() [2/8]

Faro::String::String ( String str)
inline

◆ String() [3/8]

Faro::String::String ( const String str)
inline

◆ String() [4/8]

Faro::String::String ( std::string  str)
inline

◆ String() [5/8]

Faro::String::String ( char *  str)
inline

◆ String() [6/8]

Faro::String::String ( const char *  str)
inline

◆ String() [7/8]

Faro::String::String ( Array< char >  stringArray)
inline

◆ String() [8/8]

Faro::String::String ( const char *  str,
uint32  length 
)
inline

Member Function Documentation

◆ begin()

iterator Faro::String::begin ( )
inline

◆ Data()

const char * Faro::String::Data ( ) const
inline

◆ Empty()

bool Faro::String::Empty ( )
inline

◆ end()

iterator Faro::String::end ( )
inline

◆ Equals()

bool Faro::String::Equals ( String  other)
inline

◆ Erase()

void Faro::String::Erase ( uint32  index,
uint32  amount = 1 
)
inline

◆ FillToWidth()

void Faro::String::FillToWidth ( uint32  width,
char  fill = ' ' 
)
inline

◆ Find()

int16 Faro::String::Find ( String  sub)
inline

◆ FindLastOf()

int32 Faro::String::FindLastOf ( String  find)
inline

◆ Length()

uint32 Faro::String::Length ( )
inline

◆ Lower()

String Faro::String::Lower ( )
inline

◆ operator*()

const char * Faro::String::operator* ( )
inline

◆ operator+=() [1/2]

void Faro::String::operator+= ( char  other)
inline

◆ operator+=() [2/2]

void Faro::String::operator+= ( String  other)
inline

◆ operator<()

bool Faro::String::operator< ( const String other) const
inline

◆ operator[]() [1/2]

char & Faro::String::operator[] ( int  index)
inline

◆ operator[]() [2/2]

char Faro::String::operator[] ( int  index) const
inline

◆ Replace()

void Faro::String::Replace ( String  search,
String  replace 
)
inline

◆ Resize()

void Faro::String::Resize ( uint32  size)
inline

◆ Sub() [1/2]

String Faro::String::Sub ( uint32  Length)
inline

◆ Sub() [2/2]

String Faro::String::Sub ( uint32  Start,
uint32  Length 
)
inline

◆ ToLower()

void Faro::String::ToLower ( )
inline

◆ ToUpper()

void Faro::String::ToUpper ( )
inline

◆ Upper()

String Faro::String::Upper ( )
inline

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