MeshLib Documentation
Loading...
Searching...
No Matches
MR::RibbonSchemaLoader Class Reference

#include <MRRibbonSchema.h>

Public Member Functions

 RibbonSchemaLoader ()=default
 
virtual ~RibbonSchemaLoader ()=default
 
virtual MRVIEWER_API void loadSchema () const
 

Static Public Member Functions

static MRVIEWER_API void readMenuItemsList (const Json::Value &root, MenuItemsList &list)
 
static MRVIEWER_API void recalcItemSizes ()
 

Protected Member Functions

virtual MRVIEWER_API std::vector< std::filesystem::path > getStructureFiles_ (const std::string &fileExtension) const
 
MRVIEWER_API void sortFilesByOrder_ (std::vector< std::filesystem::path > &files) const
 
MRVIEWER_API void readItemsJson_ (const std::filesystem::path &path) const
 
MRVIEWER_API void readItemsJson_ (const Json::Value &root) const
 
MRVIEWER_API void readUIJson_ (const std::filesystem::path &path) const
 
MRVIEWER_API void readUIJson_ (const Json::Value &root) const
 

Constructor & Destructor Documentation

◆ RibbonSchemaLoader()

MR::RibbonSchemaLoader::RibbonSchemaLoader ( )
default

◆ ~RibbonSchemaLoader()

virtual MR::RibbonSchemaLoader::~RibbonSchemaLoader ( )
virtualdefault

Member Function Documentation

◆ getStructureFiles_()

virtual MRVIEWER_API std::vector< std::filesystem::path > MR::RibbonSchemaLoader::getStructureFiles_ ( const std::string & fileExtension) const
protectedvirtual

◆ loadSchema()

virtual MRVIEWER_API void MR::RibbonSchemaLoader::loadSchema ( ) const
virtual

◆ readItemsJson_() [1/2]

MRVIEWER_API void MR::RibbonSchemaLoader::readItemsJson_ ( const Json::Value & root) const
protected

◆ readItemsJson_() [2/2]

MRVIEWER_API void MR::RibbonSchemaLoader::readItemsJson_ ( const std::filesystem::path & path) const
protected

◆ readMenuItemsList()

static MRVIEWER_API void MR::RibbonSchemaLoader::readMenuItemsList ( const Json::Value & root,
MenuItemsList & list )
static

◆ readUIJson_() [1/2]

MRVIEWER_API void MR::RibbonSchemaLoader::readUIJson_ ( const Json::Value & root) const
protected

◆ readUIJson_() [2/2]

MRVIEWER_API void MR::RibbonSchemaLoader::readUIJson_ ( const std::filesystem::path & path) const
protected

◆ recalcItemSizes()

static MRVIEWER_API void MR::RibbonSchemaLoader::recalcItemSizes ( )
static

◆ sortFilesByOrder_()

MRVIEWER_API void MR::RibbonSchemaLoader::sortFilesByOrder_ ( std::vector< std::filesystem::path > & files) const
protected

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