30#include "hyper_graph.h"
47 virtual HyperGraph::HyperGraphElement*
construct() = 0;
51 virtual const std::string&
name()
const = 0;
63 HyperGraphElementCreator() : _name(
typeid(T).
name()) {}
64#if defined (WINDOWS) && defined(__GNUC__)
65 __attribute__((force_align_arg_pointer))
67 HyperGraph::HyperGraphElement*
construct() {
return new T;}
68 virtual const std::string&
name()
const {
return _name;}
Abstract interface for allocating HyperGraphElement.
virtual const std::string & name() const =0
name of the class to be created.
virtual HyperGraph::HyperGraphElement * construct()=0
create a hyper graph element.
HyperGraph::HyperGraphElement * construct()
create a hyper graph element.
virtual const std::string & name() const
name of the class to be created.
The primary namespace for the NDEVR SDK.