Design Pattern Examples
Overview of object-oriented design patterns
helpers Directory Reference
Directory dependency graph for helpers:
helpers

Files

file  lusplus/helpers/_countof.h [code]
 
file  argumentinvalid_error.h [code]
 Implementation of the argumentinvalid_error exception.
 
file  argumentnull_error.h [code]
 Implementation of the argumentnull_error exception.
 
file  checkforkey.cpp [code]
 Implementation of the checkforkey() function for determining if a key has been pressed.
 
file  lusplus/helpers/checkforkey.h [code]
 Declaration of the checkforkey() function for determining if a key has been pressed.
 
file  cursor.cpp [code]
 Implementation of the setcursorposition() and getcursorposition() functions for manipulating the cursor position on Windows terminals.
 
file  lusplus/helpers/cursor.h [code]
 Declaration of the setcursorposition() and getcursorposition() functions for manipulating the cursor position on Windows terminals.
 
file  DateTime.cpp [code]
 Implementation of the DateTime class to simplify getting the local time as a string (modeled after the C# version).
 
file  lusplus/helpers/DateTime.h [code]
 Declaration of the DateTime class to simplify getting the local time as a string (modeled after the C# version).
 
file  enablevtmode.cpp [code]
 Implementation of the enableVTMode() function for configuring standard input to support the virtual terminal mode (on Windows).
 
file  lusplus/helpers/enablevtmode.h [code]
 Declaration of the enableVTMode() function for configuring standard input to support the virtual terminal mode (on Windows).
 
file  formatstring.cpp [code]
 Implementation of the formatstring() function that replaces sprintf() and snprintf() by allocating the right-sized buffer and returning it.
 
file  lusplus/helpers/formatstring.h [code]
 Declaration of the formatstring() function that replaces sprintf() and snprintf() by allocating the right-sized buffer and returning it.
 
file  makelocaltime.cpp [code]
 Implementation of the makelocaltime() function to convert a time_t to a struct tm containing the local time.
 
file  lusplus/helpers/makelocaltime.h [code]
 Declaration of the makelocaltime() function to convert a time_t to a struct tm containing the local time.
 
file  lusplus/helpers/mapofstrings.h [code]
 Declaration of the MapOfStrings typedef for declaring a map of strings keyed by another string.
 
file  readkey.cpp [code]
 Implementation of the readkey() function, a blocking read for a key from the keyboard.
 
file  lusplus/helpers/readkey.h [code]
 Declaration of the readkey() function, a blocking read for a key from the keyboard.
 
file  replace.cpp [code]
 Implementation of the Replace(const std::string&, const char*, const char*, bool) and Replace(const std::string&, char, char, bool) functions, for replacing narrow character characters and strings in a string.
 
file  lusplus/helpers/replace.h [code]
 Declaration of the Replace() functions, for replacing characters and strings in a string.
 
file  replacew.cpp [code]
 Implementation of the Replace(const std::wstring&, const wchar_t*, const wchar_t*, bool) and Replace(const std::wstring&, wchar_t, wchar_t, bool) functions, for replacing narrow character characters and strings in a string.
 
file  sleep.cpp [code]
 Implementation of the sleep function, for sleeping for a number of milliseconds.
 
file  lusplus/helpers/sleep.h [code]
 Declaration of the sleep function, for sleeping for a number of milliseconds.
 
file  split.cpp [code]
 Implementation of the split functions, for splitting a narrow character string on delimiters.
 
file  lusplus/helpers/split.h [code]
 Declaration of the split functions, for splitting a string on delimiters.
 
file  splitw.cpp [code]
 Implementation of the split functions, for splitting a wide character string on delimiters.
 
file  stricmp.cpp [code]
 Implementation of the stricmp function, case-insensitive string comparison for narrow character strings.
 
file  stricmp.h [code]
 Declaration of the stricmp function, case-insensitive string comparison for narrow character strings.
 
file  lusplus/helpers/stringlist.h [code]
 Declaration of the StringList and StringListW typedefs for declaring a vector of strings.
 
file  strstri.cpp [code]
 Implementation of the strstri function, case-insensitive string search for narrow character strings.
 
file  lusplus/helpers/strstri.h [code]
 Declaration of the strstri function, case-insensitive string search for narrow character strings.
 
file  titlecase.cpp [code]
 Implementation of the titlecase() function, for making a word lowercase with the first letter uppercase.
 
file  lusplus/helpers/titlecase.h [code]
 Declaration of the titlecase() function, for making a word lowercase with the first letter uppercase.
 
file  uint32_to_binary.cpp [code]
 Implementation of the uint32_to_binary() function, that converts a 32-bit unsigned integer to a binary string. Need this since C++ does not normally provide a printf() converter to binary.
 
file  lusplus/helpers/uint32_to_binary.h [code]
 Declaration of the uint32_to_binary() function, that converts a 32-bit unsigned integer to a binary string. Need this since C++ does not normally provide a printf() converter to binary.
 
file  wcsstri.cpp [code]
 Implementation of the wcsstri function, case-insensitive string search for wide character strings.
 
file  wcsstri.h [code]
 Declaration of the wcsstri function, case-insensitive string search for wide character strings.