OpenLexocad  27.1
OpenLxApp::Group Class Reference

A class to group Elements. More...

#include <Group.h>

Inheritance diagram for OpenLxApp::Group:
OpenLxApp::DocObject

Public Member Functions

void addElement (std::shared_ptr< Element > aElem)
 
void addGroup (std::shared_ptr< Group > aGroupChild)
 
void removeElement (std::shared_ptr< Element > aElem)
 
void removeGroup (std::shared_ptr< Group > aGroupChild)
 
std::shared_ptr< GroupgetTopGroup () const
 
std::shared_ptr< GroupgetParentGroup () const
 
std::vector< std::shared_ptr< Element > > getAllElements () const
 
std::vector< std::shared_ptr< Group > > getChildren () const
 
virtual ~Group (void)
 
- Public Member Functions inherited from OpenLxApp::DocObject
std::shared_ptr< DocumentgetDocument () const
 
bool isNew () const
 
bool isUpdated () const
 
bool isValid () const
 
bool hasErrors () const
 
void touch ()
 
LxIfc4::LxIfc4EntityEnum getEntityType () const
 
std::string getEntityTypeAsString () const
 
std::shared_ptr< Core::DbgInfogetDbgInfo () const
 
 DocObject (Core::DocObject *aObject)
 
virtual ~DocObject (void)
 
Core::DocObject__getObj__ () const
 

Friends

class Document
 

Additional Inherited Members

- Protected Member Functions inherited from OpenLxApp::DocObject
 DocObject ()
 
- Protected Attributes inherited from OpenLxApp::DocObject
Core::DocObject_coreObj = nullptr
 

Detailed Description

A class to group Elements.

Constructor & Destructor Documentation

◆ ~Group()

virtual OpenLxApp::Group::~Group ( void  )
virtual

Member Function Documentation

◆ addElement()

void OpenLxApp::Group::addElement ( std::shared_ptr< Element aElem)

◆ addGroup()

void OpenLxApp::Group::addGroup ( std::shared_ptr< Group aGroupChild)

◆ getAllElements()

std::vector<std::shared_ptr<Element> > OpenLxApp::Group::getAllElements ( ) const

◆ getChildren()

std::vector<std::shared_ptr<Group> > OpenLxApp::Group::getChildren ( ) const

◆ getParentGroup()

std::shared_ptr<Group> OpenLxApp::Group::getParentGroup ( ) const

◆ getTopGroup()

std::shared_ptr<Group> OpenLxApp::Group::getTopGroup ( ) const

◆ removeElement()

void OpenLxApp::Group::removeElement ( std::shared_ptr< Element aElem)

◆ removeGroup()

void OpenLxApp::Group::removeGroup ( std::shared_ptr< Group aGroupChild)

Friends And Related Function Documentation

◆ Document

friend class Document
friend

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