Created
May 20, 2015 10:56
-
-
Save MasazI/db14fec2a7a935674b13 to your computer and use it in GitHub Desktop.
ArrayStream.hpp (子 - 配列操作)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ArrayStream.h | |
// CplusplusPractice | |
// | |
// Created by masai on 2015/05/20. | |
// Copyright (c) 2015年 masai. All rights reserved. | |
// | |
#ifndef __CplusplusPractice__ArrayStream__ | |
#define __CplusplusPractice__ArrayStream__ | |
#include "Stream.hpp" | |
class ArrayStream : public Stream{ | |
public: | |
ArrayStream(const double* array); //コンストラクタ | |
protected: | |
virtual void SetBase(); | |
private: | |
const double* m_array; //配列 | |
int m_i; //現在のインデックス | |
}; | |
#endif /* defined(__CplusplusPractice__ArrayStream__) */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment