libcrn  3.9.5
A document image processing library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Modules | Namespaces | Classes | Macros
Numeric data
+ Collaboration diagram for Numeric data:

Modules

 Containers
 

Namespaces

 crn::Data
 

Classes

class  crn::DataFactory
 Produces CRNData objects from XML. More...
 
class  crn::Int
 Interface class for the metric real number class. More...
 
class  crn::Real
 Interface class for the metric real number class. More...
 

Macros

#define CRN_DATA_FACTORY_REGISTER(elemname, classname)
 Registers a class to the data factory. More...
 

Detailed Description

Macro Definition Documentation

#define CRN_DATA_FACTORY_REGISTER (   elemname,
  classname 
)
Value:
crn::Serializer::Register<classname>();
Factory element.
static bool RegisterClass(const String &name, std::unique_ptr< DataFactoryElementBase > &&cstr)
Registers a class in the factory.

Registers a class to the data factory.

Registers a class to the data factory. Use this in class constructor.

Parameters
[in]elemnamethe name/value of the xml element
[in]classnamethe class to register

Definition at line 106 of file CRNDataFactory.h.