Ignore:
Timestamp:
Jan 1, 2007, 4:58:01 PM (15 years ago)
Author:
Jari Häkkinen
Message:

Fixes #10. Removed read_to*(std::vector..) functionality.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/stl_utility.h

    r715 r723  
    77  Copyright (C) 2004 Jari Häkkinen
    88  Copyright (C) 2005 Jari Häkkinen, Peter Johansson, Markus Ringnér
    9   Copyright (C) 2006 Jari Häkkinen
     9  Copyright (C) 2006, 2007 Jari Häkkinen
    1010
    1111  This file is part of the yat library, http://lev.thep.lu.se/trac/yat
     
    7878
    7979  ///
    80   /// Function reading from istream to vector of doubles. Function
    81   /// reads the line until next '\\n'. The line is splitted with
    82   /// respect to whitespaces and push_backed into the vector. The
    83   /// vector is emptied before the reading starts. Unexpected
    84   /// characters are currently skipped with a warning message.
    85   /// NaN is supported to be a double (case-insensitive)
    86   ///
    87   /// @return false if end of stream
    88   ///
    89   /// @note The functionality of this function will change in the
    90   /// future. The overall functionality will be the same but the
    91   /// outcome of unexpected events will change.
    92   ///
    93   bool read_to_double(std::istream&, std::vector<double>&);
    94 
    95   ///
    96   /// Function reading from istream to vector of ints. Function
    97   /// reads the line until next '\\n'. The line is splitted with
    98   /// respect to whitespaces and push_backed into the vector. The
    99   /// vector is emptied before the reading starts. Unexpected
    100   /// characters are currently skipped with a warning message.
    101   /// NaN is supported to be an int (case-insensitive)
    102   ///
    103   /// @return false if end of stream
    104   ///
    105   /// @note The functionality of this function will change in the
    106   /// future. The overall functionality will be the same but the
    107   /// outcome of unexpected events will change.
    108   ///
    109   bool read_to_int(std::istream&, std::vector<int>&);
    110 
    111   ///
    112   /// Function reading from istream to vector of strings. Function
    113   /// reads the line until next '\\n'. The line is splitted with
    114   /// respect to whitespaces and push_backed into the vector. The
    115   /// vector is emptied before the reading starts.
    116   ///
    117   /// @return false if end of stream
    118   ///
    119   bool read_to_string(std::istream&, std::vector<std::string>&);
    120 
    121   ///
    12280  /// @brief Function converting a string to lower case
    12381  ///
Note: See TracChangeset for help on using the changeset viewer.