10# if !defined (HPP_ALIB_LANG_FORMAT_FORMATTER_JAVASTYLE)
13# if !defined (HPP_ALIB_STRINGS_FORMAT)
16# if !defined(HPP_ALIB_LANG_FORMAT_EXCEPTIONS)
117 if( ( c1 ==
'%' && c2 ==
'%')
123 case 'r': c1=
'\r' ;
break;
124 case 'n': c1=
'\n' ;
break;
125 case 't': c1=
'\t' ;
break;
126 case 'a': c1=
'\a' ;
break;
127 case 'b': c1=
'\b' ;
break;
128 case 'v': c1=
'\v' ;
break;
129 case 'f': c1=
'\f' ;
break;
130 case '"': c1=
'"' ;
break;
131 default: c1=
'?' ;
break;
137 else if( c1 ==
'%' && c2 ==
'n' )
171 states state= POSITION;
172 #define NEXTSTATE(s) { state= s; continue; }
208 bool flagsDone=
false;
285 if ( typeCharLower ==
'a' )
307 if(
NCString(
"egf").IndexOf(
static_cast<nchar>(typeCharLower) ) < 0 )
319 switch ( typeCharLower )
388 NEXTSTATE(TYPE_SUFFIX)
TAString & ToUpper(integer regionStart=0, integer regionLength=MAX_LEN)
void EnsureRemainingCapacity(integer spaceNeeded)
void SetLength(integer newLength)
integer IndexOf(TChar needle, integer startIdx=0) const
TChar CharAt(integer idx) const
constexpr integer Length() const
TChar CharAtStart() const
constexpr const TChar * Buffer() const
integer ConsumeChars(integer regionLength, TSubstring *target=nullptr)
bool ConsumeDecDigits(TIntegral &result)
#define ALIB_ASSERT_RESULT_EQUALS( func, value)
#define ALIB_CALLER_NULLED
#define ALIB_WARNINGS_RESTORE
#define ALIB_WARNINGS_ALLOW_UNSAFE_BUFFER_USAGE
platform_specific integer
@ Center
Chooses centered alignment.
@ Right
Chooses right alignment.
@ Left
Chooses left alignment.
lang::Exception Exception
Type alias in namespace alib.
strings::TCString< nchar > NCString
Type alias in namespace alib.
characters::character character
Type alias in namespace alib.
characters::nchar nchar
Type alias in namespace alib.
static TChar ToLower(TChar c)