M/c++_api/inc/DM/IAddInfo.hpp
16 \ref dm_attributes section for implementation concepts and to the <a href="examples.html">examples</a>
45 /// \brief creates a new addinfo object with the provide view layout that refers to the same storage object
47 Whereas setView changes the current addinfo object, cloneView leafs the current object unchanged and creates
48 an new addinfo object using the provide view layout that internal refers to the same storage object. See the
52 @param[in] readOnly flag if the layout of storage object should be changed, in case the view layout is not a true subset of the storage layout
56 /// \brief creates a new addinfo object with the provide view layout and secures that the storage object contains the dataLayout
58 Whereas setView changes the current addinfo object, cloneView leafs the current object unchanged and creates
59 an new addinfo object using the provide view layout that internal refers to the same storage object. Furthermore it is checked
60 that all columns of the dataLayout exist in the storage object. If not the storage object is extended. See the
66 virtual IAddInfo *cloneView(const AddInfoLayoutHandle &viewLayout, const AddInfoLayoutHandle &dataLayout) const = 0;
67 /// \brief creates a new addinfo object using the true storage layout that referring to the same storage object
74 The read only parameter does not protect for writing attributes to the addinfo object. The parameter refers to
75 the layout of storage object. The view layout is not necessarily a subset of the storage layout. In such a configuration
76 the disjunct attributes can be added (readOnly = false) to the attribute storage (and storage layout) or not
77 (readOnly = true). In the later case the disjunct attributes still exists in the view layout, but you will not be able to
78 read or write them. Only the isNull check will be valid and, of course, it will always return true for disjunct attributes.
79 In case you want to read/write all attributes of the view layout the read only parameter should be set to false
82 @param[in] readOnly flag if the layout of storage object should be changed, in case the view layout is not a true subset of the storage layout
104 virtual void setCStr(unsigned index, const char *) = 0; ///< for setting column values of type eCOLTYPE_CSTR or eCOLTYPE_STRING
120 virtual const char* getCStr(unsigned index) const = 0; ///< returns column values of type eCOLTYPE_CSTR or eCOLTYPE_STRING
140 ///returns buffer length that is required to fully retrieve the column by getFromCStr (+1 for '\0' already included)
