Ignore:
Timestamp:
Aug 24, 2011 7:01:44 PM (13 years ago)
Author:
dkearney
Message:

adding a getFile function for rappture library and fortran bindings so fortran users no longer need to know the length of a string a user provides them as input, before compile time. they can now just dump the string into a file, and read the file as they are probably already used to doing. also fixed a bug in teh Rappture::Buffer dump function where it would correctly open a file pointer, but failed the check to see if the file pointer was opened.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/RpLibrary.h

    r1041 r2408  
    8181        bool        getBool   ( std::string path = "") const;
    8282        Rappture::Buffer getData ( std::string path = "") const;
     83        size_t      getFile   ( std::string path,
     84                                std::string fileName) const;
    8385
    8486        /*
Note: See TracChangeset for help on using the changeset viewer.