MCPcopy Create free account
hub / github.com/Cantera/cantera / ordered

Method ordered

include/cantera/base/AnyMap.h:629–631  ·  view source on GitHub ↗

Return a proxy object that allows iteration in an order determined by the order of insertion, the location in an input file, and rules specified by the addOrderingRules() method. The `withUnits` flag determines whether to include a `units` directive, if any local units are defined (for use by the YAML emitter).

Source from the content-addressed store, hash-verified

627 //! addOrderingRules() method. The `withUnits` flag determines whether to include a
628 //! `units` directive, if any local units are defined (for use by the YAML emitter).
629 OrderedProxy ordered(bool withUnits=false) const {
630 return OrderedProxy(*this, withUnits);
631 }
632
633 //! Returns the number of elements in this map
634 size_t size() const;

Callers 3

AnyMap.cppFile · 0.80
updateMethod · 0.80
newSolutionFunction · 0.80

Calls 1

OrderedProxyClass · 0.85

Tested by

no test coverage detected