Elaztek Developer Hub
Blamite Game Engine - Strings  00326.06.27.21.0407.blamite
A library containing general purpose utilities and classes for use in multiple projects.
string.h File Reference
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

 BlamStrings
 Namespace for Blamite's shared C++ library.
 
 BlamStrings::Utils
 Namespace containing general-purpose utilities.
 
 BlamStrings::Utils::String
 Utilities for working with and modifying strings.
 

Macros

#define STRINGS_API   __declspec(dllimport)
 
#define str_tolower(str)   BlamStrings::Utils::String::ToLower(str);
 
#define str_toupper(str)   BlamStrings::Utils::String::ToUpper(str);
 

Functions

STRINGS_API bool BlamStrings::Utils::String::StartsWith (std::string string, std::string starts_with, bool case_insensetive)
 Determines whether or not a string starts with another string, case-insensetive. More...
 
STRINGS_API bool BlamStrings::Utils::String::EndsWith (std::string string, std::string ends_with, bool case_insensetive)
 Determines whether or not a string ends with another string, case-sensetive. More...
 
STRINGS_API std::string BlamStrings::Utils::String::Replace (std::string orig, std::string to_replace, std::string replace_with)
 Replaces part of a string with another string. More...
 
STRINGS_API std::string BlamStrings::Utils::String::ToLower (std::string string)
 Transforms a string to all-lowercase. More...
 
STRINGS_API std::string BlamStrings::Utils::String::ToUpper (std::string string)
 Transforms a string to all-uppercase. More...
 
STRINGS_API std::string BlamStrings::Utils::String::FixDirectorySeparators (std::string string)
 Replaces any instance of \\\ in a string with /. More...
 
STRINGS_API std::vector< std::string > BlamStrings::Utils::String::Split (std::string string, std::string splitter)
 Splits a string around any instance of a substring. More...
 
STRINGS_API bool BlamStrings::Utils::String::ContainsChar (std::string string, char contains)
 Determines whether or not a string contains the specified character. More...
 
STRINGS_API bool BlamStrings::Utils::String::Contains (std::string string, std::string contains)
 Determines whether or not a string contains the specified substring. More...
 
STRINGS_API bool BlamStrings::Utils::String::MemoryStringCompare (char *address, char *to_compare, int size)
 Checks the specified address in memory to see if it matches a given string, ignoring null terminators. More...
 

Macro Definition Documentation

◆ str_tolower

#define str_tolower (   str)    BlamStrings::Utils::String::ToLower(str);

◆ str_toupper

#define str_toupper (   str)    BlamStrings::Utils::String::ToUpper(str);

◆ STRINGS_API

#define STRINGS_API   __declspec(dllimport)