Horizon
|
Public Types | |
template<typename T > | |
using | check_type = attribute::is_feature< T > |
Public Member Functions | |
virtual void | write (std::ostream &ost) const |
Public Attributes | |
friend | Features |
const unsigned int | index |
![]() | |
std::vector< std::pair< unsigned int, std::string > > | attributes |
Protected Types | |
enum class | Type { LINE , ARC , PAD , SURFACE } |
Protected Member Functions | |
Feature (unsigned int i) | |
virtual Type | get_type () const =0 |
virtual void | write_feature (std::ostream &ost) const =0 |
![]() | |
void | write_attributes (std::ostream &ost) const |