HAL  v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
hal::ContextDirectory Class Reference

#include </home/runner/work/hal/hal/plugins/gui/include/gui/context_manager_widget/models/context_tree_model.h>

Collaboration diagram for hal::ContextDirectory:
Collaboration graph

Public Member Functions

 ContextDirectory (QString name, u32 parentId, u32 id)
 
void writeToFile (QJsonObject &json)
 
QString name () const
 
u32 id () const
 
void setId (u32 id_)
 
void setName (QString name_)
 

Detailed Description

A directory of the view manager that groups several graph views.

Definition at line 40 of file context_tree_model.h.

Constructor & Destructor Documentation

◆ ContextDirectory()

hal::ContextDirectory::ContextDirectory ( QString  name,
u32  parentId,
u32  id 
)
inline

Definition at line 48 of file context_tree_model.h.

References id().

Member Function Documentation

◆ id()

◆ name()

QString hal::ContextDirectory::name ( ) const
inline

◆ setId()

void hal::ContextDirectory::setId ( u32  id_)
inline

Definition at line 62 of file context_tree_model.h.

Referenced by hal::ActionCreateObject::exec().

◆ setName()

void hal::ContextDirectory::setName ( QString  name_)
inline

◆ writeToFile()

void hal::ContextDirectory::writeToFile ( QJsonObject json)

Writes the directory to a given json object.

Parameters
json- The object to write to.

Definition at line 12 of file context_tree_model.cpp.


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