3.5.0-rc1
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 CPACSSystemConnectionsGetConnections (CreateIfNotExistsTag)
virtual TIGL_EXPORT boost::optional< CPACSSystemControlDevices > & GetControlDevices ()
virtual TIGL_EXPORT const boost::optional< CPACSSystemControlDevices > & GetControlDevices () const
virtual TIGL_EXPORT CPACSSystemControlDevicesGetControlDevices (CreateIfNotExistsTag)
virtual TIGL_EXPORT const boost::optional< std::string > & GetDescription () const
virtual TIGL_EXPORT const std::string & GetName () const
virtual TIGL_EXPORT CTiglUIDObjectGetNextUIDParent ()
virtual TIGL_EXPORT const CTiglUIDObjectGetNextUIDParent () const
TIGL_EXPORT CPACSSystemArchitecturesGetParent ()
TIGL_EXPORT const CPACSSystemArchitecturesGetParent () const
virtual TIGL_EXPORT const boost::optional< std::string > & GetUID () const
TIGL_EXPORT CTiglUIDManagerGetUIDManager ()
TIGL_EXPORT const CTiglUIDManagerGetUIDManager () 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< CPACSSystemConnectionsm_connections
boost::optional< CPACSSystemControlDevicesm_controlDevices
boost::optional< std::string > m_description
 Description.
std::string m_name
 Name.
CPACSSystemArchitecturesm_parent
boost::optional< std::string > m_uID
CTiglUIDManagerm_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: