Elaztek Developer Hub
Blamite Game Engine - Strings  00390.07.02.23.1947.blamite
A library containing general purpose utilities and classes for use in multiple projects.
BlamString Class Reference

#include <BlamString.h>

Public Member Functions

 BlamString (std::string stdstring)
 
 BlamString (const char *cstring)
 
 BlamString (char character)
 
int ToInt (bool *success=nullptr)
 
short ToShort (bool *success=nullptr)
 
float ToFloat (bool *success=nullptr)
 
const char * ToCString ()
 
std::vector< char > ToCharList ()
 
std::string ToStdString ()
 
char GetCharAt (int index)
 
int Size ()
 
int Length ()
 
void Append (BlamString string)
 
BlamString Substring (int offset, int length)
 
bool Contains (BlamString string)
 
BlamString operator+ (BlamString new_string)
 
BlamString operator+= (BlamString new_string)
 
BlamString operator= (BlamString new_string)
 

Constructor & Destructor Documentation

◆ BlamString() [1/3]

BlamString::BlamString ( std::string  stdstring)

◆ BlamString() [2/3]

BlamString::BlamString ( const char *  cstring)

◆ BlamString() [3/3]

BlamString::BlamString ( char  character)
+ Here is the call graph for this function:

Member Function Documentation

◆ Append()

void BlamString::Append ( BlamString  string)

◆ Contains()

bool BlamString::Contains ( BlamString  string)
+ Here is the call graph for this function:

◆ GetCharAt()

char BlamString::GetCharAt ( int  index)

◆ Length()

int BlamString::Length ( )

◆ operator+()

BlamString BlamString::operator+ ( BlamString  new_string)
+ Here is the call graph for this function:

◆ operator+=()

BlamString BlamString::operator+= ( BlamString  new_string)
+ Here is the call graph for this function:

◆ operator=()

BlamString BlamString::operator= ( BlamString  new_string)
+ Here is the call graph for this function:

◆ Size()

int BlamString::Size ( )

◆ Substring()

BlamString BlamString::Substring ( int  offset,
int  length 
)

◆ ToCharList()

std::vector< char > BlamString::ToCharList ( )

◆ ToCString()

const char * BlamString::ToCString ( )

◆ ToFloat()

float BlamString::ToFloat ( bool *  success = nullptr)
+ Here is the call graph for this function:

◆ ToInt()

int BlamString::ToInt ( bool *  success = nullptr)
+ Here is the call graph for this function:

◆ ToShort()

short BlamString::ToShort ( bool *  success = nullptr)
+ Here is the call graph for this function:

◆ ToStdString()

std::string BlamString::ToStdString ( )
+ Here is the caller graph for this function:

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