Verovio
Source code documentation
vrv::ClassRegistrar< T > Class Template Reference

Public Member Functions

 ClassRegistrar (std::string name, ClassId classId)
 The contructor registering the name / constructor map.
 
 ClassRegistrar (const std::string &name, ClassId pseudoClassId, std::function< Object *()> factory)
 The contructor registering the name / constructor map taking a custom factory function. More...
 

Constructor & Destructor Documentation

◆ ClassRegistrar()

template<class T >
vrv::ClassRegistrar< T >::ClassRegistrar ( const std::string &  name,
ClassId  pseudoClassId,
std::function< Object *()>  factory 
)
inline

The contructor registering the name / constructor map taking a custom factory function.

Use a pseudo ClassId for correct mapping.


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