Skip to content

Commit

Permalink
Removed valueToString() in favor of ci::toString().
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhoux committed Jan 2, 2024
1 parent 01e9099 commit e1b5374
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions include/cinder/Utilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,26 +155,6 @@ CI_API bool isAlpha( char c );
//! returns whether character \a c is numeric (0-9)+(.+-eE). Not Unicode-aware.
CI_API bool isNumeric( char c );

//! converts the value to a string without leading and trailing zeroes.
CI_API std::string valueToString( int value );
//! converts the value to a string without leading and trailing zeroes.
CI_API std::string valueToString( unsigned value );
//! converts the value to a string without leading and trailing zeroes.
CI_API std::string valueToString( long value );
//! converts the value to a string without leading and trailing zeroes.
CI_API std::string valueToString( unsigned long value );
//! converts the value to a string without leading and trailing zeroes.
CI_API std::string valueToString( long long value );
//! converts the value to a string without leading and trailing zeroes.
CI_API std::string valueToString( unsigned long long value );
//! converts the value to a string without leading and trailing zeroes.
CI_API std::string valueToString( float value );
//! converts the value to a string without leading and trailing zeroes.
CI_API std::string valueToString( float value, int precision );
//! converts the value to a string without leading and trailing zeroes.
CI_API std::string valueToString( double value );
//! converts the value to a string without leading and trailing zeroes.
CI_API std::string valueToString( double value, int precision );

//! Returns a stack trace (aka backtrace) where \c stackTrace()[0] == caller, \c stackTrace()[1] == caller's parent, etc
CI_API std::vector<std::string> stackTrace();
Expand Down

0 comments on commit e1b5374

Please sign in to comment.