#include <geo_element.hpp>
Inheritance diagram for geo_element:
Public Member Functions | |
geo_element (const std::string &name) | |
virtual | ~geo_element (void) |
virtual std::ostream & | put (std::ostream &s)=0 |
std::string | get_name () |
void | set_name (const std::string &name) |
virtual void | update ()=0 |
virtual void | draw (boost::shared_ptr< drawing_context > context)=0 |
Protected Attributes | |
std::string | m_name |
Definition at line 34 of file geo_element.hpp.
|
Definition at line 23 of file geo_element.cpp. |
|
Definition at line 28 of file geo_element.cpp. |
|
|
|
Definition at line 37 of file geo_element.cpp. References m_name. |
|
Implemented in geo_line, and geo_point. Referenced by operator<<(). |
|
Definition at line 42 of file geo_element.cpp. References m_name. |
|
Implements observer. |
|
Definition at line 37 of file geo_element.hpp. Referenced by get_name(), and set_name(). |