9 #ifndef CMZN_STREAMREGION_HPP__ 10 #define CMZN_STREAMREGION_HPP__ 12 #include "opencmiss/zinc/streamregion.h" 13 #include "opencmiss/zinc/field.hpp" 14 #include "opencmiss/zinc/region.hpp" 15 #include "opencmiss/zinc/stream.hpp" 39 Streaminformation(reinterpret_cast<cmzn_streaminformation_id>(streaminformation_region_id))
59 return reinterpret_cast<cmzn_streaminformation_region_id
>(this->id);
113 return cmzn_streaminformation_region_has_attribute(
getDerivedId(),
114 static_cast<cmzn_streaminformation_region_attribute>(attribute));
125 return cmzn_streaminformation_region_get_attribute_real(
getDerivedId(),
126 static_cast<cmzn_streaminformation_region_attribute>(attribute));
142 return cmzn_streaminformation_region_set_attribute_real(
getDerivedId(),
143 static_cast<cmzn_streaminformation_region_attribute>(attribute), value);
156 return cmzn_streaminformation_region_has_resource_attribute(
158 static_cast<cmzn_streaminformation_region_attribute
>(attribute));
171 return cmzn_streaminformation_region_get_resource_attribute_real(
173 static_cast<cmzn_streaminformation_region_attribute
>(attribute));
190 return cmzn_streaminformation_region_set_resource_attribute_real(
192 static_cast<cmzn_streaminformation_region_attribute
>(attribute), value);
204 cmzn_streaminformation_region_get_file_format(
getDerivedId()));
216 return cmzn_streaminformation_region_set_file_format(
getDerivedId(),
217 static_cast<cmzn_streaminformation_region_file_format>(fileFormat));
230 cmzn_streaminformation_region_get_resource_domain_types(
259 return cmzn_streaminformation_region_set_resource_domain_types(
261 static_cast<cmzn_field_domain_types
>(domainTypes));
277 return cmzn_streaminformation_region_set_field_names(
getDerivedId(),
278 numberOfNames, fieldNames);
294 const char **fieldNames)
296 return cmzn_streaminformation_region_set_resource_field_names(
getDerivedId(),
297 resource.
getId(), numberOfNames, fieldNames);
313 return cmzn_streaminformation_region_set_recursion_mode(
getDerivedId(),
314 static_cast<cmzn_streaminformation_region_recursion_mode>(recursionMode));
329 return cmzn_streaminformation_region_set_resource_recursion_mode(
getDerivedId(),
330 resource.
getId(),
static_cast<cmzn_streaminformation_region_recursion_mode
>(recursionMode));
343 return cmzn_streaminformation_region_get_resource_group_name(
getDerivedId(),
361 return cmzn_streaminformation_region_set_resource_group_name(
getDerivedId(),
362 resource.
getId(), groupName);
375 cmzn_region_create_streaminformation_region(
id)));
380 return cmzn_region_read(
id, streaminformationRegion.
getDerivedId());
385 return cmzn_region_write(
id, streaminformationRegion.
getDerivedId());
A description of a resource for reading from or writing to.
Definition: stream.hpp:37
StreaminformationRegion createStreaminformationRegion()
Definition: streamregion.hpp:372
int write(const StreaminformationRegion &streaminformationRegion)
Definition: streamregion.hpp:383
int DomainTypes
Definition: field.hpp:233
int read(const StreaminformationRegion &streaminformationRegion)
Definition: streamregion.hpp:378
The OpenCMISS namespace.
Definition: context.hpp:20
cmzn_streamresource_id getId() const
Definition: stream.hpp:89