|template<typename CompositeType >|
|void||ReadExpectedData (const CompositeType &_data, const ReadOptions &_options=ReadOptions())|
template<typename Derived, typename Specification>
class ignition::physics::CanReadExpectedData< Derived, Specification >
This class is the same as CanReadRequiredData, except it operates on all "expected" data (which is a superset of "required" data) instead of only the "required" data.
Constructor & Destructor Documentation
The ability to compile this constructor ensures that an inherited class has functions that can read each of the data types expected by the Specification.
Member Function Documentation
Call this function to read all the types in _data that are listed as expected in the Specification. Setting _options.onlyReadUnqueriedData to true will make it so that only data entries that have not been queried will be passed to the Read(~) function. If _options.onlyReadUnqueriedData is false, then all data that the Specification lists as expected will be read.
The documentation for this class was generated from the following file: