|
Dev Essential
1.6.3
|
DataDefinition object class of datamodel to hold a streamstruct. More...
#include <datamodel_streams.h>
Inherits ddl::dd::utility::ModelSubjectUtility< T, TypeAccessListEventCode >, and ddl::dd::datamodel::InfoMap.
Public Member Functions | |
| Struct () | |
| default CTOR | |
| Struct (const Struct &)=default | |
| copy CTOR | |
| Struct (Struct &&)=default | |
| move CTOR | |
| Struct & | operator= (const Struct &)=default |
| copy assignment operator. | |
| Struct & | operator= (Struct &&)=default |
| move assignment operator. | |
| Struct (std::string name, std::string type_name, OptionalSize byte_pos={}) | |
| CTOR. | |
| bool | operator== (const Struct &other) const |
| equality operator | |
| bool | operator!= (const Struct &other) const |
| non-equality operator | |
| const std::string & | getName () const |
| Get the Name. | |
| void | setName (const std::string &name) |
| Set the Name. | |
| const std::string & | getTypeName () const |
| Get the Type Name. | |
| void | setTypeName (const std::string &type_name) |
| Set the Type Name. | |
| OptionalSize | getBytePos () const |
| Get the Byte Pos. | |
| void | setBytePos (OptionalSize byte_pos) |
| Set the Byte Pos. | |
Public Member Functions inherited from ddl::dd::utility::ModelSubjectUtility< T, TypeAccessListEventCode > | |
| ModelSubjectUtility ()=default | |
| CTOR. | |
| ModelSubjectUtility (const ModelSubjectUtility &) | |
| copy CTOR which removes the observers in case of! | |
| ModelSubjectUtility & | operator= (const ModelSubjectUtility &) |
| copy assignment operator which removes the observers in case of! | |
| virtual | ~ModelSubjectUtility ()=default |
| DTOR. | |
| void | attachObserver (observer_type *observer) |
| adda a observer to notify. | |
| void | detachObserver (observer_type *observer) |
| remove a observer if in list. | |
| ModelSubjectUtility ()=default | |
| CTOR. | |
| ModelSubjectUtility (const ModelSubjectUtility &) | |
| copy CTOR which removes the observers in case of! | |
| ModelSubjectUtility & | operator= (const ModelSubjectUtility &) |
| copy assignment operator which removes the observers in case of! | |
| virtual | ~ModelSubjectUtility ()=default |
| DTOR. | |
| void | attachObserver (observer_type *observer) |
| adda a observer to notify. | |
| void | detachObserver (observer_type *observer) |
| remove a observer if in list. | |
| ModelSubjectUtility ()=default | |
| CTOR. | |
| ModelSubjectUtility (const ModelSubjectUtility &) | |
| copy CTOR which removes the observers in case of! | |
| ModelSubjectUtility & | operator= (const ModelSubjectUtility &) |
| copy assignment operator which removes the observers in case of! | |
| virtual | ~ModelSubjectUtility ()=default |
| DTOR. | |
| void | attachObserver (observer_type *observer) |
| adda a observer to notify. | |
| void | detachObserver (observer_type *observer) |
| remove a observer if in list. | |
| ModelSubjectUtility ()=default | |
| CTOR. | |
| ModelSubjectUtility (const ModelSubjectUtility &) | |
| copy CTOR which removes the observers in case of! | |
| ModelSubjectUtility & | operator= (const ModelSubjectUtility &) |
| copy assignment operator which removes the observers in case of! | |
| virtual | ~ModelSubjectUtility ()=default |
| DTOR. | |
| void | attachObserver (observer_type *observer) |
| adda a observer to notify. | |
| void | detachObserver (observer_type *observer) |
| remove a observer if in list. | |
Public Member Functions inherited from ddl::dd::datamodel::InfoMap | |
| InfoMap ()=default | |
| CTOR. | |
| InfoMap (const InfoMap &) | |
| copy CTOR | |
| InfoMap (InfoMap &&) | |
| move CTOR | |
| InfoMap & | operator= (const InfoMap &) |
| copy assignment operator | |
| InfoMap & | operator= (InfoMap &&) |
| move assignment operator | |
| template<typename INFO_T> | |
| const INFO_T * | getInfo () const |
| Get the Info Pointer. | |
| template<typename INFO_T> | |
| INFO_T * | getInfo () |
| Get the Info Pointer. | |
| template<typename INFO_T> | |
| void | setInfo (const std::shared_ptr< INFO_T > &info) |
| Set the Info object as shared pointer. | |
Additional Inherited Members | |
Public Types inherited from ddl::dd::utility::ModelSubjectUtility< T, TypeAccessListEventCode > | |
| typedef TypeAccessListEventCode | event_code_type |
| local definition of the event code type | |
| typedef T | subject_type |
| local definition of the subject type | |
| typedef ModelObserverUtility< T, TypeAccessListEventCode > | observer_type |
| local definition of the observer type to notify | |
| typedef TypeAccessListEventCode | event_code_type |
| local definition of the event code type | |
| typedef T | subject_type |
| local definition of the subject type | |
| typedef ModelObserverUtility< T, TypeAccessListEventCode > | observer_type |
| local definition of the observer type to notify | |
| typedef TypeAccessListEventCode | event_code_type |
| local definition of the event code type | |
| typedef T | subject_type |
| local definition of the subject type | |
| typedef ModelObserverUtility< T, TypeAccessListEventCode > | observer_type |
| local definition of the observer type to notify | |
| typedef TypeAccessListEventCode | event_code_type |
| local definition of the event code type | |
| typedef T | subject_type |
| local definition of the subject type | |
| typedef ModelObserverUtility< T, TypeAccessListEventCode > | observer_type |
| local definition of the observer type to notify | |
Protected Member Functions inherited from ddl::dd::utility::ModelSubjectUtility< T, TypeAccessListEventCode > | |
| void | notifyChanged (event_code_type event_code, subject_type &changed_subject, const std::string &additional_info) |
| helper utility function to notify the current observers | |
| void | notifyChanged (event_code_type event_code, subject_type &changed_subject, const std::string &additional_info) |
| helper utility function to notify the current observers | |
| void | notifyChanged (event_code_type event_code, subject_type &changed_subject, const std::string &additional_info) |
| helper utility function to notify the current observers | |
| void | notifyChanged (event_code_type event_code, subject_type &changed_subject, const std::string &additional_info) |
| helper utility function to notify the current observers | |
DataDefinition object class of datamodel to hold a streamstruct.
| ddl::dd::datamodel::Stream::Struct::Struct | ( | std::string | name, |
| std::string | type_name, | ||
| OptionalSize | byte_pos = {} ) |
CTOR.
| name | name of the stream struct (one single empty name is allowed (says xsd)) |
| type_name | the name of the type to use (must be a valid struct type) |
| byte_pos | the first bytepos of the structtype (optional ... default is 0) |
| OptionalSize ddl::dd::datamodel::Stream::Struct::getBytePos | ( | ) | const |
Get the Byte Pos.
| const std::string & ddl::dd::datamodel::Stream::Struct::getName | ( | ) | const |
Get the Name.
| const std::string & ddl::dd::datamodel::Stream::Struct::getTypeName | ( | ) | const |
Get the Type Name.
| bool ddl::dd::datamodel::Stream::Struct::operator!= | ( | const Struct & | other | ) | const |
non-equality operator
| other | the other streamstruct to compare the streamstruct with. |
copy assignment operator.
move assignment operator.
| bool ddl::dd::datamodel::Stream::Struct::operator== | ( | const Struct & | other | ) | const |
equality operator
| other | the other streamstruct to compare the streamstruct with. |
| void ddl::dd::datamodel::Stream::Struct::setBytePos | ( | OptionalSize | byte_pos | ) |
Set the Byte Pos.
| byte_pos | the byte pos to set |
| void ddl::dd::datamodel::Stream::Struct::setName | ( | const std::string & | name | ) |
Set the Name.
| name | the name |
| may | throw if the name is not unique within the container this struct is part of. |
| void ddl::dd::datamodel::Stream::Struct::setTypeName | ( | const std::string & | type_name | ) |
Set the Type Name.
| type_name | the typename to set |