1 #ifndef SAFIR_DOB_STRUCT_H_INCLUDED
2 #define SAFIR_DOB_STRUCT_H_INCLUDED
11 #ifdef DOTS_GENERATED_CPP_EXPORTS
12 #define GENERATED_API __declspec(dllexport)
14 #define GENERATED_API __declspec(dllimport)
16 #pragma comment( lib, "dots_generated-Safir-cppd.lib" )
18 #pragma comment( lib, "dots_generated-Safir-cpp.lib" )
38 typedef boost::shared_ptr<Struct>
StructPtr;
66 virtual void SetChanged(
const bool changed);
76 virtual void WriteToBlob(
char * blob,
char * & beginningOfUnused)
const;
77 explicit Struct(
char const *
const blob);
82 #pragma warning (push)
83 #pragma warning (disable : 4251)
The base class for all DOB objects.
Definition: Object.h:54
virtual Safir::Dob::Typesystem::TypeId GetTypeId() const
Get the type id of this object.
Definition: Struct.h:60
boost::shared_ptr< const Struct > StructConstPtr
Definition: Struct.h:39
DotsC_TypeId TypeId
A unique type identifier.
Definition: Dob/Typesystem/Defs.h:221
Template class for all containers of automatically generated DOB objects.
Definition: ObjectContainer.h:185
boost::shared_ptr< Object > ObjectPtr
A smart pointer to an Object.
Definition: Object.h:41
DotsC_ArrayIndex ArrayIndex
Index into an array.
Definition: Dob/Typesystem/Defs.h:249
Base class for all Containers.
Definition: ContainerBase.h:41
Safir::Dob::Typesystem::ObjectContainerImpl< Struct > StructContainer
Definition: Struct.h:41
Safir::Dob::Typesystem::ArrayContainer< StructContainer > StructContainerArray
Definition: Struct.h:42
boost::shared_ptr< Struct > StructPtr
Definition: Struct.h:37
This class is intended to be used as baseclass for classes that in the future may be realized as low ...
Definition: Struct.h:48
STL container for arrays of DOB-containers.
Definition: ArrayContainer.h:58
DotsC_Int32 Int32
32 bit integer type.
Definition: Dob/Typesystem/Defs.h:69
DotsC_MemberIndex MemberIndex
The index of a member in an object.
Definition: Dob/Typesystem/Defs.h:240
static bool IsChanged(const ContainerBase &container)
Check if a container is changed.
Definition: ContainerBase.h:134