26 lines
504 B
C++
26 lines
504 B
C++
#ifndef __JFile_h__
|
|
#define __JFile_h__
|
|
|
|
#include "JString.h"
|
|
#include "MFile.h"
|
|
|
|
namespace coreutils {
|
|
|
|
///
|
|
/// Use the JFile object to create a JSON object that uses a file for its backing store.
|
|
/// The file name is provided at construction time. Contents of the file are updated
|
|
/// when the object is changed or the at the end of scope for the object.
|
|
///
|
|
|
|
class JFile : public MFile, public JString {
|
|
|
|
public:
|
|
|
|
JFile(ZString filename);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|