A list for the developers of CellML tools

Text archives Help


[cellml-dev] CellML wchar sizes


Chronological Thread 
  • From: lpsmith at spod-central.org (Lucian Smith)
  • Subject: [cellml-dev] CellML wchar sizes
  • Date: Fri, 4 Dec 2009 21:33:30 +0000

* Andrew Miller <ak.miller at auckland.ac.nz> [2009-12-04 00:08] writes:
>
> nsCOMPtr<cellml_apiICellMLComponentSet> components;
> rv = mod->LocalComponents(getter_AddRefs(components));
> NS_ENSURE_SUCCESS(rv, );

Whoops, this didn't work:

src/module-cellml.cpp:30: error: 'class cellml_apiIModel' has no member named
'LocalComponents'

Since 'localComponents' is a 'readonly attribute' of Model, and not a
function, it turns out XPCOM creates actual GetX and SetX methods for
these sort of things. Anyway...

-Lucian




Archive powered by MHonArc 2.6.18.

Top of page