ADTF  3.18.2
StructType::DeserializedInfo

class to describe the deserialized information of a StructType::Element. More...

Inheritance diagram for StructType::DeserializedInfo:
[legend]

Public Member Functions

 DeserializedInfo ()
 Default CTOR.
 
 DeserializedInfo (const DeserializedInfo &)=default
 copy CTOR
 
 DeserializedInfo (DeserializedInfo &&)=default
 move CTOR
 
DeserializedInfooperator= (const DeserializedInfo &)=default
 copy assignment operator More...
 
DeserializedInfooperator= (DeserializedInfo &&)=default
 move assignment operator More...
 
virtual ~DeserializedInfo ()=default
 DTOR.
 
 DeserializedInfo (size_t alignment)
 CTOR. More...
 
 DeserializedInfo (const std::initializer_list< size_t > &intializer)
 CTOR. More...
 
bool operator== (const DeserializedInfo &other) const
 equality operator. More...
 
virtual size_t getAlignment () const
 Get the Alignment. More...
 
void setAlignment (size_t alignment)
 Set the Alignment. More...
 

Protected Member Functions

virtual void notifyChangeDeserialized (const std::string &)
 Forwarding the notification. More...
 

Private Attributes

size_t _alignment = Alignment::e_invalid
 

Detailed Description

class to describe the deserialized information of a StructType::Element.

Definition at line 645 of file datamodel_types.h.

Constructor & Destructor Documentation

◆ DeserializedInfo() [1/2]

DeserializedInfo ( size_t  alignment)

CTOR.

Parameters
alignmentthe alignment to set

◆ DeserializedInfo() [2/2]

DeserializedInfo ( const std::initializer_list< size_t > &  intializer)

CTOR.

Parameters
intializerthe inializer list containing a string fror the alignment

Member Function Documentation

◆ getAlignment()

virtual size_t getAlignment ( ) const
virtual

Get the Alignment.

Returns
size_t

Referenced by DDToXMLFactory< DOM_NODE_TYPE >::createNode().

◆ notifyChangeDeserialized()

virtual void notifyChangeDeserialized ( const std::string &  )
inlineprotectedvirtual

Forwarding the notification.

param std::string string additional_info - the additional info of the item changed notification.

Reimplemented in StructType::Element.

Definition at line 724 of file datamodel_types.h.

◆ operator=() [1/2]

DeserializedInfo& operator= ( const DeserializedInfo )
default

copy assignment operator

Returns
DeserializedInfo&

◆ operator=() [2/2]

DeserializedInfo& operator= ( DeserializedInfo &&  )
default

move assignment operator

Returns
DeserializedInfo&

◆ operator==()

bool operator== ( const DeserializedInfo other) const

equality operator.

Parameters
otherthe other information to compare to.
Returns
true the info is equal.
false the info is not equal.

◆ setAlignment()

void setAlignment ( size_t  alignment)

Set the Alignment.

Parameters
alignmentthe alignment to set.
Remarks
This is observable.
please use the valid alignments via dd::Alignment