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

#include "Circuit.h"

Public Member Functions

 Circuit (Circuit &&other) noexcept=default
 
 Circuit (const Circuit &other)=default
 
Circuitoperator= (const Circuit &other)=default
 
Circuitoperator= (Circuit &&other) noexcept=default
 
 Circuit ()
 
 ~Circuit ()
 
std::string getEditorName ()
 
std::string getId ()
 
std::map< ot::UID, CircuitElement * > & getMapOfElements ()
 
std::map< std::string, std::vector< std::shared_ptr< EntityBlock > > > & getMapOfEntityBlcks ()
 
void addElement (ot::UID key, CircuitElement *obj)
 
void addBlockEntity (std::string block, const std::shared_ptr< EntityBlock > obj)
 
void setEditorName (std::string name)
 
void setId (const std::string id)
 
void addConnection (std::string connactable, const ot::UID &key, const Connection &obj)
 
std::string findElement (const ot::UID &key)
 

Constructor & Destructor Documentation

◆ Circuit() [1/3]

Circuit::Circuit ( Circuit && other)
defaultnoexcept

◆ Circuit() [2/3]

Circuit::Circuit ( const Circuit & other)
default

◆ Circuit() [3/3]

Circuit::Circuit ( )

◆ ~Circuit()

Circuit::~Circuit ( )

Member Function Documentation

◆ addBlockEntity()

void Circuit::addBlockEntity ( std::string block,
const std::shared_ptr< EntityBlock > obj )

◆ addConnection()

void Circuit::addConnection ( std::string connactable,
const ot::UID & key,
const Connection & obj )

◆ addElement()

void Circuit::addElement ( ot::UID key,
CircuitElement * obj )

◆ findElement()

std::string Circuit::findElement ( const ot::UID & key)

◆ getEditorName()

std::string Circuit::getEditorName ( )

◆ getId()

std::string Circuit::getId ( )

◆ getMapOfElements()

std::map< ot::UID, CircuitElement * > & Circuit::getMapOfElements ( )

◆ getMapOfEntityBlcks()

std::map< std::string, std::vector< std::shared_ptr< EntityBlock > > > & Circuit::getMapOfEntityBlcks ( )

◆ operator=() [1/2]

Circuit & Circuit::operator= ( Circuit && other)
defaultnoexcept

◆ operator=() [2/2]

Circuit & Circuit::operator= ( const Circuit & other)
default

◆ setEditorName()

void Circuit::setEditorName ( std::string name)

◆ setId()

void Circuit::setId ( const std::string id)

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