32 lines
556 B
C++
32 lines
556 B
C++
/**
|
|
* @author Edouard DUPIN
|
|
*
|
|
* @copyright 2014, Edouard DUPIN, all right reserved
|
|
*
|
|
* @license APACHE-2 (see license file)
|
|
*/
|
|
|
|
#ifndef __ECI_VARIABLE_H__
|
|
#define __ECI_VARIABLE_H__
|
|
|
|
#include <etk/types.h>
|
|
#include <eci/visibility.h>
|
|
#include <eci/Type.h>
|
|
#include <memory>
|
|
|
|
|
|
namespace eci {
|
|
class Variable : public std::enable_shared_from_this<Variable> {
|
|
public:
|
|
Variable();
|
|
virtual ~Variable();
|
|
private:
|
|
enum eci::visibility m_visibility;
|
|
bool m_const;
|
|
std::string m_name;
|
|
std::shared_ptr<eci::Type> m_type;
|
|
};
|
|
}
|
|
|
|
#endif
|