3.5.0
Loading...
Searching...
No Matches
tigl::CCPACSSystemArchitecture Class Reference

#include <CCPACSSystemArchitecture.h>

+ Inheritance diagram for tigl::CCPACSSystemArchitecture:

Public Member Functions

TIGL_EXPORT CCPACSSystemArchitecture (CCPACSSystemArchitectures *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT std::vector< const CCPACSComponent * > GetGenericSystemComponents () const
 Returns all unique referenced components used in the system architecture connections.
 
- Public Member Functions inherited from tigl::generated::CPACSSystemArchitecture
TIGL_EXPORT CPACSSystemArchitecture (CPACSSystemArchitectures *parent, CTiglUIDManager *uidMgr)
 
virtual TIGL_EXPORT boost::optional< CPACSSystemConnections > & GetConnections ()
 
virtual TIGL_EXPORT const boost::optional< CPACSSystemConnections > & GetConnections () const
 
virtual TIGL_EXPORT CPACSSystemConnections & GetConnections (CreateIfNotExistsTag)
 
virtual TIGL_EXPORT boost::optional< CPACSSystemControlDevices > & GetControlDevices ()
 
virtual TIGL_EXPORT const boost::optional< CPACSSystemControlDevices > & GetControlDevices () const
 
virtual TIGL_EXPORT CPACSSystemControlDevices & GetControlDevices (CreateIfNotExistsTag)
 
virtual TIGL_EXPORT const boost::optional< std::string > & GetDescription () const
 
virtual TIGL_EXPORT const std::string & GetName () const
 
virtual TIGL_EXPORT CTiglUIDObject * GetNextUIDParent ()
 
virtual TIGL_EXPORT const CTiglUIDObject * GetNextUIDParent () const
 
TIGL_EXPORT CPACSSystemArchitectures * GetParent ()
 
TIGL_EXPORT const CPACSSystemArchitectures * GetParent () const
 
virtual TIGL_EXPORT const boost::optional< std::string > & GetUID () const
 
TIGL_EXPORT CTiglUIDManager & GetUIDManager ()
 
TIGL_EXPORT const CTiglUIDManager & GetUIDManager () const
 
virtual TIGL_EXPORT void ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath)
 
virtual TIGL_EXPORT void RemoveConnections ()
 
virtual TIGL_EXPORT void RemoveControlDevices ()
 
virtual TIGL_EXPORT void SetDescription (const boost::optional< std::string > &value)
 
virtual TIGL_EXPORT void SetName (const std::string &value)
 
virtual TIGL_EXPORT void SetUID (const boost::optional< std::string > &value)
 
virtual TIGL_EXPORT void WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const
 
virtual TIGL_EXPORT ~CPACSSystemArchitecture ()
 
- Public Member Functions inherited from tigl::CTiglOptUIDObject
boost::optional< std::string > GetObjectUID () const
 
virtual ~CTiglOptUIDObject ()=default
 
- Public Member Functions inherited from tigl::CTiglUIDObject
TIGL_EXPORT void Invalidate (const boost::optional< std::string > &source=boost::none) const
 

Additional Inherited Members

- Protected Member Functions inherited from tigl::CTiglUIDObject
 ~CTiglUIDObject ()=default
 
- Protected Attributes inherited from tigl::generated::CPACSSystemArchitecture
boost::optional< CPACSSystemConnections > m_connections
 Connections between the system elements.
 
boost::optional< CPACSSystemControlDevices > m_controlDevices
 Control devices.
 
boost::optional< std::string > m_description
 Description.
 
std::string m_name
 Name.
 
CPACSSystemArchitectures * m_parent
 
boost::optional< std::string > m_uID
 UID.
 
CTiglUIDManager * m_uidMgr
 

Constructor & Destructor Documentation

◆ CCPACSSystemArchitecture()

TIGL_EXPORT tigl::CCPACSSystemArchitecture::CCPACSSystemArchitecture ( CCPACSSystemArchitectures * parent,
CTiglUIDManager * uidMgr )

Member Function Documentation

◆ GetGenericSystemComponents()

TIGL_EXPORT std::vector< const CCPACSComponent * > tigl::CCPACSSystemArchitecture::GetGenericSystemComponents ( ) const

Returns all unique referenced components used in the system architecture connections.

This convenience getter iterates over all connections of the system architecture and collects all referenced source and target objects that resolve to CCPACSComponent. References to other CPACS object types, such as fuselages or external elements, are ignored.

The returned list is unique with respect to the component UID and preserves the order of first occurrence in the connection list.

Returns
Unique list of referenced CCPACSComponent objects.

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