27   return QStringLiteral( 
"bearing" );
 
   32   return QObject::tr( 
"Bearing" );
 
   47   switch ( mDirectionFormat )
 
   51       value = fmod( value, 360.0 );
 
   57       if ( res != QLatin1String( 
"0" ) && res != QLatin1String( 
"180" ) )
 
   59         res += QChar( 176 ) + ( value < 0 ? QObject::tr( 
"W" ) : QObject::tr( 
"E" ) );
 
   68       value = fmod( value, 360.0 );
 
   78       value = fmod( value, 360.0 );
 
   94   std::unique_ptr< QgsBearingNumericFormat > res = std::make_unique< QgsBearingNumericFormat >();
 
  103   res.insert( QStringLiteral( 
"direction_format" ), 
static_cast< int >( mDirectionFormat ) );
 
  109   return mDirectionFormat;
 
A context for numeric formats.
The class is used as a container of context for various read/write operations on other objects.