/** @file @brief ファイルを保存するクラスを記述する。 */ #pragma once //----------------------------------------------------------- #include //----------------------------------------------------------- namespace apcl { namespace file { /// ファイルを保存するクラス class FileSaver { public: FileSaver( const File& ); ///< 保存するファイルを指定する。 virtual ~FileSaver(); /// 保存するファイルを取得する。 const File& file()const; /// 保存する。成功したらtrue。 bool save()const; private: const File file_; }; } // end of namespace file } // end of namespace apcl