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

Public Member Functions

virtual const TSharedPtr< IDatasmithElement > & GetAssociatedElement () const =0
 Gets the Datasmith element that is associated with this meta data, if any. More...
 
virtual void SetAssociatedElement (const TSharedPtr< IDatasmithElement > &Element)=0
 Sets the Datasmith element that is associated with this meta data, if any. More...
 
virtual int32 GetPropertiesCount () const =0
 Get the total amount of properties in this meta data. More...
 
virtual const TSharedPtr< IDatasmithKeyValueProperty > & GetProperty (int32 i) const =0
 Get the property i-th of this meta data. More...
 
virtual TSharedPtr< IDatasmithKeyValueProperty > & GetProperty (int32 i)=0
 
virtual const TSharedPtr< IDatasmithKeyValueProperty > & GetPropertyByName (const TCHAR *Name) const =0
 Get a property by its name if it exists. More...
 
virtual TSharedPtr< IDatasmithKeyValueProperty > & GetPropertyByName (const TCHAR *Name)=0
 
virtual void AddProperty (const TSharedPtr< IDatasmithKeyValueProperty > &Property)=0
 Add a property to this meta data. More...
 
- Public Member Functions inherited from IDatasmithElement
virtual bool IsA (EDatasmithElementType Type) const =0
 returns if this DatasmithElement is of a specified type More...
 
virtual bool IsSubType (uint64 SubType) const =0
 returns if this DatasmithElement is of a specified subtype of its EDatasmithElementType More...
 
virtual const TCHAR * GetName () const =0
 Gets the element name. More...
 
virtual void SetName (const TCHAR *InName)=0
 Sets the element name. More...
 
virtual const TCHAR * GetLabel () const =0
 Gets the element label used in the UI. More...
 
virtual void SetLabel (const TCHAR *InLabel)=0
 Sets the element label used in the UI. More...
 
virtual FMD5Hash CalculateElementHash (bool bForce)=0
 Return a MD5 hash of the content of the Element. More...
 

Member Function Documentation

◆ AddProperty()

virtual void IDatasmithMetaDataElement::AddProperty ( const TSharedPtr< IDatasmithKeyValueProperty > &  Property)
pure virtual

Add a property to this meta data.

Implemented in FDatasmithMetaDataElementImpl.

◆ GetAssociatedElement()

virtual const TSharedPtr< IDatasmithElement >& IDatasmithMetaDataElement::GetAssociatedElement ( ) const
pure virtual

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

Implemented in FDatasmithMetaDataElementImpl.

◆ GetPropertiesCount()

virtual int32 IDatasmithMetaDataElement::GetPropertiesCount ( ) const
pure virtual

Get the total amount of properties in this meta data.

Implemented in FDatasmithMetaDataElementImpl.

◆ GetProperty()

virtual const TSharedPtr< IDatasmithKeyValueProperty >& IDatasmithMetaDataElement::GetProperty ( int32  i) const
pure virtual

Get the property i-th of this meta data.

Implemented in FDatasmithMetaDataElementImpl.

◆ GetPropertyByName()

virtual const TSharedPtr< IDatasmithKeyValueProperty >& IDatasmithMetaDataElement::GetPropertyByName ( const TCHAR *  Name) const
pure virtual

Get a property by its name if it exists.

Implemented in FDatasmithMetaDataElementImpl.

◆ SetAssociatedElement()

virtual void IDatasmithMetaDataElement::SetAssociatedElement ( const TSharedPtr< IDatasmithElement > &  Element)
pure virtual

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

Implemented in FDatasmithMetaDataElementImpl.


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