diff options
Diffstat (limited to 'lldb/tools/lldb-mi/MIUtilString.h')
| -rw-r--r-- | lldb/tools/lldb-mi/MIUtilString.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/lldb/tools/lldb-mi/MIUtilString.h b/lldb/tools/lldb-mi/MIUtilString.h index a52cddfd304..30b027a9d31 100644 --- a/lldb/tools/lldb-mi/MIUtilString.h +++ b/lldb/tools/lldb-mi/MIUtilString.h @@ -55,15 +55,17 @@ public: /* ctor */ CMIUtilString( const MIchar * vpData ); /* ctor */ CMIUtilString( const MIchar * const * vpData ); // + bool ExtractNumber( MIint64 & vwrNumber ) const; + CMIUtilString FindAndReplace( const CMIUtilString & vFind, const CMIUtilString & vReplaceWith ) const; + bool IsNumber( void ) const; + bool IsQuoted( void ) const; + CMIUtilString RemoveRepeatedCharacters( const MIchar vChar ); MIuint Split( const CMIUtilString & vDelimiter, VecString_t & vwVecSplits ) const; MIuint SplitConsiderQuotes( const CMIUtilString & vDelimiter, VecString_t & vwVecSplits ) const; - CMIUtilString Trim( void ) const; - CMIUtilString Trim( const MIchar vChar ) const; CMIUtilString StripCREndOfLine( void ) const; CMIUtilString StripCRAll( void ) const; - CMIUtilString FindAndReplace( const CMIUtilString & vFind, const CMIUtilString & vReplaceWith ) const; - bool IsNumber( void ) const; - bool ExtractNumber( MIint64 & vwrNumber ) const; + CMIUtilString Trim( void ) const; + CMIUtilString Trim( const MIchar vChar ) const; // CMIUtilString & operator= ( const MIchar * vpRhs ); CMIUtilString & operator= ( const std::string & vrRhs ); @@ -78,5 +80,6 @@ private: // Methods: private: - bool ExtractNumberFromHexadecimal( MIint64 & vwrNumber ) const; + bool ExtractNumberFromHexadecimal( MIint64 & vwrNumber ) const; + CMIUtilString RemoveRepeatedCharacters( const MIint vnPos, const MIchar vChar ); }; |

