MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
mrs::endpoint::EndpointFactory Class Reference

#include <endpoint_factory.h>

Public Types

using DbSchema = database::entry::DbSchema
 
using DbService = database::entry::DbService
 
using UrlHost = rest::entry::AppUrlHost
 
using ContentSet = database::entry::ContentSet
 
using ContentFile = database::entry::ContentFile
 
using DbObject = database::entry::DbObject
 
using EndpointBase = mrs::interface::EndpointBase
 
using HandlerFactory = mrs::interface::HandlerFactory
 
using HandlerFactoryPtr = std::shared_ptr< HandlerFactory >
 
using EndpointBasePtr = std::shared_ptr< EndpointBase >
 
using EndpointConfiguration = mrs::interface::EndpointConfiguration
 
using EndpointConfigurationPtr = std::shared_ptr< EndpointConfiguration >
 

Public Member Functions

 EndpointFactory (HandlerFactoryPtr handler_factory, EndpointConfigurationPtr configuration)
 
virtual ~EndpointFactory ()=default
 
virtual EndpointBasePtr create_object (const ContentSet &set, EndpointBasePtr parent)
 
virtual EndpointBasePtr create_object (const ContentFile &file, EndpointBasePtr parent)
 
virtual EndpointBasePtr create_object (const DbSchema &schema, EndpointBasePtr parent)
 
virtual EndpointBasePtr create_object (const DbObject &object, EndpointBasePtr parent)
 
virtual EndpointBasePtr create_object (const DbService &service, EndpointBasePtr parent)
 
virtual EndpointBasePtr create_object (const UrlHost &host, EndpointBasePtr parent)
 

Private Attributes

HandlerFactoryPtr handler_factory_
 
EndpointConfigurationPtr configuration_
 

Member Typedef Documentation

◆ ContentFile

using mrs::endpoint::EndpointFactory::ContentFile = database::entry::ContentFile

◆ ContentSet

using mrs::endpoint::EndpointFactory::ContentSet = database::entry::ContentSet

◆ DbObject

using mrs::endpoint::EndpointFactory::DbObject = database::entry::DbObject

◆ DbSchema

using mrs::endpoint::EndpointFactory::DbSchema = database::entry::DbSchema

◆ DbService

using mrs::endpoint::EndpointFactory::DbService = database::entry::DbService

◆ EndpointBase

◆ EndpointBasePtr

◆ EndpointConfiguration

◆ EndpointConfigurationPtr

◆ HandlerFactory

◆ HandlerFactoryPtr

◆ UrlHost

using mrs::endpoint::EndpointFactory::UrlHost = rest::entry::AppUrlHost

Constructor & Destructor Documentation

◆ EndpointFactory()

mrs::endpoint::EndpointFactory::EndpointFactory ( HandlerFactoryPtr  handler_factory,
EndpointConfigurationPtr  configuration 
)
inline

◆ ~EndpointFactory()

virtual mrs::endpoint::EndpointFactory::~EndpointFactory ( )
virtualdefault

Member Function Documentation

◆ create_object() [1/6]

EndpointBasePtr mrs::endpoint::EndpointFactory::create_object ( const ContentFile file,
EndpointBasePtr  parent 
)
virtual

◆ create_object() [2/6]

EndpointBasePtr mrs::endpoint::EndpointFactory::create_object ( const ContentSet set,
EndpointBasePtr  parent 
)
virtual

◆ create_object() [3/6]

EndpointBasePtr mrs::endpoint::EndpointFactory::create_object ( const DbObject object,
EndpointBasePtr  parent 
)
virtual

◆ create_object() [4/6]

EndpointBasePtr mrs::endpoint::EndpointFactory::create_object ( const DbSchema schema,
EndpointBasePtr  parent 
)
virtual

◆ create_object() [5/6]

EndpointBasePtr mrs::endpoint::EndpointFactory::create_object ( const DbService service,
EndpointBasePtr  parent 
)
virtual

◆ create_object() [6/6]

EndpointBasePtr mrs::endpoint::EndpointFactory::create_object ( const UrlHost host,
EndpointBasePtr  parent 
)
virtual

Member Data Documentation

◆ configuration_

EndpointConfigurationPtr mrs::endpoint::EndpointFactory::configuration_
private

◆ handler_factory_

HandlerFactoryPtr mrs::endpoint::EndpointFactory::handler_factory_
private

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