Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 5, 2008, 1:29:47 AM (16 years ago)
Author:
landauf
Message:

several changes:

  • XMLPort is now theoretically able to load something (but still buggy)
  • Expanded Convert with several partial template specializations
  • Expanded all MultiTypes with new functions, mostly to convert values
  • Expanded SubString with a new functionality: chars inside parentheses aren't split

It's not yet working as it should (at least not in all cases - loading the objects name works)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core/src/util/String.h

    r792 r848  
    6363            float f = 3.14;
    6464            std::string output;
    65             bool success = Convert::ToString(output, f);
     65            bool success = Convert::ToString(&output, f);
    6666        */
    6767        template <typename T>
     
    8888            float f = 3.14;
    8989            std::string output;
    90             bool success = Convert::ToString(output, f, "0.000000");
     90            bool success = Convert::ToString(&output, f, "0.000000");
    9191        */
    9292        template <typename T>
     
    109109            std::string input = "3.14";
    110110            float f;
    111             bool success = string2Number(f, input);
     111            bool success = string2Number(&f, input);
    112112        */
    113113        template <typename T>
     
    131131            std::string input = "3.14";
    132132            float f;
    133             bool success = string2Number(f, input, 0.000000);
     133            bool success = string2Number(&f, input, 0.000000);
    134134        */
    135135        template <typename T>
Note: See TracChangeset for help on using the changeset viewer.