Changeset 14199 for trunk/Mars/mcore


Ignore:
Timestamp:
06/21/12 17:20:45 (12 years ago)
Author:
tbretz
Message:
Made ofits::Key public; added a SetRaw function.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/ofits.h

    r13999 r14199  
    1010#include <iomanip>
    1111#include <vector>
    12 #include <inttypes.h>
    1312#include <algorithm>
    1413
     
    2827class ofits : public ofstream
    2928{
     29public:
    3030    struct Key
    3131    {
     
    204204    };
    205205
     206private:
    206207    vector<Key> fKeys;
    207208
     
    332333    }
    333334
     335    bool SetRaw(const string &key, const string &val, const string &comment)
     336    {
     337        return Set(key, true, val, comment);
     338    }
    334339
    335340    bool SetBool(const string &key, bool b, const string &comment="")
Note: See TracChangeset for help on using the changeset viewer.