Ignore:
Timestamp:
Apr 5, 2011, 11:25:05 AM (10 years ago)
Author:
tbretz
Message:
Replaced some int by size_t.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Converter.h

    r10270 r10287  
    5252        std::vector<T> Get(const std::string &str) const;
    5353    template <class T>
    54         T Get(const void *d, int size) const;
     54        T Get(const void *d, size_t size) const;
    5555
    5656
     
    8282    static FormatList Compile(const std::string &fmt, bool strict=false);
    8383
    84     std::string             GetString(const void *d, int size) const;
    85     std::vector<char>       GetVector(const void *d, int size) const;
    86     std::vector<boost::any> GetAny(const void *d, int size) const;
     84    std::string             GetString(const void *d, size_t size) const;
     85    std::vector<char>       GetVector(const void *d, size_t size) const;
     86    std::vector<boost::any> GetAny(const void *d, size_t size) const;
    8787
    8888    std::vector<boost::any> GetAny(const std::string &str) const;
    8989    std::vector<char>       GetVector(const std::string &str) const;
    9090
    91     static std::string GetHex(const void *d, int size);
     91    static std::string GetHex(const void *d, size_t size, size_t chunk=1);
    9292
    9393/*
Note: See TracChangeset for help on using the changeset viewer.