15 #ifndef DD_DATA_MODEL_STREAMS_H_INCLUDED
16 #define DD_DATA_MODEL_STREAMS_H_INCLUDED
26 #include <unordered_map>
180 std::string _type_name;
194 const std::string& stream_type_name,
195 const std::string& description = {},
196 const std::vector<Struct>& structs = {});
283 const std::string& additional_info);
287 const std::string& additional_info);
297 std::string _stream_type_name;
298 std::string _description;
Info Map for the datamodel to hold a set of optional IInfo instances.
DataDefinition object class of datamodel to hold a streamstruct.
const std::string & getTypeName() const
Get the Type Name.
void setTypeName(const std::string &type_name)
Set the Type Name.
bool operator==(const Struct &other) const
equality operator
OptionalSize getBytePos() const
Get the Byte Pos.
Struct(const Struct &)=default
copy CTOR
void setBytePos(OptionalSize byte_pos)
Set the Byte Pos.
Struct(Struct &&)=default
move CTOR
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.
Struct & operator=(const Struct &)=default
copy assignment operator.
Struct & operator=(Struct &&)=default
move assignment operator.
Struct(const std::string &name, const std::string &type_name, OptionalSize byte_pos={})
CTOR.
observable Stream DataDefinition object.
bool operator==(const Stream &other) const
equality operator.
Structs & getStructs()
Get the Structs object.
const std::string & getDescription() const
Get the Description.
bool operator!=(const Stream &other) const
non equality operator.
void setStreamTypeName(const std::string &stream_type_name)
Set the Stream Type Name.
void setDescription(const std::string &description)
Set the Description.
Stream & operator=(const Stream &other)
copy assignment operator
const Structs & getStructs() const
Get the Structs object.
const std::string & getName() const
Get the Name.
void setName(const std::string &name)
Set the Name.
Stream(const Stream &other)
copy CTOR
Stream(Stream &&)
move CTOR
Stream(const std::string &name, const std::string &stream_type_name, const std::string &description={}, const std::vector< Struct > &structs={})
CTOR.
Stream & operator=(Stream &&)
move assignment operator
virtual ~Stream()=default
DTOR.
utility::TypeAccessList< Struct, Stream > Structs
Definiton of the container containts the streamstructs of a stream.
Stream()=delete
no default CTOR.
const std::string & getStreamTypeName() const
Get the Stream Type Name.
Model Subject utility to define a Model Subject that notifies one or more observers.
Struct access_type
local definition of the access type
std::unordered_map< std::string, value_type > container_named_compatibility_type
local definition of the container type for getNamedItemList, which was had incompatible changes withi...
std::unordered_map< std::string, value_type > container_named_type
local definition of the container type for getNamedItemViewList
OO DataDefinition Redesign - Data model Observer - Subject pattern.
DataDefinition Utility class for observable items.
DataDefinition Utility class for observable items.
DataDefinition Model-Observer pattern utility.
OO DataDefinition Common Design.
OO DataDefinition Redesign - Data model info extension.
ModelEventCode
Model event code for the data model observer.
TypeAccessMapEventCode
Internal event code to inform the parent DD Object about the change of an item within the list.
TypeAccessListEventCode
Internal event code to inform the parent DD Object about the change of an item within the list.
definition of the ddl namespace