Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strings CfgFunctions cleanup #822

Merged
merged 1 commit into from
Dec 8, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
118 changes: 17 additions & 101 deletions addons/strings/CfgFunctions.hpp
Original file line number Diff line number Diff line change
@@ -1,104 +1,20 @@
// -----------------------------------------------------------------------------
// Automatically generated by 'functions_config.rb'
// DO NOT MANUALLY EDIT THIS FILE!
// -----------------------------------------------------------------------------

class CfgFunctions
{
class CBA
{
class Strings
{
// CBA_fnc_capitalize
class capitalize
{
description = "Upper case the first letter of the string, lower case the rest.";
file = "\x\cba\addons\strings\fnc_capitalize.sqf";
};
// CBA_fnc_substring
class substring
{
description = "Extracts the index-based substring from a string.";
file = "\x\cba\addons\strings\fnc_substring.sqf";
};
// CBA_fnc_substr
class substr
{
description = "Retrieves a substring of this instance. The substring starts at a specified character position and has a specified length.";
file = "\x\cba\addons\strings\fnc_substr.sqf";
};
// CBA_fnc_find
class find
{
description = "Finds a string within another string.";
file = "\x\cba\addons\strings\fnc_find.sqf";
};
// CBA_fnc_find
class floatToString
{
description = "Higher precision string representation of a float. Fast.";
file = "\x\cba\addons\strings\fnc_floatToString.sqf";
};
// CBA_fnc_formatElapsedTime
class formatElapsedTime
{
description = "Formats time in seconds according to a format. Intended to show time elapsed, rather than time-of-day.";
file = "\x\cba\addons\strings\fnc_formatElapsedTime.sqf";
};
// CBA_fnc_formatNumber
class formatNumber
{
description = "Formats a number to a minimum integer width and to a specific number of decimal places (including padding with 0s and correct rounding). Numbers are always displayed fully, never being condensed using an exponent (e.g. the number 1.234e9 would be given as ""1234000000"").";
file = "\x\cba\addons\strings\fnc_formatNumber.sqf";
};
// CBA_fnc_leftTrim
class leftTrim
{
description = "Trims white-space (space, tab, newline) from the left end of a string.";
file = "\x\cba\addons\strings\fnc_leftTrim.sqf";
};
// CBA_fnc_removeWhitespace
class removeWhitespace
{
description = "Removes whitespace (space, tab, newline) from string.";
file = "\x\cba\addons\strings\fnc_removeWhitespace.sqf";
};
// CBA_fnc_replace
class replace
{
description = "Replaces substrings within a string. Case-dependent.";
file = "\x\cba\addons\strings\fnc_replace.sqf";
};
// CBA_fnc_rightTrim
class rightTrim
{
description = "Trims white-space (space, tab, newline) from the right end of a string.";
file = "\x\cba\addons\strings\fnc_rightTrim.sqf";
};
// CBA_fnc_split
class split
{
description = "Splits a string into substrings using a separator. Inverse of <CBA_fnc_join>.";
file = "\x\cba\addons\strings\fnc_split.sqf";
};
// CBA_fnc_strLen
class strLen
{
description = "Counts the number of characters in a string.";
file = "\x\cba\addons\strings\fnc_strLen.sqf";
};
// CBA_fnc_trim
class trim
{
description = "Trims white-space (space, tab, newline) from the both ends of a string.";
file = "\x\cba\addons\strings\fnc_trim.sqf";
};
// CBA_fnc_testStrings
class testStrings
{
description = "Internal Self Check. Check the RPT file for results.";
file = "\x\cba\addons\strings\test.sqf";
};
class CfgFunctions {
class CBA {
class Strings {
PATHTO_FNC(capitalize);
PATHTO_FNC(substring);
PATHTO_FNC(substr);
PATHTO_FNC(find);
PATHTO_FNC(floatToString);
PATHTO_FNC(formatElapsedTime);
PATHTO_FNC(formatNumber);
PATHTO_FNC(leftTrim);
PATHTO_FNC(removeWhitespace);
PATHTO_FNC(replace);
PATHTO_FNC(rightTrim);
PATHTO_FNC(split);
PATHTO_FNC(strLen);
PATHTO_FNC(trim);
};
};
};