UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::CADKernel::TTopologicalLink< EntityType > Class Template Reference

#include <TopologicalLink.h>

+ Inheritance diagram for UE::CADKernel::TTopologicalLink< EntityType >:

Public Member Functions

virtual ~TTopologicalLink () override
 
virtual void Serialize (FCADKernelArchive &Ar) override
 
virtual void Empty () override
 
const EntityTypeGetActiveEntity () const
 
EntityTypeGetActiveEntity ()
 
int32 GetTwinEntityNum () const
 
const TArray< EntityType * > & GetTwinEntities () const
 
void ActivateEntity (const EntityType &NewActiveEntity)
 
void RemoveEntity (TSharedPtr< EntityType > &Entity)
 
void RemoveEntity (EntityType &Entity)
 
virtual EEntity GetEntityType () const override
 
void AddEntity (EntityType *Entity)
 
void AddEntity (EntityType &Entity)
 
template<typename LinkableType >
void AddEntity (const LinkableType *Entity)
 
template<typename ArrayType >
void AddEntities (const ArrayType &Entities)
 
virtual bool CleanLink ()
 
void ResetMarkersRecursively () const
 
- Public Member Functions inherited from UE::CADKernel::FTopologicalEntity
FIdent GetKioId () const
 
const bool IsApplyCriteria () const
 
virtual void SetApplyCriteriaMarker () const
 
virtual void ResetApplyCriteria ()
 
bool IsNotMeshable () const
 
bool IsMeshable () const
 
bool IsPreMeshed () const
 
bool IsMeshed () const
 
virtual void SetPreMeshedMarker ()
 
virtual void SetMeshedMarker ()
 
virtual void ResetPreMeshed ()
 
- Public Member Functions inherited from UE::CADKernel::FEntity
virtual ~FEntity ()
 
virtual void Delete ()
 
bool IsTopologicalEntity () const
 
bool IsTopologicalShapeEntity () const
 
bool IsGeometricalEntity ()
 
const TCHARGetTypeName () const
 
const FIdentGetId () const
 
virtual void SpawnIdent (FDatabase &Database)
 
- Public Member Functions inherited from TSharedFromThis< FEntity >
TSharedRef< FEntity, Mode > AsShared ()
 
TSharedRef< FEntity const, Mode > AsShared () const
 
TSharedRef< SubobjectType, Mode > AsSharedSubobject (SubobjectType *SubobjectPtr) const
 
TWeakPtr< FEntity, Mode > AsWeak ()
 
TWeakPtr< FEntity const, Mode > AsWeak () const
 
TWeakPtr< SubobjectType, Mode > AsWeakSubobject (SubobjectType *SubobjectPtr) const
 
void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, SharedPtrMode > const *InSharedPtr, OtherType *InObject) const
 
void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, SharedPtrMode > const *InSharedRef, OtherType *InObject) const
 
UE_FORCEINLINE_HINT bool DoesSharedInstanceExist () const
 
- Public Member Functions inherited from UE::CADKernel::FHaveStates
 FHaveStates ()
 
void Serialize (FCADKernelArchive &Ar)
 
void ResetElementStatus ()
 
bool HasMarker1 () const
 
bool HasMarker2 () const
 
bool HasMarker1And2 () const
 
bool HasMarker1Or2 () const
 
void SetMarker1 () const
 
void SetMarker2 () const
 
void ResetMarker1 () const
 
void ResetMarker2 () const
 
void ResetMarkers () const
 
bool IsDeleted () const
 
void SetDeletedMarker () const
 
void ResetDeleted () const
 
virtual bool IsDeletedOrDegenerated () const
 
virtual bool IsDegenerated () const
 
virtual void SetAsDegenerated () const
 
virtual void ResetDegenerated () const
 
void SetWaitingMarker () const
 
void ResetWaitingMarker () const
 
virtual bool IsWaiting () const
 
void SetProcessedMarker () const
 
void ResetProcessedMarker () const
 
virtual bool IsProcessed () const
 
virtual bool IsProcessedDeletedOrDegenerated () const
 
void SetToProcessMarker () const
 
void ResetToProcessMarker () const
 
virtual bool IsToProcess () const
 
virtual bool IsNotToProcess () const
 
virtual bool IsNotToOrAlreadyProcess () const
 

Protected Member Functions

 TTopologicalLink ()
 
 TTopologicalLink (EntityType &Entity)
 
- Protected Member Functions inherited from UE::CADKernel::FEntity
bool SetId (FDatabase &Database)
 
- Protected Member Functions inherited from TSharedFromThis< FEntity >
 TSharedFromThis ()
 
 TSharedFromThis (TSharedFromThis const &)
 
UE_FORCEINLINE_HINT TSharedFromThisoperator= (TSharedFromThis const &)
 
 ~TSharedFromThis ()
 

Protected Attributes

friend EntityType
 
EntityTypeActiveEntity
 
TArray< EntityType * > TwinEntities
 
- Protected Attributes inherited from UE::CADKernel::FTopologicalEntity
FIdent CtKioId = 0
 
- Protected Attributes inherited from UE::CADKernel::FEntity
FIdent Id = 0
 
- Protected Attributes inherited from UE::CADKernel::FHaveStates
EHaveStates States
 

Additional Inherited Members

- Static Public Member Functions inherited from UE::CADKernel::FEntity
template<typename OtherEntity , typename... InArgTypes>
static TSharedRef< OtherEntity > MakeShared (InArgTypes &&... Args)
 
template<typename OtherEntity >
static TSharedRef< OtherEntity > MakeShared (FCADKernelArchive &Archive)
 
static void SerializeIdent (FCADKernelArchive &Ar, TSharedPtr< FEntity > &Entity, bool bSaveSelection=true)
 
static void SerializeIdent (FCADKernelArchive &Ar, TWeakPtr< FEntity > &Entity, bool bSaveSelection=true)
 
static void SerializeIdent (FCADKernelArchive &Ar, FEntity **Entity, bool bSaveSelection=true)
 
template<typename EntityType >
static void SerializeIdent (FCADKernelArchive &Ar, EntityType **Entity, bool bSaveSelection=true)
 
template<typename EntityType >
static void SerializeIdent (FCADKernelArchive &Ar, TSharedPtr< EntityType > &Entity, bool bSaveSelection=true)
 
template<typename EntityType >
static void SerializeIdent (FCADKernelArchive &Ar, TWeakPtr< EntityType > &Entity, bool bSaveSelection=true)
 
static void SerializeIdents (FCADKernelArchive &Ar, TArray< FEntity * > &Array, bool bSaveSelection=true)
 
static void SerializeIdents (FCADKernelArchive &Ar, TArray< TWeakPtr< FEntity > > &Array, bool bSaveSelection=true)
 
static void SerializeIdents (FCADKernelArchive &Ar, TArray< TSharedPtr< FEntity > > &Array, bool bSaveSelection=true)
 
static void SerializeIdents (FCADKernelArchive &Ar, TArray< TOrientedEntity< FEntity > > &Array)
 
template<typename EntityType >
static void SerializeIdents (FCADKernelArchive &Ar, TArray< EntityType * > &Array, bool bSaveSelection=true)
 
template<typename EntityType >
static void SerializeIdents (FCADKernelArchive &Ar, TArray< TWeakPtr< EntityType > > &Array, bool bSaveSelection=true)
 
template<typename EntityType >
static void SerializeIdents (FCADKernelArchive &Ar, TArray< TSharedPtr< EntityType > > &Array, bool bSaveSelection=true)
 
static void SpawnIdentOnEntities (TArray< FEntity * > &Array, FDatabase &Database)
 
static void SpawnIdentOnEntities (TArray< TSharedPtr< FEntity > > &Array, FDatabase &Database)
 
static void SpawnIdentOnEntities (TArray< TOrientedEntity< FEntity > > &Array, FDatabase &Database)
 
template<typename EntityType >
static void SpawnIdentOnEntities (TArray< TSharedPtr< EntityType > > &Array, FDatabase &Database)
 
static void ResetMarkersRecursivelyOnEntities (const TArray< FEntity * > &Array)
 
static void ResetMarkersRecursivelyOnEntities (const TArray< TWeakPtr< FEntity > > &Array)
 
static void ResetMarkersRecursivelyOnEntities (const TArray< TSharedPtr< FEntity > > &Array)
 
static void ResetMarkersRecursivelyOnEntities (const TArray< TOrientedEntity< FEntity > > &Array)
 
template<typename EntityType >
static void ResetMarkersRecursivelyOnEntities (const TArray< TSharedPtr< EntityType > > &Array)
 
static TSharedPtr< FEntityDeserialize (FCADKernelArchive &Ar)
 
static const TCHARGetTypeName (EEntity Type)
 
- Static Protected Member Functions inherited from TSharedFromThis< FEntity >
static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 
- Static Protected Attributes inherited from UE::CADKernel::FEntity
static const TCHARTypesNames []
 

Constructor & Destructor Documentation

◆ TTopologicalLink() [1/2]

template<typename EntityType >
UE::CADKernel::TTopologicalLink< EntityType >::TTopologicalLink ( )
inlineprotected

◆ TTopologicalLink() [2/2]

template<typename EntityType >
UE::CADKernel::TTopologicalLink< EntityType >::TTopologicalLink ( EntityType Entity)
inlineprotected

◆ ~TTopologicalLink()

Member Function Documentation

◆ ActivateEntity()

template<typename EntityType >
void UE::CADKernel::TTopologicalLink< EntityType >::ActivateEntity ( const EntityType NewActiveEntity)
inline

◆ AddEntities()

template<typename EntityType >
template<typename ArrayType >
void UE::CADKernel::TTopologicalLink< EntityType >::AddEntities ( const ArrayType &  Entities)
inline

◆ AddEntity() [1/3]

template<typename EntityType >
template<typename LinkableType >
void UE::CADKernel::TTopologicalLink< EntityType >::AddEntity ( const LinkableType Entity)
inline

◆ AddEntity() [2/3]

template<typename EntityType >
void UE::CADKernel::TTopologicalLink< EntityType >::AddEntity ( EntityType Entity)
inline

◆ AddEntity() [3/3]

template<typename EntityType >
void UE::CADKernel::TTopologicalLink< EntityType >::AddEntity ( EntityType Entity)
inline

◆ CleanLink()

template<typename EntityType >
virtual bool UE::CADKernel::TTopologicalLink< EntityType >::CleanLink ( )
inlinevirtual
Returns
true if the Twin entity count link is modified

Reimplemented in UE::CADKernel::FVertexLink.

◆ Empty()

template<typename EntityType >
virtual void UE::CADKernel::TTopologicalLink< EntityType >::Empty ( )
inlineoverridevirtual

Reimplemented from UE::CADKernel::FEntity.

◆ GetActiveEntity() [1/2]

template<typename EntityType >
EntityType * UE::CADKernel::TTopologicalLink< EntityType >::GetActiveEntity ( )
inline

◆ GetActiveEntity() [2/2]

template<typename EntityType >
const EntityType * UE::CADKernel::TTopologicalLink< EntityType >::GetActiveEntity ( ) const
inline

◆ GetEntityType()

template<typename EntityType >
virtual EEntity UE::CADKernel::TTopologicalLink< EntityType >::GetEntityType ( ) const
inlineoverridevirtual

Implements UE::CADKernel::FEntity.

Reimplemented in UE::CADKernel::FVertexLink.

◆ GetTwinEntities()

template<typename EntityType >
const TArray< EntityType * > & UE::CADKernel::TTopologicalLink< EntityType >::GetTwinEntities ( ) const
inline

◆ GetTwinEntityNum()

template<typename EntityType >
int32 UE::CADKernel::TTopologicalLink< EntityType >::GetTwinEntityNum ( ) const
inline

◆ RemoveEntity() [1/2]

template<typename EntityType >
void UE::CADKernel::TTopologicalLink< EntityType >::RemoveEntity ( EntityType Entity)
inline

◆ RemoveEntity() [2/2]

template<typename EntityType >
void UE::CADKernel::TTopologicalLink< EntityType >::RemoveEntity ( TSharedPtr< EntityType > &  Entity)
inline

◆ ResetMarkersRecursively()

template<typename EntityType >
void UE::CADKernel::TTopologicalLink< EntityType >::ResetMarkersRecursively ( ) const
inlinevirtual

Reimplemented from UE::CADKernel::FEntity.

◆ Serialize()

template<typename EntityType >
virtual void UE::CADKernel::TTopologicalLink< EntityType >::Serialize ( FCADKernelArchive Ar)
inlineoverridevirtual

Serialization of a FEntity. Each class derived from FEntity has to override this method (and call the direct base class override method first) E.g. class FEntityXXX : public FEntityXX { virtual void Serialize(FCADKernelArchive& Ar) override { FEntityXX::Serialize(Ar); ... } }

Reimplemented from UE::CADKernel::FTopologicalEntity.

Reimplemented in UE::CADKernel::FVertexLink.

Member Data Documentation

◆ ActiveEntity

◆ EntityType

template<typename EntityType >
friend UE::CADKernel::TTopologicalLink< EntityType >::EntityType
protected

◆ TwinEntities


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