Skip to content

Instantly share code, notes, and snippets.

@MasazI
Created May 20, 2015 10:56
Show Gist options
  • Save MasazI/f257f06712e188b1eb59 to your computer and use it in GitHub Desktop.
Save MasazI/f257f06712e188b1eb59 to your computer and use it in GitHub Desktop.
Stream.hpp (親)
//
// Stream.h
// CplusplusPractice
//
// Created by masai on 2015/05/20.
// Copyright (c) 2015年 masai. All rights reserved.
//
#ifndef __CplusplusPractice__Stream__
#define __CplusplusPractice__Stream__
class Stream{
public:
double Get() const;
bool Set();
protected: //派生クラスで使用可能
virtual void SetBase() = 0;
double m_n;
};
#endif /* defined(__CplusplusPractice__Stream__) */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment