FDatasmithMetaDataElementImpl Class Reference
Inheritance diagram for FDatasmithMetaDataElementImpl:
FDatasmithElementImpl< IDatasmithMetaDataElement > IDatasmithMetaDataElement IDatasmithElement

Public Member Functions

 FDatasmithMetaDataElementImpl (const TCHAR *InName)
 
virtual const TSharedPtr< IDatasmithElement > & GetAssociatedElement () const override
 Gets the Datasmith element that is associated with this meta data, if any. More...
 
virtual void SetAssociatedElement (const TSharedPtr< IDatasmithElement > &Element)
 Sets the Datasmith element that is associated with this meta data, if any. More...
 
int32 GetPropertiesCount () const override
 Get the total amount of properties in this meta data. More...
 
virtual const TSharedPtr< IDatasmithKeyValueProperty > & GetProperty (int32 i) const override
 Get the property i-th of this meta data. More...
 
virtual TSharedPtr< IDatasmithKeyValueProperty > & GetProperty (int32 i) override
 
const TSharedPtr< IDatasmithKeyValueProperty > & GetPropertyByName (const TCHAR *InName) const override
 Get a property by its name if it exists. More...
 
TSharedPtr< IDatasmithKeyValueProperty > & GetPropertyByName (const TCHAR *InName) override
 
virtual void AddProperty (const TSharedPtr< IDatasmithKeyValueProperty > &Property) override
 Add a property to this meta data. More...
 
- Public Member Functions inherited from FDatasmithElementImpl< IDatasmithMetaDataElement >
 FDatasmithElementImpl (const TCHAR *InName, EDatasmithElementType InType, uint64 InSubType=0)
 
virtual bool IsA (EDatasmithElementType InType) const override
 
virtual bool IsSubType (uint64 InSubType) const override
 
virtual const TCHAR * GetName () const override
 
virtual void SetName (const TCHAR *InName) override
 
virtual const TCHAR * GetLabel () const override
 
virtual void SetLabel (const TCHAR *InLabel) override
 
virtual FMD5Hash CalculateElementHash (bool) override
 

Additional Inherited Members

- Protected Attributes inherited from FDatasmithElementImpl< IDatasmithMetaDataElement >
FString Name
 
FString Label
 
FMD5Hash ElementHash
 
EDatasmithElementType Type
 
uint64 SubType
 

Member Function Documentation

◆ AddProperty()

virtual void FDatasmithMetaDataElementImpl::AddProperty ( const TSharedPtr< IDatasmithKeyValueProperty > &  Property)
overridevirtual

Add a property to this meta data.

Implements IDatasmithMetaDataElement.

◆ GetAssociatedElement()

virtual const TSharedPtr< IDatasmithElement >& FDatasmithMetaDataElementImpl::GetAssociatedElement ( ) const
inlineoverridevirtual

Gets the Datasmith element that is associated with this meta data, if any.

Implements IDatasmithMetaDataElement.

◆ GetPropertiesCount()

int32 FDatasmithMetaDataElementImpl::GetPropertiesCount ( ) const
inlineoverridevirtual

Get the total amount of properties in this meta data.

Implements IDatasmithMetaDataElement.

◆ GetProperty()

virtual const TSharedPtr< IDatasmithKeyValueProperty >& FDatasmithMetaDataElementImpl::GetProperty ( int32  i) const
inlineoverridevirtual

Get the property i-th of this meta data.

Implements IDatasmithMetaDataElement.

◆ GetPropertyByName()

const TSharedPtr< IDatasmithKeyValueProperty >& FDatasmithMetaDataElementImpl::GetPropertyByName ( const TCHAR *  Name) const
overridevirtual

Get a property by its name if it exists.

Implements IDatasmithMetaDataElement.

◆ SetAssociatedElement()

virtual void FDatasmithMetaDataElementImpl::SetAssociatedElement ( const TSharedPtr< IDatasmithElement > &  Element)
inlinevirtual

Sets the Datasmith element that is associated with this meta data, if any.

Implements IDatasmithMetaDataElement.


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