OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
FileHandler Class Reference

#include "FileHandler.h"

Inheritance diagram for FileHandler:
ActionAndFunctionHandler BusinessLogicHandler

Public Member Functions

 FileHandler ()=default
 
virtual ~FileHandler ()=default
 
 FileHandler (const FileHandler &_other)=delete
 
 FileHandler (FileHandler &&_other)=delete
 
FileHandleroperator= (const FileHandler &_other)=delete
 
FileHandleroperator= (FileHandler &&_other)=delete
 
void addButtons (ot::components::UiComponent *_uiComponent, const std::string &_pageName)
 
- Public Member Functions inherited from ActionAndFunctionHandler
 ActionAndFunctionHandler ()
 
virtual ~ActionAndFunctionHandler ()
 
void setDontDeleteHandler (bool _dontDelete=true)
 
void setNextHandler (ActionAndFunctionHandler *_nextHandler)
 
bool tryToHandleAction (const std::string &_action, ot::JsonDocument &_doc)
 
- Public Member Functions inherited from BusinessLogicHandler
void setUIComponent (ot::components::UiComponent *ui)
 
void setModelComponent (ot::components::ModelComponent *model)
 
virtual ~BusinessLogicHandler ()
 

Protected Member Functions

virtual bool handleAction (const std::string &_action, ot::JsonDocument &_doc) override
 
- Protected Member Functions inherited from BusinessLogicHandler
virtual void UIComponentWasSet ()
 
virtual void ModelComponentWasSet ()
 
void CheckEssentials ()
 
std::string CreateNewUniqueTopologyName (const std::string &folderName, const std::string &fileName)
 
std::string CreateNewUniqueTopologyNamePlainPossible (const std::string &folderName, const std::string &fileName, std::list< std::string > &additionallyTakenNames)
 
std::vector< std::string > CreateNewUniqueTopologyName (const std::string &FolderName, const std::string &fileName, uint64_t numberOfFiles)
 

Additional Inherited Members

- Protected Attributes inherited from BusinessLogicHandler
ot::components::UiComponent_uiComponent = nullptr
 
ot::components::ModelComponent_modelComponent = nullptr
 

Constructor & Destructor Documentation

◆ FileHandler() [1/3]

FileHandler::FileHandler ( )
default

◆ ~FileHandler()

virtual FileHandler::~FileHandler ( )
virtualdefault

◆ FileHandler() [2/3]

FileHandler::FileHandler ( const FileHandler & _other)
delete

◆ FileHandler() [3/3]

FileHandler::FileHandler ( FileHandler && _other)
delete

Member Function Documentation

◆ addButtons()

void FileHandler::addButtons ( ot::components::UiComponent * _uiComponent,
const std::string & _pageName )

◆ handleAction()

bool FileHandler::handleAction ( const std::string & _action,
ot::JsonDocument & _doc )
overrideprotectedvirtual

Reimplemented from ActionAndFunctionHandler.

◆ operator=() [1/2]

FileHandler & FileHandler::operator= ( const FileHandler & _other)
delete

◆ operator=() [2/2]

FileHandler & FileHandler::operator= ( FileHandler && _other)
delete

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