[2.2.1] Fix MemLeak and Apply beautifier in Scanner
[platform/framework/native/appfw.git] / src / base / utility / FBaseUtil_ScannerImpl.h
index 1820888..f10ece0 100644 (file)
@@ -18,7 +18,7 @@
  * @file       FBaseUtil_ScannerImpl.h
  * @brief      This is the header file for the _ScannerImpl class.
  *
- * This header file contains declarations and definitions of the _ScannerImpl class. 
+ * This header file contains declarations and definitions of the _ScannerImpl class.
  *
  */
 
@@ -43,9 +43,9 @@ public:
        result Construct(const String& str);
        result Construct(const String& filePath, const String& encodingScheme);
 
-       result FindInLine(const String& str, String& MatchedStr); 
-       result FindInLine(const RegularExpression& pattern, String& MatchedStr); 
-       
+       result FindInLine(const String& str, String& MatchedStr);
+       result FindInLine(const RegularExpression& pattern, String& MatchedStr);
+
        result GetNextSignedChar(signed char& nextSignedChar);
        result GetNextSignedChar(signed char& nextSignedChar, int radix);
        result GetNextInt(int& nextInt);
@@ -68,7 +68,7 @@ public:
        bool HasNextToken(void);
        bool HasNextToken(const String& pattern);
        bool HasNextToken(const RegularExpression& pattern);
-       bool IsNextTokenConvertibleToSignedChar(void); 
+       bool IsNextTokenConvertibleToSignedChar(void);
        bool IsNextTokenConvertibleToSignedChar(int radix);
        bool IsNextTokenConvertibleToInt(void);
        bool IsNextTokenConvertibleToInt(int radix);
@@ -86,10 +86,8 @@ public:
 
        void Skip(const String& str);
        void Skip(const RegularExpression& pattern);
-       result GetNextToken(const String& pattern, String& ret, int& matTokenLen);
-       result GetNextMatchingString(const String& pattern, String& ret, int& length);
 
-private :
+private:
        result GetNextTokenWithoutPattern(String& ret, int& length);
 
 public:
@@ -100,8 +98,8 @@ public:
        int __position;
 
        friend class Scanner;
-}; // _ScannerImpl
+};     // _ScannerImpl
 
-}}}   // Osp::Base::Utility
+}}}    // Tizen::Base::Utility
 
 #endif // _FBASE_UTIL_SCANNER_IMPL_H_