1 #ifndef CXX_IDEALGASMIX
2 #define CXX_IDEALGASMIX
20 IdealGasMix() : m_ok(false), m_r(0) {}
22 IdealGasMix(std::string infile, std::string
id=
"") :
31 m_id,
"phase",
this,
this);
32 if (!m_ok)
throw CanteraError(
"IdealGasMix",
33 "Cantera::buildSolutionFromXML returned false");
37 IdealGasMix(XML_Node& root,
38 std::string
id) : m_ok(false), m_r(&root), m_id(id) {
42 IdealGasMix(
const IdealGasMix& other) : m_ok(false),
48 virtual ~IdealGasMix() {}
56 friend std::ostream& operator<<(std::ostream& s, IdealGasMix& mix) {
57 std::string r = mix.report(
true);