Yes, the function getNodes is a member function.
Here is a little portion of the source code :
namespace postLib {
namespace nastran {
class dataBase : public generic::dataBase {
private :
std::map<int,node> nodes ;
public :
dataBase(void) ;
~dataBase(void) ;
// Accessing "model" member data :
std::map<int,node> & getNodes(void) ;
} ; // class dataBase
} // namespace nastran
} // namespace postLib
I cleaned all that wasn't necessary.
After getting the node objects from the getNodes function, I need to
recover them one by one in the map and use them in other functions, be
able to call their methods too.
According to me, these items are supposed to live as long as the
dataBase is exploited.
>Sorry, I was pretty busy.
No problem, you are very reactive, that's a pleasure!
2008/6/24, Roman Yakovenko <rom...@gm...>:
> On Tue, Jun 24, 2008 at 10:14 AM, Vincent Ferries
> <vin...@gm...> wrote:
>> Absolutely no idea? :S
>
> Sorry, I was pretty busy.
>
>
>
> --
> Roman Yakovenko
> C++ Python language binding
> http://www.language-binding.net/
>
|