8#if !defined(ALIB_C20_MODULES) || ((ALIB_C20_MODULES != 0) && (ALIB_C20_MODULES != 1))
9# error "Symbol ALIB_C20_MODULES has to be given to the compiler as either 0 or 1"
19 module ALib.ALox.Impl;
24 import ALib.EnumRecords;
25 import ALib.EnumRecords.Bootstrap;
26 import ALib.Format.FormatterPythonStyle;
27 import ALib.Format.FormatterJavaStyle;
28 import ALib.Variables;
30 import ALib.Camp.Base;
54 Formatters.emplace_back( firstLevelFormatter );
60 "ALox object converter recursion counter > 0.\n"
61 "Note: This error indicates, that a previous format operation (log statement) contained\n"
62 " corrupt format values, which caused the formatter to behave undefined, including\n"
63 " the corruption of the execution stack of ALox logging." )
73 // get a formatter. We use a clone per recursion depth!
74 // So, did we have this depth already before? If not, create a new set of formatters formatter
75 if( size_t( cntRecursion ) >= Formatters.size() ) {
76 // create a pair of recursion formatters
77 Formatter* recursionFormatter= new FormatterPythonStyle();
78 recursionFormatter->Next.InsertDerived<FormatterJavaStyle>();
79 recursionFormatter->CloneSettings( *Formatters[0] );
80 Formatters.emplace_back( recursionFormatter );
83 Formatter* formatter= Formatters[size_t( cntRecursion )];
87 formatter->FormatArgs( target, logables );
91 target << ALOX.GetResource("TLFmtExc
");
92 ALIB_LOCK_RECURSIVE_WITH( format::Formatter::DefaultLock )
99void StandardConverter::SetAutoSizes( AutoSizes* autoSizes ) {
100 FormatterPythonStyle* fmtPS= dynamic_cast<FormatterPythonStyle*>( Formatters[0] );
101 if (fmtPS != nullptr )
102 fmtPS->Sizes= autoSizes;
105AutoSizes* StandardConverter::GetAutoSizes() {
106 FormatterPythonStyle* fmtPS= dynamic_cast<FormatterPythonStyle*>( Formatters[0] );
107 if (fmtPS != nullptr )
112void StandardConverter::ResetAutoSizes() {
113 FormatterPythonStyle* fmtPS;
114 for( auto* elem : Formatters )
115 if ( (fmtPS= dynamic_cast<FormatterPythonStyle*>( elem )) != nullptr )
116 fmtPS->Sizes->Reset();
119//##################################################################################################
121//##################################################################################################
122void TextLogger::writeMetaInfo( AString& buf, detail::Domain& domain, Verbosity verbosity,
123 detail::ScopeInfo& scope ) {
125 auto& fmt= varFormatMetaInfo.Get<FormatMetaInfo>();
126 if ( fmt.Format.IsEmpty() )
129 // clear DateTime singleton
130 callerDateTime.Year= (std::numeric_limits<int>::min)();
132 Substring format( fmt.Format );
134 // get next and log substring between commands
135 integer idx= format.IndexOf( '%' );
137 format.ConsumeChars<NC, lang::CurrentData::Keep>( idx, buf, 1 );
138 processVariable( domain.FullPath, verbosity, scope, buf, format );
144void TextLogger::processVariable( const NString& domainPath,
146 detail::ScopeInfo& scope,
148 Substring& variable ) {
150 auto& fmt= varFormatMetaInfo .Get<FormatMetaInfo>();
151 auto& autoSizes= varFormatAutoSizes.Get<FormatAutoSizes>();
153 switch ( variable.ConsumeChar() ) {
159 switch( c2= variable.ConsumeChar() ) {
160 case 'P': // SP: full path
162 val= scope.GetFullPath();
164 val= GetFormatOther().NoSourceFileInfo;
167 case 'p': // Sp: trimmed path
169 integer previousLength= dest.Length();
170 scope.GetTrimmedPath( dest );
171 if( dest.Length() != previousLength )
173 val= GetFormatOther().NoSourceFileInfo;
176 case 'F': // file name
178 val= scope.GetFileName();
180 val= GetFormatOther().NoSourceFileInfo;
183 case 'f': // file name without extension
185 val= scope.GetFileNameWithoutExtension();
187 val= GetFormatOther().NoSourceFileInfo;
191 case 'M': // method name
193 val= scope.GetMethod();
195 val= GetFormatOther().NoMethodInfo;
198 case 'L': // line number
200 dest._<NC>( scope.GetLineNumber() );
206 ALIB_ASSERT_WARNING( FormatWarningOnce, "ALOX",
207 "Unknown
format variable
'%S{}' (only one warning)
", c2 )
208 ALIB_DBG( FormatWarningOnce= true; )
219 c2= variable.ConsumeChar();
223 // get time stamp as CalendarDateTime once
224 if ( callerDateTime.Year == (std::numeric_limits<int>::min)() )
225 callerDateTime.Set( DateConverter.ToDateTime( scope.GetTimeStamp() ) );
227 // if standard format, just write it out
228 if ( GetFormatDate().Date.Equals<NC>( A_CHAR("yyyy-MM-dd
") ) ) {
229 dest._<NC>( alib::Dec( callerDateTime.Year, 4 ) )._<NC>( '-' )
230 ._<NC>( alib::Dec( callerDateTime.Month, 2 ) )._<NC>( '-' )
231 ._<NC>( alib::Dec( callerDateTime.Day, 2 ) );
233 // user-defined format
235 callerDateTime.Format( GetFormatDate().Date, dest );
243 // get time stamp as CalendarDateTime once
244 if ( callerDateTime.Year == (std::numeric_limits<int>::min)() )
245 callerDateTime.Set( DateConverter.ToDateTime( scope.GetTimeStamp() ) );
247 // avoid the allocation of a) a StringBuilder (yes, a string builder is allocated inside StringBuilder.AppendFormat!)
248 // and b) a DateTime object, if the format is the unchanged standard. And it is faster anyhow.
249 if ( GetFormatDate().TimeOfDay.Equals<NC>( A_CHAR("HH:mm:ss
") ) ) {
250 dest._<NC>( alib::Dec(callerDateTime.Hour, 2) )._<NC>( ':' )
251 ._<NC>( alib::Dec(callerDateTime.Minute, 2) )._<NC>( ':' )
252 ._<NC>( alib::Dec(callerDateTime.Second, 2) );
255 // user-defined format
257 callerDateTime.Format( GetFormatDate().TimeOfDay, dest );
260 // %TC: Time elapsed since created
261 else if ( c2 == 'C' ) {
262 auto elapsedTime= scope.GetTimeStamp() - TimeOfCreation;
263 auto elapsedSecs= elapsedTime.InAbsoluteSeconds();
264 CalendarDuration elapsed( elapsedTime );
266 // determine number of segments to write and match this to recent (autosizes) value
267 int timeSize= elapsedSecs >= 24*3600 ? 6
268 : elapsedSecs >= 10*3600 ? 5
269 : elapsedSecs >= 3600 ? 4
270 : elapsedSecs >= 10*60 ? 3
271 : elapsedSecs >= 60 ? 2
272 : elapsedSecs >= 9 ? 1
274 timeSize= int(autoSizes.Main.Next( AutoSizes::Types::Field, timeSize, 0 ));
277 if ( timeSize >= 4 ) dest._<NC>( elapsed.Days )._<NC>( GetFormatDate().ElapsedDays );
278 if ( timeSize >= 3 ) dest._<NC>( alib::Dec(elapsed.Hours , timeSize >= 5 ? 2 : 1 ) )._<NC>( ':' );
279 if ( timeSize >= 2 ) dest._<NC>( alib::Dec(elapsed.Minutes, timeSize >= 3 ? 2 : 1 ) )._<NC>( ':' );
280 dest._<NC>( alib::Dec(elapsed.Seconds, timeSize >= 1 ? 2 : 1) )._<NC>( '.' );
281 dest._<NC>( alib::Dec(elapsed.Milliseconds, 3) );
284 // %TL: Time elapsed since last log call
285 else if ( c2 == 'L' )
286 writeTimeDiff( dest, scope.GetTimeStamp().Since( TimeOfLastLog ).InNanoseconds() );
289 ALIB_ASSERT_WARNING( FormatWarningOnce, "ALOX",
290 "Unknown
format variable
'%T{}' (only one warning)
", c2 )
291 ALIB_DBG( FormatWarningOnce= true; )
300 c2= variable.ConsumeChar();
302 if ( c2 == 'N' ) { // %tN: thread name
303 #if !ALIB_SINGLE_THREADED
304 const String& threadName= scope.GetThreadNameAndID(nullptr);
306 String msg( A_CHAR("SINGLE_THREADED
") );
307 const String& threadName= msg;
309 dest._<NC>( Field( threadName,
311 AutoSizes::Types::Field, threadName.Length(), 0),
312 lang::Alignment::Center ) );
314 else if ( c2 == 'I' ) { // %tI: thread ID
316 #if !ALIB_SINGLE_THREADED
317 threadID._( scope.GetThreadID() );
321 dest._<NC>( Field( threadID,
323 AutoSizes::Types::Field, threadID .Length(), 0),
324 lang::Alignment::Center ) );
326 ALIB_ASSERT_WARNING( FormatWarningOnce, "ALOX",
327 "Unknown
format variable
'%t{}' (only one warning)
", c2 )
328 ALIB_DBG( FormatWarningOnce= true; )
335 c2= variable.ConsumeChar();
336 if ( c2 == 'G' ) dest._<NC>( GetName() );
337 else if ( c2 == 'X' ) dest._<NC>( scope.GetLoxName() );
339 ALIB_ASSERT_WARNING( FormatWarningOnce, "ALOX",
340 "Unknown
format variable
'%L{}' (only one warning)
", c2 )
341 ALIB_DBG( FormatWarningOnce= true; )
348 dest._<NC>( ProcessInfo::Current().Name );
353 dest._<NC>( verbosity == Verbosity::Error ? fmt.VerbosityError
354 : verbosity == Verbosity::Warning ? fmt.VerbosityWarning
355 : verbosity == Verbosity::Info ? fmt.VerbosityInfo
356 : fmt.VerbosityVerbose );
361 dest._( Field( domainPath,
363 AutoSizes::Types::Field, domainPath.Length(), 0 ),
364 lang::Alignment::Left ) );
369 dest._<NC>( alib::Dec( CntLogs, GetFormatOther().LogNumberMinDigits ) );
375 // read extra space from format string
377 if( !variable.ConsumeDecDigits( extraSpace ) )
379 integer currentLength= dest.WStringLength();
380 integer tabPos= autoSizes.Main.Next(
381 AutoSizes::Types::Tabstop, currentLength, extraSpace);
382 dest.InsertChars(' ', tabPos - currentLength );
388 dest._<NC>( GetName() );
392 ALIB_ASSERT_WARNING( FormatWarningOnce, "ALOX",
393 "Unknown
format character '{}' (only one warning)
", *( variable.Buffer() -1 ) )
394 ALIB_DBG( FormatWarningOnce= true; )
399void TextLogger::writeTimeDiff( AString& buf, int64_t diffNanos ) {
400 auto& td= GetFormatTimeDiff();
403 if ( diffNanos < td.Minimum ) {
404 buf._<NC>( td.None );
408 if ( diffNanos < 1000 ) {
409 buf._<NC>( alib::Dec( diffNanos, 3 ) )._<NC>( td.Nanos );
413 // we continue with micros
414 int64_t diffMicros= diffNanos / 1000L;
416 // below 1000 microseconds?
417 if ( diffMicros < 1000 ) {
418 buf._<NC>( alib::Dec( diffMicros, 3 ) );
419 buf._<NC>( td.Micros );
424 if ( diffMicros < 1000000 ) {
425 buf._<NC>( alib::Dec( (diffMicros / 1000), 3 ) )._<NC>( td.Millis );
430 // below 10 secs (rounded) ?
431 if ( diffMicros < 9995000 ) {
432 // convert to hundredth of secs
433 int64_t hundredthSecs= ((diffMicros / 1000) + 5) / 10;
435 // print two digits after dot x.xx
436 buf._<NC>( alib::Dec( (hundredthSecs / 100), 1 ) )
438 ._<NC>( alib::Dec( (hundredthSecs % 100), 2 ) )
443 // convert to tenth of secs
444 int64_t tenthSecs= ((diffMicros / 10000) + 5) / 10 ;
447 if ( tenthSecs < 1000 ) {
448 // print one digits after dot xx.x (round value by adding 5 hundredth)
449 buf._<NC>( alib::Dec( ( tenthSecs / 10 ), 2 ) )
451 ._<NC>( alib::Dec( ( tenthSecs % 10 ), 1 ) )
457 if ( tenthSecs < 6000 ) {
458 // convert to hundredth of minutes
459 int64_t hundredthMins= tenthSecs / 6;
461 // print two digits after dot x.xx
462 buf._<NC>( alib::Dec( (hundredthMins / 100), 1 ) )
464 ._<NC>( alib::Dec( (hundredthMins % 100), 2 ) )
469 // convert to tenth of minutes
470 int64_t tenthMins= tenthSecs / 60;
473 if ( tenthMins < 1000 ) {
474 // print one digits after dot xx.x (round value by adding 5 hundredth)
475 buf._<NC>( alib::Dec( (tenthMins / 10), 2 ) )
477 ._<NC>( alib::Dec( (tenthMins % 10), 1 ) )
483 if ( tenthMins < 6000 ) {
484 // convert to hundredth of hours
485 int64_t hundredthHours= tenthMins / 6;
487 // print two digits after dot x.xx
488 buf._<NC>( alib::Dec( (hundredthHours / 100), 1 ) )
490 ._<NC>( alib::Dec( (hundredthHours % 100), 2 ))
495 // convert to tenth of minutes
496 int64_t tenthHours= tenthMins / 60;
499 if ( tenthHours < 1000 ) {
500 // print two digits after dot x.xx
501 buf._<NC>( alib::Dec( (tenthHours / 10), 2 ) )
503 ._<NC>( alib::Dec( (tenthHours % 10), 1 ) )
509 if ( tenthHours < 1000 ) {
510 // print one digits after dot xx.x (round value by adding 5 hundredth)
511 buf._<NC>( alib::Dec( (tenthHours / 10), 2 ) )
513 ._<NC>( alib::Dec( ((tenthHours / 10) % 10), 1 ) )
518 // convert to hundredth of days
519 int64_t hundredthDays= tenthHours * 10 / 24;
522 if ( hundredthDays < 1000 ) {
523 // print two digits after dot x.xx
524 buf._<NC>( alib::Dec( (hundredthDays / 100), 1 ) )
526 ._<NC>( alib::Dec( (hundredthDays % 100), 2 ) )
531 // 10 days or more (print days plus one digit after the comma)
532 // print one digits after dot xx.x (round value by adding 5 hundredth)
533 buf ._<NC>( alib::Dec( (hundredthDays / 100), 2 ) )
535 ._<NC>( alib::Dec( ((hundredthDays / 10) % 10), 1 ) )
540//##################################################################################################
542//##################################################################################################
543TextLogger::TextLogger( const NString& pName, const NString& typeName )
544: Logger( pName, typeName )
545, varFormatMetaInfo (variables::CampVariable(alib::ALOX))
546, varFormatDateTime (variables::CampVariable(alib::ALOX))
547, varFormatTimeDiff (variables::CampVariable(alib::ALOX))
548, varFormatMultiLine(variables::CampVariable(alib::ALOX))
549, varFormatOther (variables::CampVariable(alib::ALOX))
550, varFormatAutoSizes(variables::CampVariable(alib::ALOX))
551, varReplacements (variables::CampVariable(alib::ALOX))
553 logBuf.SetBuffer( 256 );
554 msgBuf.SetBuffer( 256 );
557TextLogger::~TextLogger() {
560 ALIB_ASSERT( msgBuf.IsEmpty(), "ALOX" )
563void TextLogger::AcknowledgeLox( detail::LoxImpl* , lang::ContainerOp op ) {
564 //--------------------------------------------- insert -------------------------------------------
565 if( op == lang::ContainerOp::Insert ) {
566 if ( Converter == nullptr )
567 Converter= new textlogger::StandardConverter();
569 // Variable AUTO_SIZES: use last session's values
570 {ALIB_LOCK_WITH(ALOX.GetConfig())
571 varFormatAutoSizes.Declare(Variables::AUTO_SIZES, Name );
572 (void) varFormatAutoSizes.Define();
573 Converter->SetAutoSizes( &varFormatAutoSizes.Get<FormatAutoSizes>().LogMessage );
576 // Variable <name>_FORMAT / <typeName>_FORMAT:
577 {ALIB_LOCK_WITH(ALOX.GetConfig())
578 const Declaration* variableDecl= Declaration::Get( Variables::FORMAT );
579 const Declaration* privateDecl= ALOX.GetConfig()->StoreDeclaration(variableDecl, GetName() );
581 if( !varFormatMetaInfo.Try( privateDecl )
582 && !varFormatMetaInfo.Try( ALOX.GetConfig()->StoreDeclaration(variableDecl, GetTypeName() ) ) )
584 varFormatMetaInfo.Declare( privateDecl );
585 ALIB_ASSERT_ERROR(varFormatMetaInfo.IsDefined(), "ALOX",
586 "Mandatory (usually resourced)
default value is missing
for variable \
"{}\".",
593 auto* privateDecl=
ALOX.GetConfig()->StoreDeclaration(variableDecl, GetName() );
594 if( !varFormatDateTime.Try( privateDecl )
595 && !varFormatDateTime.Try(
ALOX.GetConfig()->StoreDeclaration(variableDecl, GetTypeName() ) ) )
597 varFormatDateTime.Declare( privateDecl );
600 "Mandatory (usually resourced) default value is missing for variable \"{}\".",
607 auto* privateDecl=
ALOX.GetConfig()->StoreDeclaration(variableDecl, GetName() );
608 if( !varFormatTimeDiff.Try( privateDecl )
609 && !varFormatTimeDiff.Try(
ALOX.GetConfig()->StoreDeclaration(variableDecl, GetTypeName() ) ) )
611 varFormatTimeDiff.Declare( privateDecl );
613 "Mandatory (usually resourced) default value is missing for variable \"{}\".",
620 auto* privateDecl=
ALOX.GetConfig()->StoreDeclaration(variableDecl, GetName() );
621 if( !varFormatMultiLine.Try( privateDecl )
622 && !varFormatMultiLine.Try(
ALOX.GetConfig()->StoreDeclaration(variableDecl, GetTypeName() ) ) )
624 varFormatMultiLine.Declare( privateDecl );
626 "Mandatory (usually resourced) default value is missing for variable \"{}\".",
633 auto* privateDecl=
ALOX.GetConfig()->StoreDeclaration(variableDecl, GetName() );
634 if( !varFormatOther.Try( privateDecl )
635 && !varFormatOther.Try(
ALOX.GetConfig()->StoreDeclaration(variableDecl, GetTypeName() ) ) )
637 varFormatOther.Declare( privateDecl );
639 "Mandatory (usually resourced) default value is missing for variable \"{}\".",
646 auto* privateDecl =
ALOX.GetConfig()->StoreDeclaration(variableDecl, GetName() );
647 if( !varReplacements.Try( privateDecl)
648 && !varReplacements.Try(
ALOX.GetConfig()->StoreDeclaration(variableDecl, GetTypeName())) )
650 varReplacements.Declare(privateDecl);
655 if( !varReplacements.IsDefined() )
656 (void) varReplacements.Define(Priority::DefaultValues - 1);
663 for(
auto it= replacements.begin(); it < replacements.end(); it+= 2)
664 if ( it->Equals<
NC>( searched ) ) {
667 (*it).Reset( replacement );
671 replacements.erase( it );
672 replacements.erase( it );
678 replacements.insert( replacements.end(),
AStringPA(replacements.get_allocator().GetAllocator()) );
679 replacements.back() << searched;
680 replacements.insert( replacements.end(),
AStringPA(replacements.get_allocator().GetAllocator()) );
681 replacements.back() << replacement;
700 for (
size_t i= 0; i < replacements.size() ; i+= 2 )
701 msgBuf.SearchAndReplace( replacements[i],
709 autoSizes.LogMessage.WriteProtected=
true;
713 autoSizes.Main.Restart();
723 logText( domain, verbosity,
logBuf, scope, -1, isRecursion );
729 if ( multiLine.Mode == 0 ) {
732 String replacement= multiLine.DelimiterReplacement;
733 if ( multiLine.Delimiter.IsNotNull() )
734 cntReplacements+=
msgBuf.SearchAndReplace( multiLine.Delimiter, replacement, msgBufResetter.
OriginalLength() );
742 if ( cntReplacements == 0 ) {
752 logText( domain, verbosity,
logBuf, scope, -1, isRecursion );
756 auto prevIndex= autoSizes.Main.ActualIndex;
762 while ( actStart <
msgBuf.Length() ) {
768 if (multiLine.Delimiter.IsEmpty() ) {
771 actEnd=
msgBuf.IndexOf<
NC>(
'\n', actStart );
772 if( actEnd > actStart ) {
773 if(
msgBuf.CharAt<
NC>(actEnd - 1) ==
'\r' ) {
778 delimLen= multiLine.Delimiter.Length();
779 actEnd=
msgBuf.IndexOf<
NC>( multiLine.Delimiter, actStart );
789 logText( domain, verbosity,
logBuf, scope, -1, isRecursion );
806 if ( lineNo == 0 && ( multiLine.Mode == 3 || multiLine.Mode == 4 ) ) {
808 if ( multiLine.Mode == 3 ) {
810 autoSizes.Main.ActualIndex= prevIndex;
815 lbLenBeforeMsgPart= 0;
819 if ( multiLine.Mode == 2 ) {
822 autoSizes.Main.ActualIndex= prevIndex;
826 logBuf.ShortenTo( lbLenBeforeMsgPart );
827 autoSizes.Main.ActualIndex= prevIndex;
834 actStart= actEnd + delimLen;
835 if ( actStart >=
msgBuf.Length() )
837 logText( domain, verbosity,
logBuf, scope, lineNo, isRecursion );
851 if( autoSizes.Main .IsChanged()
852 || autoSizes.LogMessage.IsChanged() )
SharedConfiguration & GetConfig()
static constexpr character EOMETA[4]
End of meta-information in log string.
ALIB_DLL StandardConverter()
Constructor.
virtual ALIB_DLL void ConvertObjects(AString &target, BoxesMA &logables) override
virtual ALIB_DLL ~StandardConverter() override
Virtual destructor.
std::vector< Formatter * > Formatters
int cntRecursion
A counter to detect recursive calls.
Replacements & GetReplacements()
virtual ALIB_DLL void writeMetaInfo(AString &buffer, detail::Domain &domain, Verbosity verbosity, detail::ScopeInfo &scope)
virtual ALIB_DLL void SetReplacement(const String &searched, const String &replacement)
Variable varFormatMultiLine
virtual ALIB_DLL void Log(detail::Domain &domain, Verbosity verbosity, BoxesMA &logables, detail::ScopeInfo &scope) override
virtual ALIB_DLL void ResetAutoSizes()
AString logBuf
The internal log Buffer.
virtual void logText(detail::Domain &domain, Verbosity verbosity, AString &msg, detail::ScopeInfo &scope, int lineNumber, bool isRecursion)=0
Variable varFormatMetaInfo
AString msgBuf
The buffer for converting the logables.
Variable varFormatAutoSizes
virtual ALIB_DLL void ClearReplacements()
Removes all pairs of searched strings and their replacement value.
ObjectConverter * Converter
virtual void notifyMultiLineOp(lang::Phase phase)=0
constexpr bool IsNotNull() const
static const Declaration * Get(TEnum element)
#define ALIB_ASSERT_WARNING(cond, domain,...)
#define ALIB_ASSERT_ERROR(cond, domain,...)
#define ALIB_LOCK_WITH(lock)
@ Begin
The start of a transaction.
@ End
The end of a transaction.
This namespaces defines class TextLogger and its helpers.
@ FORMAT_TIME_DIFF
Denotes configuration variable ALOX/LOGGERNAME/FORMAT_TIME_DIFF used by class TextLogger.
@ REPLACEMENTS
Denotes configuration variable ALOX/LOGGERNAME/REPLACEMENTS used by class TextLogger.
@ FORMAT_DATE_TIME
Denotes configuration variable ALOX/LOGGERNAME/FORMAT_DATE_TIME used by class TextLogger.
@ FORMAT_MULTILINE
Denotes configuration variable ALOX/LOGGERNAME/FORMAT_MULTILINE used by class TextLogger.
@ FORMAT_OTHER
Denotes configuration variable ALOX/LOGGERNAME/FORMAT_OTHER used by class TextLogger.
strings::TStringLengthResetter< character,lang::HeapAllocator > StringLengthResetter
Type alias in namespace alib.
format::FormatterJavaStyle FormatterJavaStyle
Type alias in namespace alib.
variables::Declaration Declaration
Type alias in namespace alib.
format::FormatterPythonStyle FormatterPythonStyle
Type alias in namespace alib.
strings::TAString< character, lang::HeapAllocator > AString
Type alias in namespace alib.
lang::integer integer
Type alias in namespace alib.
lox::ALoxCamp ALOX
The singleton instance of ALib Camp class ALoxCamp.
boxing::TBoxes< MonoAllocator > BoxesMA
Type alias in namespace alib.
strings::TString< character > String
Type alias in namespace alib.
strings::TAString< character, PoolAllocator > AStringPA
Type alias in namespace alib.
characters::character character
Type alias in namespace alib.
AutoSizes Main
The instance used with the meta info format string.