mageec  0.1.0
MAchine Guided Energy Efficient Compilation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Static Public Member Functions | List of all members
mageec::mageec_feature Class Referenceabstract

MAGEEC Program Feature Base Type. More...

#include <mageec-features.h>

Inheritance diagram for mageec::mageec_feature:
mageec::basic_feature

Public Member Functions

virtual ~mageec_feature ()
 
virtual std::string name ()=0
 
virtual std::string desc ()=0
 
virtual int get_feature ()=0
 

Static Public Member Functions

static void dump_vector (std::vector< mageec_feature * > features, std::ostream &OS, bool json)
 

Detailed Description

MAGEEC Program Feature Base Type.

This class consists of a name "string" and an int to reveal that information.

Definition at line 33 of file mageec-features.h.

Constructor & Destructor Documentation

mageec_feature::~mageec_feature ( )
virtual

Definition at line 77 of file features.cpp.

Member Function Documentation

virtual std::string mageec::mageec_feature::desc ( )
pure virtual

Implemented in mageec::basic_feature.

void mageec_feature::dump_vector ( std::vector< mageec_feature * >  features,
std::ostream &  OS,
bool  json 
)
static

Definition at line 34 of file features.cpp.

virtual int mageec::mageec_feature::get_feature ( )
pure virtual

Implemented in mageec::basic_feature.

virtual std::string mageec::mageec_feature::name ( )
pure virtual

Implemented in mageec::basic_feature.


The documentation for this class was generated from the following files: